|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
PrintGame.GameXMLContentHandler
Constructor Summary | |
GameXMLContentHandler()
|
Method Summary | |
void |
characters(char[] charArray,
int start,
int length)
----------------------------------------------------------------------------- Receive notification of character data inside an element. |
void |
endDocument()
----------------------------------------------------------------------------- Receive notification of the end of the document. |
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qualName)
----------------------------------------------------------------------------- Receive notification of the end of an element. |
java.lang.String |
getDiamondPicture()
|
java.lang.String |
getFile(int number)
|
int |
getNumLevels()
|
java.lang.String |
getRobotPicture()
|
java.lang.String |
getStartPicture()
|
java.lang.String |
getWallPicture()
|
java.lang.String |
getWayPicture()
|
void |
setDocumentBase(java.net.URL document_base)
|
void |
startDocument()
----------------------------------------------------------------------------- Receive notification of the beginning of the document. |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qualName,
org.xml.sax.Attributes attribs)
----------------------------------------------------------------------------- Receive notification of the start of an element. |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
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 |
Constructor Detail |
public GameXMLContentHandler()
Method Detail |
public void setDocumentBase(java.net.URL document_base)
public void startDocument()
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qualName, org.xml.sax.Attributes attribs)
localName
- - The local name (without prefix),
or the empty string if Namespace processing is not being performed.qualName
- - The qualified name (with prefix),
or the empty string if qualified names are not available.public void characters(char[] charArray, int start, int length)
charArray
- - The characters.start
- - The start position in the character array.length
- - The number of characters to use from the character array.public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qualName)
localName
- - The local name (without prefix), or the empty string if
Namespace processing is not being performed.public void endDocument()
public java.lang.String getWallPicture()
public java.lang.String getWayPicture()
public java.lang.String getRobotPicture()
public java.lang.String getDiamondPicture()
public java.lang.String getStartPicture()
public int getNumLevels()
public java.lang.String getFile(int number)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |