|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.webdav.jcr.version.report.AbstractJcrReport
org.apache.jackrabbit.webdav.jcr.version.report.RepositoryDescriptorsReport
public class RepositoryDescriptorsReport
RepositoryDescriptorsReport
allows to retrieve the repository
descriptors. The request body must be an empty 'dcr:repositorydescriptors' element:
<!ELEMENT repositorydescriptors EMPTY >
<!ELEMENT repositorydescriptors-report ( descriptor )* > <!ELEMENT descriptor ( descriptorkey, descriptorvalue ) > <!ELEMENT descriptorkey (#PCDATA) > <!ELEMENT descriptorvalue (#PCDATA) >
Repository.getDescriptorKeys()
,
Repository.getDescriptor(String)
Field Summary | |
---|---|
static ReportType |
REPOSITORY_DESCRIPTORS_REPORT
The registered type of this report. |
Constructor Summary | |
---|---|
RepositoryDescriptorsReport()
|
Method Summary | |
---|---|
ReportType |
getType()
Returns REPOSITORY_DESCRIPTORS_REPORT type. |
void |
init(DavResource resource,
ReportInfo info)
Performs basic validation checks common to all JCR specific reports. |
boolean |
isMultiStatusReport()
Always returns false . |
Element |
toXml(Document document)
Returns a Xml representation of the repository descriptors according to the info object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ReportType REPOSITORY_DESCRIPTORS_REPORT
Constructor Detail |
---|
public RepositoryDescriptorsReport()
Method Detail |
---|
public ReportType getType()
REPOSITORY_DESCRIPTORS_REPORT
type.
getType
in interface Report
REPOSITORY_DESCRIPTORS_REPORT
Report.getType()
public boolean isMultiStatusReport()
false
.
isMultiStatusReport
in interface Report
Report.isMultiStatusReport()
public void init(DavResource resource, ReportInfo info) throws DavException
AbstractJcrReport
init
in interface Report
init
in class AbstractJcrReport
DavException
Report.init(DavResource, ReportInfo)
public Element toXml(Document document)
toXml
in interface XmlSerializable
document
-
XmlSerializable.toXml(Document)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |