public class ExportViewReport extends AbstractJcrReport
ExportViewReport
handles REPORT requests for the 'exportview'
report. The 'exportview' report is used to export
DocView
and SysView
of the item
represented by the requested resource.
The request body must contain a dcr
:exportview
element:
<!ELEMENT exportview ( (sysview | docview)?, skipbinary?, norecurse ) > <!ELEMENT sysview EMPTY > <!ELEMENT docview EMPTY > <!ELEMENT skipbinary EMPTY > <!ELEMENT norecurse EMPTY >If no view type is specified the DocView is generated.
Modifier and Type | Field and Description |
---|---|
static ReportType |
EXPORTVIEW_REPORT
The exportview report type
|
Constructor and Description |
---|
ExportViewReport() |
Modifier and Type | Method and Description |
---|---|
ReportType |
getType()
Returns
EXPORTVIEW_REPORT 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)
Creates a Xml document from the generated view.
|
public static final ReportType EXPORTVIEW_REPORT
public ReportType getType()
EXPORTVIEW_REPORT
report type.EXPORTVIEW_REPORT
Report.getType()
public boolean isMultiStatusReport()
false
.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)
document
- XmlSerializable.toXml(Document)
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.