Class AbstractSecurityReport
java.lang.Object
org.apache.jackrabbit.webdav.version.report.AbstractReport
org.apache.jackrabbit.webdav.security.report.AbstractSecurityReport
- All Implemented Interfaces:
Report,XmlSerializable
- Direct Known Subclasses:
AclPrincipalReport,PrincipalMatchReport,PrincipalSearchReport
AbstractSecurityReport covers basic validation and utilities
common to the majority of the reports defined within RFC 3744.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(DavResource resource, ReportInfo info) Checks if the given resource and report info are notnull, that the requested report type matches this implementation and that no other Depth header than 0 is present.booleanAlways returns true.Returns the xml representation of the implementing object asElement.
-
Constructor Details
-
AbstractSecurityReport
public AbstractSecurityReport()
-
-
Method Details
-
isMultiStatusReport
public boolean isMultiStatusReport()Always returns true.- Returns:
- true
-
init
Checks if the given resource and report info are notnull, that the requested report type matches this implementation and that no other Depth header than 0 is present.- Parameters:
resource-info-- Throws:
DavException
-
toXml
Description copied from interface:XmlSerializableReturns the xml representation of the implementing object asElement. The givenDocumentis used as factory and represents theowner documentof the returned DOM element.- Parameters:
document- to be used as factory.- Returns:
- DAV:multistatus element listing the matching resources.
- See Also:
-