cz.cuni.jagrlib.xml
Class JGLScript.MemberState

java.lang.Object
  extended by cz.cuni.jagrlib.xml.JGLScript.ParseState
      extended by cz.cuni.jagrlib.xml.JGLScript.MemberState
Enclosing class:
JGLScript

protected class JGLScript.MemberState
extends JGLScript.ParseState

Fetches member variable from the given class/instance.


Field Summary
protected  java.lang.Class<?> cl
          Class object.
protected  java.lang.Object instance
          Object instance.
protected  java.lang.String name
          Member identifier.
 
Fields inherited from class cz.cuni.jagrlib.xml.JGLScript.ParseState
context, parent
 
Constructor Summary
protected JGLScript.MemberState()
           
 
Method Summary
 void endElement(java.lang.String qName)
          My element was finished.
 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 cz.cuni.jagrlib.xml.JGLScript.ParseState
characters, invokeMethod, newInstance, pop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cl

protected java.lang.Class<?> cl
Class object.


instance

protected java.lang.Object instance
Object instance.


name

protected java.lang.String name
Member identifier.

Constructor Detail

JGLScript.MemberState

protected JGLScript.MemberState()
Method Detail

startElement

public void startElement(java.lang.String qName,
                         org.xml.sax.Attributes atts)
A new XML element is starting in my context..

Overrides:
startElement in class JGLScript.ParseState

endElement

public void endElement(java.lang.String qName)
My element was finished.

Overrides:
endElement in class JGLScript.ParseState

setValue

public void setValue(int type,
                     java.lang.Object value)
Arbitrary value from one of descendants..

Overrides:
setValue in class JGLScript.ParseState

setText

public void setText(int type,
                    java.lang.String value)
Text from one of descendants..

Overrides:
setText in class JGLScript.ParseState