|
||||||||||
| 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 >
NodeTypeConstants.NAMESPACE| 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 ReportNODETYPES_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 | |||||||||