public abstract class TargetImportHandler
extends org.xml.sax.helpers.DefaultHandler
TargetImportHandler serves as the base class for the concrete
classes {@link DocViewImportHandler} and
{@link SysViewImportHandler}.| Modifier and Type | Class and Description |
|---|---|
protected class |
TargetImportHandler.NameInfo |
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.jackrabbit.oak.spi.xml.Importer |
importer |
protected SessionContext |
sessionContext |
| Modifier | Constructor and Description |
|---|---|
protected |
TargetImportHandler(org.apache.jackrabbit.oak.spi.xml.Importer importer,
SessionContext sessionContext) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.jackrabbit.oak.namepath.NamePathMapper |
currentNamePathMapper() |
void |
endDocument()
Closes the underlying
Importer instance. |
void |
endPrefixMapping(java.lang.String prefix) |
void |
startDocument()
Initializes the underlying
Importer instance. |
void |
startPrefixMapping(java.lang.String prefix,
java.lang.String uri) |
protected final org.apache.jackrabbit.oak.spi.xml.Importer importer
protected final SessionContext sessionContext
protected TargetImportHandler(org.apache.jackrabbit.oak.spi.xml.Importer importer, SessionContext sessionContext)
public void startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
throws org.xml.sax.SAXException
startPrefixMapping in interface org.xml.sax.ContentHandlerstartPrefixMapping in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXExceptionpublic void endPrefixMapping(java.lang.String prefix)
throws org.xml.sax.SAXException
endPrefixMapping in interface org.xml.sax.ContentHandlerendPrefixMapping in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXExceptionpublic void startDocument()
throws org.xml.sax.SAXException
Importer instance. This method
is called by the XML parser when the XML document starts.startDocument in interface org.xml.sax.ContentHandlerstartDocument in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException - if the importer can not be initializedDefaultHandler.startDocument()public void endDocument()
throws org.xml.sax.SAXException
Importer instance. This method
is called by the XML parser when the XML document ends.endDocument in interface org.xml.sax.ContentHandlerendDocument in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException - if the importer can not be closedDefaultHandler.endDocument()public org.apache.jackrabbit.oak.namepath.NamePathMapper currentNamePathMapper()
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.