cz.cuni.jagrlib.xml
Class JGLScript.SetState

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

protected class JGLScript.SetState
extends JGLScript.SequenceState

Invokes the set() method of the ancestor object. Uses common parameter-parsing scheme from JGLScript.ConstructorState.


Field Summary
protected  java.lang.String key
          Key string.
 
Fields inherited from class cz.cuni.jagrlib.xml.JGLScript.SequenceState
list
 
Fields inherited from class cz.cuni.jagrlib.xml.JGLScript.ParseState
context, parent
 
Constructor Summary
JGLScript.SetState(org.xml.sax.Attributes atts)
          Force ancestor to create object instance.
 
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 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.SequenceState
setValue
 
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

key

protected java.lang.String key
Key string.

Constructor Detail

JGLScript.SetState

public JGLScript.SetState(org.xml.sax.Attributes atts)
Force ancestor to create object instance.

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.SequenceState

endElement

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

Overrides:
endElement 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