|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
tabs.hair.HairColorsXMLHandler
public class HairColorsXMLHandler
Instances of this class can be used to parse a XML hair colors file
| Constructor Summary | |
|---|---|
HairColorsXMLHandler()
Creates a new instance of this class that is ready to parse a XML hair colors file |
|
| Method Summary | |
|---|---|
java.util.ArrayList<HairColorData> |
getHairColorsList()
An ArrayList containing the parsed hair colors |
void |
initReadingVars()
Reset this instance's variables so that a new parsing can be made |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
|
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
characters, endDocument, endElement, 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 |
| Constructor Detail |
|---|
public HairColorsXMLHandler()
| Method Detail |
|---|
public void initReadingVars()
public java.util.ArrayList<HairColorData> getHairColorsList()
ArrayList containing the parsed hair colors
ArrayList with the parsed hair colors
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
startElement in interface org.xml.sax.ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||