public class VersionTreeReport extends AbstractReport implements DeltaVConstants
VersionTreeReport encapsulates the DAV:version-tree report.
 It describes the requested properties of all the versions in the version
 history of a version. The DAV:version-tree report must be supported by all
 version resources and all version-controlled resources.ATTR_NAME, ATTR_NAMESPACE, COMMENT, CREATOR_DISPLAYNAME, HEADER_LABEL, HEADER_LOCATION, NAMESPACE, SUPPORTED_LIVE_PROPERTY_SET, SUPPORTED_METHOD_SET, SUPPORTED_REPORT_SET, VERSION_CONTROLLED_CONFIGURATION, WORKSPACE, XML_ACTIVITY, XML_ACTIVITY_COLLECTION_SET, XML_BASELINE, XML_CHECKOUT, XML_CHECKOUT_CHECKIN, XML_CHECKOUT_UNLOCK_CHECKIN, XML_EXPAND_PROPERTY, XML_LABEL, XML_LABEL_ADD, XML_LABEL_NAME, XML_LABEL_REMOVE, XML_LABEL_SET, XML_LOCATE_BY_HISTORY, XML_LOCKED_CHECKIN, XML_MERGE, XML_N0_AUTO_MERGE, XML_N0_CHECKOUT, XML_OPTIONS, XML_OPTIONS_RESPONSE, XML_PROPERTY, XML_REPORT, XML_SUPPORTED_METHOD, XML_SUPPORTED_REPORT, XML_UPDATE, XML_VERSION, XML_VERSION_HISTORY, XML_VERSION_HISTORY_SET, XML_VERSION_TREE, XML_VH_COLLECTION_SET, XML_WORKSPACE, XML_WSP_COLLECTION_SET| Constructor and Description | 
|---|
| VersionTreeReport() | 
| Modifier and Type | Method and Description | 
|---|---|
| ReportType | getType()Returns  ReportType.VERSION_TREE | 
| void | init(DavResource resource,
    ReportInfo info)Validates the specified resource and info objects. | 
| boolean | isMultiStatusReport()Always returns  true. | 
| Element | toXml(Document document)Runs the DAV:version-tree report. | 
normalizeResourceHrefpublic ReportType getType()
ReportType.VERSION_TREEgetType in interface ReportReportType.VERSION_TREEReport.getType()public boolean isMultiStatusReport()
true.isMultiStatusReport in interface ReportReport.isMultiStatusReport()public void init(DavResource resource, ReportInfo info) throws DavException
init in interface Reportresource - info - DavExceptionReport.init(DavResource, ReportInfo)public Element toXml(Document document)
toXml in interface XmlSerializabledocument - Document representing the report in the required
 format.XmlSerializable.toXml(Document)Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.