org.apache.jackrabbit.commons.xml
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
Fields inherited from class org.apache.jackrabbit.commons.xml.Exporter |
helper |
Method Summary |
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)
Calls exportProperty(String, String, int, Value[]) . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
exportNode
protected void exportNode(String uri,
String local,
Node node)
throws RepositoryException,
SAXException
- Exports the given node as an
sv:node
element.
- Specified by:
exportNode
in class Exporter
- Parameters:
uri
- node namespacelocal
- node namenode
- node
- Throws:
RepositoryException
- if a repository error occurs
SAXException
- if a SAX error occurs
exportProperty
protected void exportProperty(String uri,
String local,
Value value)
throws RepositoryException,
SAXException
- Calls
exportProperty(String, String, int, Value[])
.
- Specified by:
exportProperty
in class Exporter
- Parameters:
uri
- property namespacelocal
- property namevalue
- property value
- Throws:
RepositoryException
- if a repository error occurs
SAXException
- 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 an
sv:property
element.
- Specified by:
exportProperty
in class Exporter
- Parameters:
uri
- property namespacelocal
- property nametype
- property type
- Throws:
RepositoryException
- if a repository error occurs
SAXException
- if a SAX error occurs
Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.