public class SectionPageImportHandler extends AbstractImportHandler
AbstractImportHandler.ProviderStub
ImportHandler.State
Modifier and Type | Field and Description |
---|---|
static String |
ACTIVE_DATE |
static String |
REPLACE |
mDefaultSection, mDefaultUser, mImportConfiguration, mLogger, mProvider, mSAXConfiguration
DEFAULT_NAMESPACE, UNKNOWN_FIELD_NAMESPACE
Constructor and Description |
---|
SectionPageImportHandler(ImportHandlerSpi pProvider,
XMLImportConfiguration pImportConfiguration,
SAXConfiguration pSAXConfiguration)
Creates a
SectionPageImportHandler . |
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Clean up the handler on any error.
|
protected List<? extends ImportHandler> |
createChildHandlers() |
protected void |
handleEndElement(String pNamespaceURI,
String pLocalName) |
protected void |
handleStartElement(String pNamespaceURI,
String pLocalName,
Attributes pAttributes) |
void |
rollback()
Rollback the handler on any error.
|
characters, endElement, endElement, error, fatalError, getAPI, getMessageHandler, getState, getSystemId, handleCharacters, info, isAborted, onChildHandlerCompleted, 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 REPLACE
public static final String ACTIVE_DATE
public SectionPageImportHandler(ImportHandlerSpi pProvider, XMLImportConfiguration pImportConfiguration, SAXConfiguration pSAXConfiguration)
SectionPageImportHandler
.pProvider
- the providerpImportConfiguration
- the import configuration.pSAXConfiguration
- the parser configuration.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
© 1998- 2021 Escenic AS