public class SystemViewExporter extends Exporter
Constructor and Description |
---|
SystemViewExporter(Session session,
ContentHandler handler,
boolean recurse,
boolean binary)
Creates a system view exporter.
|
Modifier and Type | Method and Description |
---|---|
protected void |
exportNode(String uri,
String local,
Node node)
Exports the given node as an
sv:node element. |
protected void |
exportProperty(String uri,
String local,
int type,
Value[] values)
Exports the given property as an
sv:property element. |
protected void |
exportProperty(String uri,
String local,
Value value)
|
addAttribute, addNamespace, characters, endElement, export, exportNodes, exportProperties, getXMLName, startElement
public SystemViewExporter(Session session, ContentHandler handler, boolean recurse, boolean binary)
session
- current sessionhandler
- SAX event handler for the exportrecurse
- whether to recursively export the whole subtreebinary
- whether to export binary valuesprotected void exportNode(String uri, String local, Node node) throws RepositoryException, SAXException
sv:node
element.exportNode
in class Exporter
uri
- node namespacelocal
- node namenode
- nodeRepositoryException
- if a repository error occursSAXException
- if a SAX error occursprotected void exportProperty(String uri, String local, Value value) throws RepositoryException, SAXException
exportProperty
in class Exporter
uri
- property namespacelocal
- property namevalue
- property valueRepositoryException
- if a repository error occursSAXException
- if a SAX error occursprotected void exportProperty(String uri, String local, int type, Value[] values) throws RepositoryException, SAXException
sv:property
element.exportProperty
in class Exporter
uri
- property namespacelocal
- property nametype
- property typevalues
- property valuesRepositoryException
- if a repository error occursSAXException
- if a SAX error occursCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.