cz.cuni.jagrlib.xml
Class JGLScript.ArgParseState

java.lang.Object
  extended by cz.cuni.jagrlib.xml.JGLScript.ParseState
      extended by cz.cuni.jagrlib.xml.JGLScript.ArgParseState
Direct Known Subclasses:
JGLScript.DefState
Enclosing class:
JGLScript

protected class JGLScript.ArgParseState
extends JGLScript.ParseState

Reads direct argument: atomic type, 1D array..


Field Summary
protected  java.lang.StringBuffer sb
          Accumulated text.
protected  int type
          Node type (defined at constructing time by the parent node).
protected  java.lang.String typeAttr
          Argument type defined by tag attribute.
 
Fields inherited from class cz.cuni.jagrlib.xml.JGLScript.ParseState
context, parent
 
Constructor Summary
JGLScript.ArgParseState(int type, org.xml.sax.Attributes attr)
           
 
Method Summary
 void endElement(java.lang.String qName)
          My element was finished.
protected  void finish(java.lang.Object obj)
          Finishes element processing (overridable method).
 void characters(char[] ch, int start, int length)
          Swallows internal characters.
 
Methods inherited from class cz.cuni.jagrlib.xml.JGLScript.ParseState
invokeMethod, newInstance, pop, setText, setValue, startElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected final int type
Node type (defined at constructing time by the parent node).


typeAttr

protected java.lang.String typeAttr
Argument type defined by tag attribute.


sb

protected java.lang.StringBuffer sb
Accumulated text.

Constructor Detail

JGLScript.ArgParseState

public JGLScript.ArgParseState(int type,
                               org.xml.sax.Attributes attr)
Method Detail

finish

protected void finish(java.lang.Object obj)
Finishes element processing (overridable method).


characters

public void characters(char[] ch,
                       int start,
                       int length)
Swallows internal characters.

Overrides:
characters in class JGLScript.ParseState

endElement

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

Overrides:
endElement in class JGLScript.ParseState