@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, setReleaseAndDataModelIdentifierpublic XmlImporter(IStore store) throws ImportException
ImportExceptionprotected void importImpl(File directory, boolean validating) throws ImportException, ImportClassNotFoundException, ImportDataCorruptedException, ImportInvalidClassException, ImportNotSerializableException
AbstractImporterdirectoryName directory
importImpl in class AbstractImportervalidating - true if validating according to joafip.xsdImportExceptionImportClassNotFoundExceptionImportDataCorruptedExceptionImportInvalidClassExceptionImportNotSerializableExceptionpublic void startDocument()
throws SAXException
startDocument in interface ContentHandlerSAXExceptionpublic void endDocument()
throws SAXException
endDocument in interface ContentHandlerSAXExceptionpublic void startElement(String uri, String localName, String name, Attributes atts) throws SAXException
startElement in interface ContentHandlerSAXExceptionpublic void endElement(String uri, String localName, String name) throws SAXException
endElement in interface ContentHandlerSAXExceptionpublic void characters(char[] chars,
int start,
int length)
throws SAXException
characters in interface ContentHandlerSAXExceptionpublic void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping in interface ContentHandlerSAXExceptionpublic void endPrefixMapping(String prefix) throws SAXException
endPrefixMapping in interface ContentHandlerSAXExceptionpublic void ignorableWhitespace(char[] chars,
int start,
int length)
throws SAXException
ignorableWhitespace in interface ContentHandlerSAXExceptionpublic void processingInstruction(String target, String data) throws SAXException
processingInstruction in interface ContentHandlerSAXExceptionpublic void skippedEntity(String name) throws SAXException
skippedEntity in interface ContentHandlerSAXExceptionpublic void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandlerlocator - the locator to use.ContentHandler.setDocumentLocator(org.xml.sax.Locator)public String location()
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.