|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.webdav.jcr.version.report.AbstractJcrReport
org.apache.jackrabbit.webdav.jcr.version.report.LocateCorrespondingNodeReport
public class LocateCorrespondingNodeReport
LocateCorrespondingNodeReport
is used to identify the resource that
represents the corresponding node in another workspace.
<!ELEMENT locate-corresponding-node ( workspace ) > <!ELEMENT workspace ( href ) > (as defined by RFC 3253)The response to a successful report request must be a 'dcr:locate-corresponding-node-report' element that contains the href of the corresponding node in the given source workspace:
<!ELEMENT locate-corresponding-node-report ( href ) >
Node.getCorrespondingNodePath(String)
Field Summary | |
---|---|
static ReportType |
LOCATE_CORRESPONDING_NODE_REPORT
The corresponding-node report type |
Constructor Summary | |
---|---|
LocateCorrespondingNodeReport()
|
Method Summary | |
---|---|
ReportType |
getType()
Returns LOCATE_CORRESPONDING_NODE_REPORT |
void |
init(DavResource resource,
ReportInfo info)
Performs basic validation checks common to all JCR specific reports. |
boolean |
isMultiStatusReport()
Always returns false . |
Element |
toXml(Document document)
Returns the xml representation of the implementing object as Element . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ReportType LOCATE_CORRESPONDING_NODE_REPORT
Constructor Detail |
---|
public LocateCorrespondingNodeReport()
Method Detail |
---|
public ReportType getType()
LOCATE_CORRESPONDING_NODE_REPORT
LOCATE_CORRESPONDING_NODE_REPORT
Report.getType()
public boolean isMultiStatusReport()
false
.
Report.isMultiStatusReport()
public void init(DavResource resource, ReportInfo info) throws DavException
AbstractJcrReport
init
in interface Report
init
in class AbstractJcrReport
DavException
Report.init(DavResource, ReportInfo)
public Element toXml(Document document)
XmlSerializable
Element
. The given Document
is used
as factory and represents the owner document
of the returned DOM element.
document
- to be used as factory.
XmlSerializable.toXml(Document)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |