@NotStorableClass public class XmlImporter extends AbstractImporter implements ContentHandler
classLoaderProvider, logger
Constructor and Description |
---|
XmlImporter(IStore store) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] chars,
int start,
int length) |
void |
endDocument() |
void |
endElement(String uri,
String localName,
String name) |
void |
endPrefixMapping(String prefix) |
void |
ignorableWhitespace(char[] chars,
int start,
int length) |
protected void |
importImpl(File directory,
boolean validating)
specific implementation of import from exported data in
directoryName |
String |
location() |
void |
processingInstruction(String target,
String data) |
void |
setDocumentLocator(Locator locator)
definition of locator that make able, at any time in analysis, to
localize flow treatment.
|
void |
skippedEntity(String name) |
void |
startDocument() |
void |
startElement(String uri,
String localName,
String name,
Attributes atts) |
void |
startPrefixMapping(String prefix,
String uri) |
classDefForClass, classForName, classReplacementDef, convert, createArray, createArray, createBasicValue, createDataRecordIdentifierAssociatedToObject, createDummyValueObject, createEnum, createEnum, createObject, createObject, createRootObject, createString, createString, doImport, getClassInfoFactory, getClassReplacementDef, getObject, getPreviousDataModelIdentifier, getPreviousRelesase, isBasicClass, newDataRecordIdentifier, recordObject, recordObject, setArrayElement, setDataRecordIdentifierAssociatedToObject, setLastRecordId, setListener, setObjectState, setReleaseAndDataModelIdentifier
public XmlImporter(IStore store) throws ImportException
ImportException
protected void importImpl(File directory, boolean validating) throws ImportException, ImportClassNotFoundException, ImportDataCorruptedException, ImportInvalidClassException, ImportNotSerializableException
AbstractImporter
directoryName directory
importImpl
in class AbstractImporter
validating
- true if validating according to joafip.xsdImportException
ImportClassNotFoundException
ImportDataCorruptedException
ImportInvalidClassException
ImportNotSerializableException
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
SAXException
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
SAXException
public void startElement(String uri, String localName, String name, Attributes atts) throws SAXException
startElement
in interface ContentHandler
SAXException
public void endElement(String uri, String localName, String name) throws SAXException
endElement
in interface ContentHandler
SAXException
public void characters(char[] chars, int start, int length) throws SAXException
characters
in interface ContentHandler
SAXException
public void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping
in interface ContentHandler
SAXException
public void endPrefixMapping(String prefix) throws SAXException
endPrefixMapping
in interface ContentHandler
SAXException
public void ignorableWhitespace(char[] chars, int start, int length) throws SAXException
ignorableWhitespace
in interface ContentHandler
SAXException
public void processingInstruction(String target, String data) throws SAXException
processingInstruction
in interface ContentHandler
SAXException
public void skippedEntity(String name) throws SAXException
skippedEntity
in interface ContentHandler
SAXException
public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface ContentHandler
locator
- the locator to use.ContentHandler.setDocumentLocator(org.xml.sax.Locator)
public String location()
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.