public abstract class AbstractSecurityReport extends java.lang.Object implements Report
AbstractSecurityReport
covers basic validation and utilities
common to the majority of the reports defined within RFC 3744.Constructor and Description |
---|
AbstractSecurityReport() |
Modifier and Type | Method and Description |
---|---|
void |
init(DavResource resource,
ReportInfo info)
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. |
boolean |
isMultiStatusReport()
Always returns true.
|
org.w3c.dom.Element |
toXml(org.w3c.dom.Document document)
Returns the xml representation of the implementing object as
Element . |
public boolean isMultiStatusReport()
isMultiStatusReport
in interface Report
public void init(DavResource resource, ReportInfo info) throws DavException
null
,
that the requested report type matches this implementation and that no
other Depth header than 0 is present.init
in interface Report
resource
- info
- DavException
public org.w3c.dom.Element toXml(org.w3c.dom.Document document)
XmlSerializable
Element
. The given Document
is used
as factory and represents the owner document
of the returned DOM element.toXml
in interface XmlSerializable
document
- to be used as factory.XmlSerializable.toXml(Document)
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"