de.opsdesign.yax.line
Class Configuration
java.lang.Object
org.xml.sax.helpers.DefaultHandler
de.opsdesign.yax.line.Configuration
- All Implemented Interfaces:
- org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
public class Configuration
- extends org.xml.sax.helpers.DefaultHandler
Method Summary |
void |
addToScripts(java.io.File file)
|
void |
characters(char[] buf,
int offset,
int len)
|
boolean |
configure(java.lang.String[] args)
Configures the pipeline. |
void |
endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
|
java.io.File |
getInput()
|
java.io.File |
getOutput()
|
java.util.ArrayList<java.io.File> |
getScripts()
|
boolean |
isConfigured()
|
void |
setInput(java.io.File input)
|
void |
setOutput(java.io.File output)
|
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attrs)
|
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 |
Configuration
public Configuration()
configure
public boolean configure(java.lang.String[] args)
throws ConfigurationException
- Configures the pipeline.
Two configuration modes are offered:
1) configuration file: configurationfilename
2) parameter: inputfilename outputfilename scriptfilename1 [scriptfilename2]...[scriptfilenamen]
- Parameters:
args
-
- Returns:
-
- Throws:
ConfigurationException
startElement
public void startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXException
- Specified by:
startElement
in interface org.xml.sax.ContentHandler
- Overrides:
startElement
in class org.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
endElement
public void endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
- Specified by:
endElement
in interface org.xml.sax.ContentHandler
- Overrides:
endElement
in class org.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
characters
public void characters(char[] buf,
int offset,
int len)
throws org.xml.sax.SAXException
- Specified by:
characters
in interface org.xml.sax.ContentHandler
- Overrides:
characters
in class org.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
getInput
public java.io.File getInput()
setInput
public void setInput(java.io.File input)
getOutput
public java.io.File getOutput()
setOutput
public void setOutput(java.io.File output)
addToScripts
public void addToScripts(java.io.File file)
getScripts
public java.util.ArrayList<java.io.File> getScripts()
isConfigured
public boolean isConfigured()
Copyright © 2008 OPS Design GmbH. All Rights Reserved.