jAudioFeatureExtractor.ACE.XMLParsers
Class ParseBatchJobHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
jAudioFeatureExtractor.ACE.XMLParsers.ParseFileHandler
jAudioFeatureExtractor.ACE.XMLParsers.ParseBatchJobHandler
- All Implemented Interfaces:
- org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
public class ParseBatchJobHandler
- extends ParseFileHandler
Class responsible for the parsing of XML batch files.
- Author:
- Daniel McEnnis
Method Summary |
void |
characters(char[] ch,
int start,
int length)
Used to process character data in the XML file. |
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
Use to signal end of a current XML tag. |
void |
startDocument()
Logical start of the XML document. |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
Signals start of an XML tag |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BATCH_FILE
public static final int BATCH_FILE
- See Also:
- Constant Field Values
BATCH
public static final int BATCH
- See Also:
- Constant Field Values
FILE_SET
public static final int FILE_SET
- See Also:
- Constant Field Values
FILE
public static final int FILE
- See Also:
- Constant Field Values
SETTINGS
public static final int SETTINGS
- See Also:
- Constant Field Values
WINDOW_SIZE
public static final int WINDOW_SIZE
- See Also:
- Constant Field Values
WINDOW_OVERLAP
public static final int WINDOW_OVERLAP
- See Also:
- Constant Field Values
SAMPLING_RATE
public static final int SAMPLING_RATE
- See Also:
- Constant Field Values
NORMALISE
public static final int NORMALISE
- See Also:
- Constant Field Values
PER_WINDOW_STATS
public static final int PER_WINDOW_STATS
- See Also:
- Constant Field Values
OVERALL_STATS
public static final int OVERALL_STATS
- See Also:
- Constant Field Values
OUTPUT_TYPE
public static final int OUTPUT_TYPE
- See Also:
- Constant Field Values
FEATURE
public static final int FEATURE
- See Also:
- Constant Field Values
ACTIVE
public static final int ACTIVE
- See Also:
- Constant Field Values
ATTRIBUTE
public static final int ATTRIBUTE
- See Also:
- Constant Field Values
DESTINATION
public static final int DESTINATION
- See Also:
- Constant Field Values
NAME
public static final int NAME
- See Also:
- Constant Field Values
AGGREGATOR
public static final int AGGREGATOR
- See Also:
- Constant Field Values
AGGREGATOR_NAME
public static final int AGGREGATOR_NAME
- See Also:
- Constant Field Values
AGGREGATOR_FEATURE
public static final int AGGREGATOR_FEATURE
- See Also:
- Constant Field Values
AGGREGATOR_PARAMETER
public static final int AGGREGATOR_PARAMETER
- See Also:
- Constant Field Values
ParseBatchJobHandler
public ParseBatchJobHandler()
characters
public void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
- Used to process character data in the XML file.
- Specified by:
characters
in interface org.xml.sax.ContentHandler
- Overrides:
characters
in class org.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
endElement
public void endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
- Use to signal end of a current XML tag.
- Specified by:
endElement
in interface org.xml.sax.ContentHandler
- Overrides:
endElement
in class org.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
startDocument
public void startDocument()
throws org.xml.sax.SAXException
- Logical start of the XML document.
- Specified by:
startDocument
in interface org.xml.sax.ContentHandler
- Overrides:
startDocument
in class org.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
startElement
public void startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
throws org.xml.sax.SAXException
- Signals start of an XML tag
- Specified by:
startElement
in interface org.xml.sax.ContentHandler
- Overrides:
startElement
in class org.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException