org.priha.xml
Class XMLExport
java.lang.Object
org.priha.xml.XMLExport
- Direct Known Subclasses:
- XMLDocExport, XMLSysExport
public abstract class XMLExport
- extends java.lang.Object
Method Summary |
void |
export(java.lang.String absPath,
org.xml.sax.ContentHandler contentHandler,
boolean skipBinary,
boolean noRecurse)
Exports the JCR repository starting from absPath. |
protected abstract void |
exportElement(java.lang.String absPath,
org.xml.sax.ContentHandler contentHandler,
boolean skipBinary,
boolean noRecurse)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_session
protected SessionImpl m_session
XMLExport
protected XMLExport(SessionImpl impl)
export
public void export(java.lang.String absPath,
org.xml.sax.ContentHandler contentHandler,
boolean skipBinary,
boolean noRecurse)
throws javax.jcr.PathNotFoundException,
javax.jcr.RepositoryException,
org.xml.sax.SAXException
- Exports the JCR repository starting from absPath.
- Parameters:
absPath
- The path from which to start the exporting.contentHandler
- The SAX ContentHandler which will receive the export events.skipBinary
- If true, all BINARY type values will be skipped.noRecurse
- If true, won't recurse into subdirectories.
- Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
org.xml.sax.SAXException
- If the ContentHandler throws one.
exportElement
protected abstract void exportElement(java.lang.String absPath,
org.xml.sax.ContentHandler contentHandler,
boolean skipBinary,
boolean noRecurse)
throws javax.jcr.PathNotFoundException,
javax.jcr.RepositoryException,
org.xml.sax.SAXException
- Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
org.xml.sax.SAXException