public abstract class AbstractSecurityReport extends Object implements Report
AbstractSecurityReport
covers basic validation and utilities
common to the majority of the reports defined within RFC 3744.Modifier and Type | Field and Description |
---|---|
protected MultiStatusResponse[] |
responses |
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.
|
Element |
toXml(Document document)
Returns the xml representation of the implementing object as
Element . |
protected MultiStatusResponse[] responses
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 Element toXml(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 © 2004–2021 The Apache Software Foundation. All rights reserved.