public abstract class AbstractSecurityReport extends AbstractReport
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. |
normalizeResourceHrefprotected MultiStatusResponse[] responses
public boolean isMultiStatusReport()
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.resource - info - DavExceptionpublic Element toXml(Document document)
XmlSerializableElement. The given Document is used
as factory and represents the owner document of the returned DOM element.document - to be used as factory.XmlSerializable.toXml(Document)Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.