|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
jAudioFeatureExtractor.ACE.XMLParsers.ParseFileHandler
jAudioFeatureExtractor.ACE.XMLParsers.ParseDataSetFileHandler
public class ParseDataSetFileHandler
An extension of the Xerces XML DefaultHandler class that implements the SAX ContentHandler. The methods of this class are called by an instance of an XMLReader while it is parsing an XML document.
This particular implementation is custom designed to parse XML files of the feature_vector_file type used by the ACE classification system. A custom exception is thrown if the file is not of this type. At the end of parsing, the contents of the files elements are stored in the parsed_file_contents field.
| フィールドの概要 |
|---|
| クラス jAudioFeatureExtractor.ACE.XMLParsers.ParseFileHandler から継承されたフィールド |
|---|
comments, parsed_file_contents |
| コンストラクタの概要 | |
|---|---|
ParseDataSetFileHandler()
|
|
| メソッドの概要 | |
|---|---|
void |
characters(char[] ch,
int start,
int length)
This method responds to the contents of tags in a way determined by the name of the tag (as determined by the startElement method). |
void |
endDocument()
This method is called when the end tag of an XML element is encountered. |
void |
endElement(java.lang.String namespace,
java.lang.String name,
java.lang.String qName)
This method is called when the end tag of an XML element is encountered. |
void |
startDocument()
This method is called when the start of the XML file to be parsed is reached. |
void |
startElement(java.lang.String namespace,
java.lang.String name,
java.lang.String qName,
org.xml.sax.Attributes atts)
This method is called when the start of an XML element is encountered. |
| クラス org.xml.sax.helpers.DefaultHandler から継承されたメソッド |
|---|
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public ParseDataSetFileHandler()
| メソッドの詳細 |
|---|
public void startDocument()
org.xml.sax.ContentHandler 内の startDocumentorg.xml.sax.helpers.DefaultHandler 内の startDocument
public void startElement(java.lang.String namespace,
java.lang.String name,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
org.xml.sax.ContentHandler 内の startElementorg.xml.sax.helpers.DefaultHandler 内の startElementname - Name of the element that is encountered.atts - The attributes encountered.
org.xml.sax.SAXException - Exception thrown if is wrong type of XML file.
public void characters(char[] ch,
int start,
int length)
org.xml.sax.ContentHandler 内の charactersorg.xml.sax.helpers.DefaultHandler 内の characters
public void endElement(java.lang.String namespace,
java.lang.String name,
java.lang.String qName)
org.xml.sax.ContentHandler 内の endElementorg.xml.sax.helpers.DefaultHandler 内の endElementname - Name of the element that is encountered.public void endDocument()
org.xml.sax.ContentHandler 内の endDocumentorg.xml.sax.helpers.DefaultHandler 内の endDocument
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||