|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.webdav.version.report.ExpandPropertyReport
public class ExpandPropertyReport
ExpandPropertyReport
encapsulates the DAV:expand-property report,
that provides a mechanism for retrieving in one request the properties from
the resources identified by those DAV:href elements. It should be supported by
all resources that support the REPORT method.
<!ELEMENT expand-property (property*)> <!ELEMENT property (property*)> <!ATTLIST property name NMTOKEN #REQUIRED> name value: a property element type <!ATTLIST property namespace NMTOKEN "DAV:"> namespace value: an XML namespaceNOTE: any DAV:property elements defined in the request body, that does not represent
HrefProperty
is treated as in a common PROPFIND request.
DeltaVConstants.XML_EXPAND_PROPERTY
,
DeltaVConstants.XML_PROPERTY
Field Summary |
---|
Constructor Summary | |
---|---|
ExpandPropertyReport()
|
Method Summary | |
---|---|
ReportType |
getType()
Returns ReportType.EXPAND_PROPERTY . |
void |
init(DavResource resource,
ReportInfo info)
Set the DeltaVResource for which this report was requested
and the ReportInfo as specified by the REPORT request body,
that defines the details for this report.Please note that this methods should perform basic validation checks in order to prevent execeptional situations during the xml serialization. |
boolean |
isMultiStatusReport()
Always returns true . |
Element |
toXml(Document document)
Run the report |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExpandPropertyReport()
Method Detail |
---|
public ReportType getType()
ReportType.EXPAND_PROPERTY
.
getType
in interface Report
Report.getType()
public boolean isMultiStatusReport()
true
.
isMultiStatusReport
in interface Report
Report.isMultiStatusReport()
public void init(DavResource resource, ReportInfo info) throws DavException
Report
DeltaVResource
for which this report was requested
and the ReportInfo
as specified by the REPORT request body,
that defines the details for this report.
init
in interface Report
DavException
Report.init(DavResource, ReportInfo)
public Element toXml(Document document)
toXml
in interface XmlSerializable
document
-
Document
as defined by
RFC 2518XmlSerializable.toXml(Document)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |