public abstract class TargetImportHandler extends 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(String prefix) |
void |
startDocument()
Initializes the underlying
Importer instance. |
void |
startPrefixMapping(String prefix,
String uri) |
characters, endElement, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startElement, unparsedEntityDecl, warningprotected 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(String prefix, String uri) throws SAXException
startPrefixMapping in interface ContentHandlerstartPrefixMapping in class DefaultHandlerSAXExceptionpublic void endPrefixMapping(String prefix) throws SAXException
endPrefixMapping in interface ContentHandlerendPrefixMapping in class DefaultHandlerSAXExceptionpublic void startDocument()
throws SAXException
Importer instance. This method
is called by the XML parser when the XML document starts.startDocument in interface ContentHandlerstartDocument in class DefaultHandlerSAXException - if the importer can not be initializedDefaultHandler.startDocument()public void endDocument()
throws SAXException
Importer instance. This method
is called by the XML parser when the XML document ends.endDocument in interface ContentHandlerendDocument in class DefaultHandlerSAXException - if the importer can not be closedDefaultHandler.endDocument()public org.apache.jackrabbit.oak.namepath.NamePathMapper currentNamePathMapper()
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.