|
||||||||||
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.NodeTypesReport
public class NodeTypesReport
NodeTypesReport
allows to retrieve the definition of a single
or multiple node types. The request body must be a 'dcr:nodetypes' element:
<!ELEMENT nodetypes ( nodetype+ | all-nodetypes | mixin-nodetypes | primary-nodetypes ) > <!ELEMENT nodetype ( nodetypename ) > <!ELEMENT nodetypename (#PCDATA) > <!ELEMENT all-nodetypes EMPTY > <!ELEMENT mixin-nodetypes EMPTY > <!ELEMENT primary-nodetypes EMPTY >
Field Summary | |
---|---|
static ReportType |
NODETYPES_REPORT
The registered type of this report. |
Constructor Summary | |
---|---|
NodeTypesReport()
|
Method Summary | |
---|---|
ReportType |
getType()
Returns NODETYPES_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 node type definition(s) 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 NODETYPES_REPORT
Constructor Detail |
---|
public NodeTypesReport()
Method Detail |
---|
public ReportType getType()
NODETYPES_REPORT
type.
getType
in interface Report
NODETYPES_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 |