Package com.simplicite.util.integration
Class SimpleSAXParserAdapter
- java.lang.Object
-
- com.simplicite.util.integration.SimpleAdapter
-
- com.simplicite.util.integration.SAXParserAdapter
-
- com.simplicite.util.integration.SimpleSAXParserAdapter
-
- All Implemented Interfaces:
AdapterInterface
,java.io.Serializable
- Direct Known Subclasses:
SAXImportXML
public abstract class SimpleSAXParserAdapter extends SAXParserAdapter
Abstract adapter dedicated to simplified SAX parsing of XML input streams
The 5 methods to implement are the startProcess, endProcess, startTagProcess, endTagProcess and processValue methods- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.simplicite.util.integration.SAXParserAdapter
SAXParserAdapter.SAXParserHandler
-
-
Constructor Summary
Constructors Constructor Description SimpleSAXParserAdapter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
endProcess()
abstract void
endTagProcess(java.lang.String uri, java.lang.String localName, java.lang.String qName, java.lang.String path)
void
process()
Creates simple SAX parser that calls startProcess, enProcess, startTagProcess, endTagProcess and processValue methodsabstract void
processAttribute(java.lang.String uri, java.lang.String localName, java.lang.String qName, java.lang.String value, java.lang.String path)
abstract void
processValue(java.lang.String value)
abstract void
startProcess()
abstract void
startTagProcess(java.lang.String uri, java.lang.String localName, java.lang.String qName, java.lang.String path)
-
Methods inherited from class com.simplicite.util.integration.SimpleAdapter
append, appendError, appendError, appendLog, appendLog, close, directProcess, getBooleanParameter, getBooleanParameter, getConsole, getErrorStream, getErrorWriter, getGrant, getInputReader, getInputStream, getIntParameter, getIntParameter, getLogStream, getLogWriter, getLongParameter, getLongParameter, getName, getOrigin, getOutputStream, getOutputWriter, getParameter, getParameter, getParameters, getProcessCount, getStatus, getTrackingId, init, postProcess, preProcess, setConsole, setErrorStream, setInputData, setInputStream, setLogStream, setOutputStream, setParameter, setParameter, setParameter, setParameter, setProcessCount, setStatus
-
-
-
-
Method Detail
-
process
public void process() throws java.lang.InterruptedException
Creates simple SAX parser that calls startProcess, enProcess, startTagProcess, endTagProcess and processValue methods
- Specified by:
process
in interfaceAdapterInterface
- Overrides:
process
in classSAXParserAdapter
- Throws:
java.lang.InterruptedException
-
startProcess
public abstract void startProcess() throws PlatformException, java.lang.InterruptedException
- Throws:
PlatformException
java.lang.InterruptedException
-
startTagProcess
public abstract void startTagProcess(java.lang.String uri, java.lang.String localName, java.lang.String qName, java.lang.String path) throws PlatformException, java.lang.InterruptedException
- Throws:
PlatformException
java.lang.InterruptedException
-
processAttribute
public abstract void processAttribute(java.lang.String uri, java.lang.String localName, java.lang.String qName, java.lang.String value, java.lang.String path) throws PlatformException, java.lang.InterruptedException
- Throws:
PlatformException
java.lang.InterruptedException
-
processValue
public abstract void processValue(java.lang.String value) throws PlatformException, java.lang.InterruptedException
- Throws:
PlatformException
java.lang.InterruptedException
-
endTagProcess
public abstract void endTagProcess(java.lang.String uri, java.lang.String localName, java.lang.String qName, java.lang.String path) throws PlatformException, java.lang.InterruptedException
- Throws:
PlatformException
java.lang.InterruptedException
-
endProcess
public abstract void endProcess() throws PlatformException, java.lang.InterruptedException
- Throws:
PlatformException
java.lang.InterruptedException
-
-