cz.cuni.jagrlib.xml
Class JGLScript.TextParseState

java.lang.Object
  extended by cz.cuni.jagrlib.xml.JGLScript.ParseState
      extended by cz.cuni.jagrlib.xml.JGLScript.TextParseState
Direct Known Subclasses:
JGLScript.ClassState, JGLScript.RefState
Enclosing class:
JGLScript

protected class JGLScript.TextParseState
extends JGLScript.ParseState

General text-parsing state, accumulates text into StringBuffer.


Field Summary
protected  java.lang.StringBuffer sb
          Accumulated text.
protected  int type
          Node type (defined at constructing time by the parent node).
 
Fields inherited from class cz.cuni.jagrlib.xml.JGLScript.ParseState
context, parent
 
Constructor Summary
JGLScript.TextParseState(int type)
           
 
Method Summary
 void endElement(java.lang.String qName)
          My element was finished.
 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).


sb

protected java.lang.StringBuffer sb
Accumulated text.

Constructor Detail

JGLScript.TextParseState

public JGLScript.TextParseState(int type)
Method Detail

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