public class ContentImportHandler extends AbstractImportHandler
AbstractImportHandler.ProviderStub
ImportHandler.State
Modifier and Type | Field and Description |
---|---|
static String |
AUTHOR |
static String |
CREATOR |
protected com.escenic.storage.Storage |
mStorage |
mDefaultSection, mDefaultUser, mImportConfiguration, mLogger, mProvider, mSAXConfiguration
DEFAULT_NAMESPACE, UNKNOWN_FIELD_NAMESPACE
Constructor and Description |
---|
ContentImportHandler(ImportHandlerSpi pProvider,
XMLImportConfiguration pConfiguration,
SAXConfiguration pSAXConfiguration) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Clean up the handler on any error.
|
protected List<? extends ImportHandler> |
createChildHandlers() |
protected neo.xredsys.content.type.TypeManager |
getLegacyTypeManager() |
protected com.escenic.storage.Storage |
getStorage() |
protected void |
handleEndElement(String pNamespaceURI,
String pLocalName) |
protected void |
handleStartElement(String pNamespaceURI,
String pLocalName,
Attributes pAttributes) |
protected void |
onChildHandlerCompleted(ImportHandler pActiveChildHandler,
String pNamespaceURI,
String pLocalName) |
void |
rollback()
Rollback the handler on any error.
|
characters, endElement, endElement, error, fatalError, getAPI, getMessageHandler, getState, getSystemId, handleCharacters, info, isAborted, setState, startElement, startElement, subclassAcceptsChildElements, supportsCharacters, supportsElement, toTimestamp, warning
endDocument, endPrefixMapping, getLocator, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
public static final String AUTHOR
public static final String CREATOR
protected com.escenic.storage.Storage mStorage
public ContentImportHandler(ImportHandlerSpi pProvider, XMLImportConfiguration pConfiguration, SAXConfiguration pSAXConfiguration)
protected void onChildHandlerCompleted(ImportHandler pActiveChildHandler, String pNamespaceURI, String pLocalName)
onChildHandlerCompleted
in class AbstractImportHandler
public void cleanup()
ImportHandler
cleanup
in interface ImportHandler
cleanup
in class AbstractImportHandler
public void rollback()
ImportHandler
rollback
in interface ImportHandler
rollback
in class AbstractImportHandler
protected void handleStartElement(String pNamespaceURI, String pLocalName, Attributes pAttributes) throws SAXException
handleStartElement
in class AbstractImportHandler
SAXException
protected List<? extends ImportHandler> createChildHandlers()
createChildHandlers
in class AbstractImportHandler
protected void handleEndElement(String pNamespaceURI, String pLocalName) throws SAXException
handleEndElement
in class AbstractImportHandler
SAXException
protected com.escenic.storage.Storage getStorage()
protected neo.xredsys.content.type.TypeManager getLegacyTypeManager()
© 1998- 2018 Stibo DX