Class SystemViewExporter
- java.lang.Object
-
- org.apache.jackrabbit.commons.xml.Exporter
-
- org.apache.jackrabbit.commons.xml.SystemViewExporter
-
public class SystemViewExporter extends Exporter
System view exporter.- Since:
- Jackrabbit JCR Commons 1.5
-
-
Constructor Summary
Constructors Constructor Description SystemViewExporter(Session session, ContentHandler handler, boolean recurse, boolean binary)
Creates a system view exporter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
exportNode(String uri, String local, Node node)
Exports the given node as ansv:node
element.protected void
exportProperty(String uri, String local, int type, Value[] values)
Exports the given property as ansv:property
element.protected void
exportProperty(String uri, String local, Value value)
-
Methods inherited from class org.apache.jackrabbit.commons.xml.Exporter
addAttribute, addNamespace, characters, endElement, export, exportNodes, exportProperties, getXMLName, startElement
-
-
-
-
Constructor Detail
-
SystemViewExporter
public SystemViewExporter(Session session, ContentHandler handler, boolean recurse, boolean binary)
Creates a system view exporter.- Parameters:
session
- current sessionhandler
- SAX event handler for the exportrecurse
- whether to recursively export the whole subtreebinary
- whether to export binary values
-
-
Method Detail
-
exportNode
protected void exportNode(String uri, String local, Node node) throws RepositoryException, SAXException
Exports the given node as ansv:node
element.- Specified by:
exportNode
in classExporter
- Parameters:
uri
- node namespacelocal
- node namenode
- node- Throws:
RepositoryException
- if a repository error occursSAXException
- if a SAX error occurs
-
exportProperty
protected void exportProperty(String uri, String local, Value value) throws RepositoryException, SAXException
- Specified by:
exportProperty
in classExporter
- Parameters:
uri
- property namespacelocal
- property namevalue
- property value- Throws:
RepositoryException
- if a repository error occursSAXException
- if a SAX error occurs
-
exportProperty
protected void exportProperty(String uri, String local, int type, Value[] values) throws RepositoryException, SAXException
Exports the given property as ansv:property
element.- Specified by:
exportProperty
in classExporter
- Parameters:
uri
- property namespacelocal
- property nametype
- property typevalues
- property values- Throws:
RepositoryException
- if a repository error occursSAXException
- if a SAX error occurs
-
-