|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.jagrlib.xml.JGLScript.ParseState
cz.cuni.jagrlib.xml.JGLScript.ObjectState
protected class JGLScript.ObjectState
Defines a new object instance.
Field Summary | |
---|---|
java.lang.Class<?> |
cl
Class object, if null , no class-name has been defined yet. |
java.lang.String |
id
Object id (unique in the whole script, can be null for anonymous object). |
java.lang.Object |
instance
[Result] object instance. |
Fields inherited from class cz.cuni.jagrlib.xml.JGLScript.ParseState |
---|
context, parent |
Constructor Summary | |
---|---|
JGLScript.ObjectState(org.xml.sax.Attributes atts)
|
Method Summary | |
---|---|
void |
endElement(java.lang.String qName)
My element was finished. |
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 |
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 cz.cuni.jagrlib.xml.JGLScript.ParseState |
---|
characters, pop, setText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String id
null
for anonymous object).
public java.lang.Class<?> cl
null
, no class-name has been defined yet.
public java.lang.Object instance
Constructor Detail |
---|
public JGLScript.ObjectState(org.xml.sax.Attributes atts)
Method Detail |
---|
public void newInstance(java.lang.Object[] args)
newInstance
in class JGLScript.ParseState
public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object[] args)
invokeMethod
in class JGLScript.ParseState
public void startElement(java.lang.String qName, org.xml.sax.Attributes atts)
startElement
in class JGLScript.ParseState
public void endElement(java.lang.String qName)
endElement
in class JGLScript.ParseState
public void setValue(int type, java.lang.Object value)
setValue
in class JGLScript.ParseState
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |