Class Exporter
java.lang.Object
org.apache.jackrabbit.commons.xml.Exporter
- Direct Known Subclasses:
DocumentViewExporter,SystemViewExporter
Abstract base class for document and system view exporters. This class
takes care of all the details related to namespace mappings, shareable
nodes, recursive exports, binary values, and so on while leaving the
decisions about what kind of SAX events to generate to subclasses.
A subclass should only need to implement the abstract methods of this class to produce a fully functional exporter.
- Since:
- Jackrabbit JCR Commons 1.5
-
Method Summary
-
Method Details
-
export
Exports the given node by preparing the export and calling the abstractexportNode(String, String, Node)method to give control of the export format to a subclass.This method should be called only once for an exporter instance.
- Parameters:
node- node to be exported- Throws:
SAXException- if a SAX error occursRepositoryException- if a repository error occurs
-