public class LocateCorrespondingNodeReport extends AbstractJcrReport
LocateCorrespondingNodeReport is used to identify the resource that
represents the corresponding node in another workspace.
The request body must be a 'dcr:locate-corresponding-node' XML element, that
contains the href of the source workspace, where the corresponding node should
be searched:
<!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 ) >
| Modifier and Type | Field and Description |
|---|---|
static org.apache.jackrabbit.webdav.version.report.ReportType |
LOCATE_CORRESPONDING_NODE_REPORT
The corresponding-node report type
|
| Constructor and Description |
|---|
LocateCorrespondingNodeReport() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.jackrabbit.webdav.version.report.ReportType |
getType()
Returns
LOCATE_CORRESPONDING_NODE_REPORT |
void |
init(org.apache.jackrabbit.webdav.DavResource resource,
org.apache.jackrabbit.webdav.version.report.ReportInfo info)
Performs basic validation checks common to all JCR specific reports.
|
boolean |
isMultiStatusReport()
Always returns
false. |
Element |
toXml(Document document) |
public static final org.apache.jackrabbit.webdav.version.report.ReportType LOCATE_CORRESPONDING_NODE_REPORT
public org.apache.jackrabbit.webdav.version.report.ReportType getType()
LOCATE_CORRESPONDING_NODE_REPORTLOCATE_CORRESPONDING_NODE_REPORTReport.getType()public boolean isMultiStatusReport()
false.Report.isMultiStatusReport()public void init(org.apache.jackrabbit.webdav.DavResource resource,
org.apache.jackrabbit.webdav.version.report.ReportInfo info)
throws org.apache.jackrabbit.webdav.DavException
AbstractJcrReportinit in interface org.apache.jackrabbit.webdav.version.report.Reportinit in class AbstractJcrReportorg.apache.jackrabbit.webdav.DavExceptionReport.init(DavResource, ReportInfo)Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.