|
||||||||||
| 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) >
<!ATTLIST descriptorvalue
type ( Reference | Path | Name | Boolean | String | Date | Double |
Long | Binary | WeakReference | URI | Decimal )
>
Repository.getDescriptorKeys(),
javax.jcr.Repository#getDescriptor(String,
Repository.getDescriptorValue(String),
Repository.getDescriptorValues(String)| Field Summary | |
|---|---|
static ReportType |
REPOSITORY_DESCRIPTORS_REPORT
The registered type of this report. |
| Fields inherited from interface org.apache.jackrabbit.webdav.jcr.ItemResourceConstants |
|---|
EXCLUSIVE_SESSION, JCR_DEFINITION, JCR_DEPTH, JCR_INDEX, JCR_ISMODIFIED, JCR_ISNEW, JCR_LENGTH, JCR_LENGTHS, JCR_MIXINNODETYPES, JCR_NAME, JCR_NAMESPACES, JCR_PARENT, JCR_PATH, JCR_PRIMARYITEM, JCR_PRIMARYNODETYPE, JCR_REFERENCES, JCR_SELECTOR_NAME, JCR_TYPE, JCR_UUID, JCR_VALUE, JCR_VALUES, JCR_VERSIONABLEUUID, JCR_WEAK_REFERENCES, JCR_WORKSPACE_NAME, METHODS, NAMESPACE, PRIVILEGE_JCR_ADD_NODE, PRIVILEGE_JCR_READ, PRIVILEGE_JCR_REMOVE, PRIVILEGE_JCR_SET_PROPERTY |
| 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 ReportREPOSITORY_DESCRIPTORS_REPORTReport.getType()public boolean isMultiStatusReport()
false.
isMultiStatusReport in interface ReportReport.isMultiStatusReport()
public void init(DavResource resource,
ReportInfo info)
throws DavException
AbstractJcrReport
init in interface Reportinit in class AbstractJcrReportDavExceptionReport.init(DavResource, ReportInfo)public Element toXml(Document document)
toXml in interface XmlSerializabledocument -
XmlSerializable.toXml(Document)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||