cz.cuni.jagrlib.xml
Class JGLScript.TextParseState
java.lang.Object
cz.cuni.jagrlib.xml.JGLScript.ParseState
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). |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
protected final int type
- Node type (defined at constructing time by the parent node).
sb
protected java.lang.StringBuffer sb
- Accumulated text.
JGLScript.TextParseState
public JGLScript.TextParseState(int type)
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