|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.cuni.jagrlib.xml.JGLScript.ParseState
protected abstract class JGLScript.ParseState
Generic state object.
| Field Summary | |
|---|---|
java.lang.String |
context
Context identification (for debugging & error messages only, may be null). |
protected JGLScript.ParseState |
parent
Pointer to ancestor (FIFO). |
| Constructor Summary | |
|---|---|
JGLScript.ParseState()
Pushes new parsing state on the stack. |
|
| Method Summary | |
|---|---|
void |
endElement(java.lang.String qName)
My element was finished. |
void |
characters(char[] ch,
int start,
int length)
Swallows internal characters. |
java.lang.Object |
invokeMethod(java.lang.String name,
java.lang.Object[] args)
Invokes the given method of the class instance. |
void |
newInstance(java.lang.Object[] args)
Checks whether the class instance was already created, if not, creates it using the given constructor. |
void |
pop()
Pops this state from the stack. |
void |
setText(int type,
java.lang.String value)
Text from one of descendants.. |
void |
setValue(int type,
java.lang.Object value)
Arbitrary value from one of descendants.. |
void |
startElement(java.lang.String qName,
org.xml.sax.Attributes atts)
A new XML element is starting in my context.. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String context
null).
protected JGLScript.ParseState parent
| Constructor Detail |
|---|
public JGLScript.ParseState()
| Method Detail |
|---|
public void characters(char[] ch,
int start,
int length)
public void startElement(java.lang.String qName,
org.xml.sax.Attributes atts)
public void endElement(java.lang.String qName)
public void setText(int type,
java.lang.String value)
public void setValue(int type,
java.lang.Object value)
public void newInstance(java.lang.Object[] args)
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.Object[] args)
public void pop()
throws org.xml.sax.SAXException
org.xml.sax.SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||