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

public abstract class AbstractSecurityReport extends AbstractReport
AbstractSecurityReport covers basic validation and utilities common to the majority of the reports defined within RFC 3744.
  • Constructor Details

    • AbstractSecurityReport

      public AbstractSecurityReport()
  • Method Details

    • isMultiStatusReport

      public boolean isMultiStatusReport()
      Always returns true.
      Returns:
      true
    • init

      public void init(DavResource resource, ReportInfo info) throws DavException
      Checks if the given resource and report info are not null, that the requested report type matches this implementation and that no other Depth header than 0 is present.
      Parameters:
      resource -
      info -
      Throws:
      DavException
    • toXml

      public Element toXml(Document document)
      Description copied from interface: XmlSerializable
      Returns the xml representation of the implementing object as Element. The given Document is used as factory and represents the owner document of the returned DOM element.
      Parameters:
      document - to be used as factory.
      Returns:
      DAV:multistatus element listing the matching resources.
      See Also: