public class RelationImportHandler extends AbstractImportHandler
AbstractImportHandler.ProviderStub
ImportHandler.State
mDefaultSection, mDefaultUser, mImportConfiguration, mLogger, mProvider, mSAXConfiguration
DEFAULT_NAMESPACE, UNKNOWN_FIELD_NAMESPACE
Constructor and Description |
---|
RelationImportHandler(XMLImportConfiguration pImportConfiguration,
SAXConfiguration pSAXConfiguration,
ArticleTransaction pArticle,
boolean pUpdate) |
Modifier and Type | Method and Description |
---|---|
protected void |
contentSummaryFound(String pRelationType,
ContentSummary pRelation) |
protected List<? extends ImportHandler> |
createChildHandlers() |
protected String |
determineRelationType(Attributes pAttributes) |
UnresolvedRelation |
getUnresolvedRelation() |
protected void |
handleEndElement(String pNamespaceURI,
String pLocalName) |
protected void |
handleStartElement(String pNamespaceURI,
String pLocalName,
Attributes pAttributes) |
protected void |
setContentSummaries(List<ContentSummary> pSummaries) |
characters, cleanup, endElement, endElement, error, fatalError, getAPI, getMessageHandler, getState, getSystemId, handleCharacters, info, isAborted, onChildHandlerCompleted, rollback, 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 RelationImportHandler(XMLImportConfiguration pImportConfiguration, SAXConfiguration pSAXConfiguration, ArticleTransaction pArticle, boolean pUpdate)
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 contentSummaryFound(String pRelationType, ContentSummary pRelation)
protected String determineRelationType(Attributes pAttributes) throws SAXException
SAXException
protected void handleEndElement(String pNamespaceURI, String pLocalName) throws SAXException
handleEndElement
in class AbstractImportHandler
SAXException
protected void setContentSummaries(List<ContentSummary> pSummaries)
public UnresolvedRelation getUnresolvedRelation()
© 1998- 2018 Stibo DX