|
|||||||||||
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
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 |
setInfo(ReportInfo info)
Set the ReportInfo . |
void |
setResource(DeltaVResource resource)
Set the target resource. |
org.jdom.Document |
toXml()
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 void setResource(DeltaVResource resource) throws IllegalArgumentException
setResource
in interface Report
resource
-
IllegalArgumentException
- if the specified resource is null
Report.setResource(org.apache.jackrabbit.webdav.version.DeltaVResource)
public void setInfo(ReportInfo info) throws IllegalArgumentException
ReportInfo
.
setInfo
in interface Report
info
-
IllegalArgumentException
- if the given ReportInfo
does not contain a DAV:expand-property element.Report.setInfo(ReportInfo)
public org.jdom.Document toXml() throws DavException
toXml
in interface Report
Document
as defined by
RFC 2518
DavException
Report.toXml()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |