|
||||||||||
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.RegisteredNamespacesReport
public class RegisteredNamespacesReport
RegisteredNamespacesReport
let the client retrieve the namespaces
registered on the repository.
<!ELEMENT registerednamespaces EMPTY >Response body:
<!ELEMENT registerednamespaces-report (namespace)* > <!ELEMENT namespace (prefix, uri) > <!ELEMENT prefix (#PCDATA) > <!ELEMENT uri (#PCDATA) >
Workspace.getNamespaceRegistry()
Field Summary | |
---|---|
static ReportType |
REGISTERED_NAMESPACES_REPORT
The registered type of this report. |
Constructor Summary | |
---|---|
RegisteredNamespacesReport()
|
Method Summary | |
---|---|
ReportType |
getType()
Returns REGISTERED_NAMESPACES_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 registered namespace(s). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ReportType REGISTERED_NAMESPACES_REPORT
Constructor Detail |
---|
public RegisteredNamespacesReport()
Method Detail |
---|
public ReportType getType()
REGISTERED_NAMESPACES_REPORT
type.
getType
in interface Report
REGISTERED_NAMESPACES_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 |