cz.cuni.jagrlib.xml
Class JGLScript.MethodState

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.MethodState
Direct Known Subclasses:
JGLScript.FunctionState
Enclosing class:
JGLScript

protected class JGLScript.MethodState
extends JGLScript.SequenceState

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


Field Summary
protected  java.lang.String name
          Method's identifier.
 
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
protected JGLScript.MethodState()
           
 
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

name

protected java.lang.String name
Method's identifier.

Constructor Detail

JGLScript.MethodState

protected JGLScript.MethodState()
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