Package mgui.io.domestic.pipelines
Class PipelineProcessLibraryXMLHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
mgui.io.domestic.pipelines.PipelineProcessLibraryXMLHandler
- All Implemented Interfaces:
org.xml.sax.ContentHandler
,org.xml.sax.DTDHandler
,org.xml.sax.EntityResolver
,org.xml.sax.ErrorHandler
public class PipelineProcessLibraryXMLHandler
extends org.xml.sax.helpers.DefaultHandler
XML handler for reading pipeline process libraries.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
- See Also:
mgui.interfaces.pipelines.PipelineProcessLibrary
-
Field Summary
Fields Modifier and Type Field Description PipelineProcess
current_process
java.util.HashMap<java.lang.String,java.lang.String>
environment
java.lang.String
library_name
java.util.ArrayList<PipelineProcess>
processes
-
Constructor Summary
Constructors Constructor Description PipelineProcessLibraryXMLHandler()
-
Method Summary
Modifier and Type Method Description void
characters(char[] ch, int start, int length)
void
endElement(java.lang.String uri, java.lang.String localName, java.lang.String name)
void
startElement(java.lang.String uri, java.lang.String localName, java.lang.String name, org.xml.sax.Attributes attributes)
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
library_name
public java.lang.String library_name -
current_process
-
processes
-
environment
public java.util.HashMap<java.lang.String,java.lang.String> environment
-
-
Constructor Details
-
PipelineProcessLibraryXMLHandler
public PipelineProcessLibraryXMLHandler()
-
-
Method Details
-
startElement
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String name, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException- Specified by:
startElement
in interfaceorg.xml.sax.ContentHandler
- Overrides:
startElement
in classorg.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
-
endElement
public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String name) throws org.xml.sax.SAXException- Specified by:
endElement
in interfaceorg.xml.sax.ContentHandler
- Overrides:
endElement
in classorg.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
-
characters
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException- Specified by:
characters
in interfaceorg.xml.sax.ContentHandler
- Overrides:
characters
in classorg.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
-