Class CompareBaselineReport
- java.lang.Object
-
- org.apache.jackrabbit.webdav.version.report.AbstractReport
-
- org.apache.jackrabbit.webdav.version.report.CompareBaselineReport
-
- All Implemented Interfaces:
Report
,XmlSerializable
public class CompareBaselineReport extends AbstractReport
CompareBaselineReport
...
-
-
Field Summary
Fields Modifier and Type Field Description static ReportType
COMPARE_BASELINE
-
Constructor Summary
Constructors Constructor Description CompareBaselineReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportType
getType()
ReturnsCOMPARE_BASELINE
.void
init(DavResource resource, ReportInfo info)
Set theDeltaVResource
for which this report was requested and theReportInfo
as specified by the REPORT request body, that defines the details for this report.
Please note that this methods should perform basic validation checks in order to prevent exceptional situations during the xml serialization.boolean
isMultiStatusReport()
Always returnsfalse
.org.w3c.dom.Element
toXml(org.w3c.dom.Document document)
Returns the xml representation of the implementing object asElement
.
-
-
-
Field Detail
-
COMPARE_BASELINE
public static final ReportType COMPARE_BASELINE
-
-
Method Detail
-
getType
public ReportType getType()
ReturnsCOMPARE_BASELINE
.- Returns:
- the type of this report.
- See Also:
Report.getType()
-
isMultiStatusReport
public boolean isMultiStatusReport()
Always returnsfalse
.- Returns:
- false
- See Also:
Report.isMultiStatusReport()
-
init
public void init(DavResource resource, ReportInfo info) throws DavException
Description copied from interface:Report
Set theDeltaVResource
for which this report was requested and theReportInfo
as specified by the REPORT request body, that defines the details for this report.
Please note that this methods should perform basic validation checks in order to prevent exceptional situations during the xml serialization.- Parameters:
resource
-info
-- Throws:
DavException
- See Also:
Report.init(DavResource, ReportInfo)
-
toXml
public org.w3c.dom.Element toXml(org.w3c.dom.Document document)
Description copied from interface:XmlSerializable
Returns the xml representation of the implementing object asElement
. The givenDocument
is used as factory and represents theowner document
of the returned DOM element.- Parameters:
document
- to be used as factory.- Returns:
- a w3c element representing this object
- See Also:
XmlSerializable.toXml(Document)
-
-