cz.cuni.jagrlib.xml
Class JGLScript.ArrayState

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.ArrayState
Enclosing class:
JGLScript

protected class JGLScript.ArrayState
extends JGLScript.SequenceState

Defines general array object. Can be nested.


Field Summary
 java.lang.Class<?> cl
          Array element type, if null, no class-name has been defined yet.
 java.lang.String id
          Object id (unique in the whole script).
protected  java.lang.Object result
          The whole array object (used in the <data> variant).
 
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.ArrayState(org.xml.sax.Attributes atts)
           
 
Method Summary
 void endElement(java.lang.String qName)
          My element was finished.
 void setValue(int type, java.lang.Object value)
          Arbitrary value 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.ParseState
characters, invokeMethod, newInstance, pop, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public java.lang.String id
Object id (unique in the whole script).


cl

public java.lang.Class<?> cl
Array element type, if null, no class-name has been defined yet.


result

protected java.lang.Object result
The whole array object (used in the <data> variant).

Constructor Detail

JGLScript.ArrayState

public JGLScript.ArrayState(org.xml.sax.Attributes atts)
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

setValue

public void setValue(int type,
                     java.lang.Object value)
Arbitrary value from one of descendants..

Overrides:
setValue in class JGLScript.SequenceState