public class StoryElementImportHandler extends AbstractImportHandler
AbstractImportHandler.ProviderStub
ImportHandler.State
mDefaultSection, mDefaultUser, mImportConfiguration, mLogger, mProvider, mSAXConfiguration
DEFAULT_NAMESPACE, UNKNOWN_FIELD_NAMESPACE
Constructor and Description |
---|
StoryElementImportHandler(XMLImportConfiguration pImportConfiguration,
SAXConfiguration pSAXConfiguration,
List<com.escenic.contentstore.StoryElement> pStoryElements,
Map<String,com.escenic.contentstore.StoryElement> pStoryElementById) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] pChars,
int pStart,
int pLength) |
void |
endElement(String pNamespaceURI,
String pLocalName)
Receive notification of the end of an element.
|
void |
startElement(String pNamespaceURI,
String pLocalName,
Attributes pAttributes)
Receive notification of the beginning of an element.
|
protected boolean |
subclassAcceptsChildElements() |
boolean |
supportsCharacters()
Checks if this handler supports characters.
|
cleanup, createChildHandlers, endElement, error, fatalError, getAPI, getMessageHandler, getState, getSystemId, handleCharacters, handleEndElement, handleStartElement, info, isAborted, onChildHandlerCompleted, rollback, setState, startElement, 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 StoryElementImportHandler(XMLImportConfiguration pImportConfiguration, SAXConfiguration pSAXConfiguration, List<com.escenic.contentstore.StoryElement> pStoryElements, Map<String,com.escenic.contentstore.StoryElement> pStoryElementById)
public void startElement(String pNamespaceURI, String pLocalName, Attributes pAttributes) throws SAXException
ImportHandler
startElement
in interface ImportHandler
startElement
in class AbstractImportHandler
pNamespaceURI
- the namespace URI.pLocalName
- the local name.pAttributes
- the attributes.SAXException
- on any error.public void characters(char[] pChars, int pStart, int pLength) throws SAXException
characters
in interface ContentHandler
characters
in class AbstractImportHandler
SAXException
public boolean supportsCharacters()
ImportHandler
supportsCharacters
in interface ImportHandler
supportsCharacters
in class AbstractImportHandler
public void endElement(String pNamespaceURI, String pLocalName) throws SAXException
ImportHandler
endElement
in interface ImportHandler
endElement
in class AbstractImportHandler
pNamespaceURI
- the namespace URI.pLocalName
- the local name.SAXException
- on any error.protected boolean subclassAcceptsChildElements()
subclassAcceptsChildElements
in class AbstractImportHandler
© 1998- 2018 Stibo DX