xmlutil
Class XMLUtil.InProgress

java.lang.Object
  extended byxmlutil.XMLUtil.InProgress
Enclosing class:
XMLUtil

protected class XMLUtil.InProgress
extends java.lang.Object


Field Summary
static int HASH
           
static int HASHITEM
           
static int HASHITEMKEY
           
static int HASHITEMVAL
           
static int LONG
           
 java.lang.String mCustom
          Custom filter specified, if any
 java.lang.String mID
          ID attribute specified, if any
 java.lang.Object mObj
          object being constructed
 int mType
          type of object being constructed, one of the constants below.
static int REFERENCE
           
static int STRING
           
static int TOP
           
static int VECT
           
 
Constructor Summary
XMLUtil.InProgress(java.lang.String val)
           
XMLUtil.InProgress(java.lang.String id, java.lang.String custom, int type)
           
XMLUtil.InProgress(XMLUtil u)
           
 
Method Summary
 void characters(char[] ch, int start, int length)
          If this is a type of object that cares about char data, then it processes it.
 void filter(XMLUtil xu)
           
 java.lang.Object getKey()
          If this is HASHITEM, returns the key
 java.lang.Object getVal()
          If this is HASHITEM, returns the value
 void receive(XMLUtil.InProgress obj)
          when a object constructor finishes, its parent's "receive" method is called
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mID

public java.lang.String mID
ID attribute specified, if any


mCustom

public java.lang.String mCustom
Custom filter specified, if any


mObj

public java.lang.Object mObj
object being constructed


mType

public int mType
type of object being constructed, one of the constants below. could use instanceof but this is simpler


TOP

public static final int TOP
See Also:
Constant Field Values

HASH

public static final int HASH
See Also:
Constant Field Values

HASHITEM

public static final int HASHITEM
See Also:
Constant Field Values

HASHITEMKEY

public static final int HASHITEMKEY
See Also:
Constant Field Values

HASHITEMVAL

public static final int HASHITEMVAL
See Also:
Constant Field Values

VECT

public static final int VECT
See Also:
Constant Field Values

STRING

public static final int STRING
See Also:
Constant Field Values

LONG

public static final int LONG
See Also:
Constant Field Values

REFERENCE

public static final int REFERENCE
See Also:
Constant Field Values
Constructor Detail

XMLUtil.InProgress

public XMLUtil.InProgress(java.lang.String val)

XMLUtil.InProgress

public XMLUtil.InProgress(XMLUtil u)

XMLUtil.InProgress

public XMLUtil.InProgress(java.lang.String id,
                          java.lang.String custom,
                          int type)
                   throws XMLUtilException
Method Detail

filter

public void filter(XMLUtil xu)
            throws XMLUtilException
Throws:
XMLUtilException

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws XMLUtilException
If this is a type of object that cares about char data, then it processes it. Otherwise, the char data is ignored unless it is not white space, in which case an exception is thrown.

Throws:
XMLUtilException

receive

public void receive(XMLUtil.InProgress obj)
             throws XMLUtilException
when a object constructor finishes, its parent's "receive" method is called

Throws:
XMLUtilException

getKey

public java.lang.Object getKey()
                        throws XMLUtilException
If this is HASHITEM, returns the key

Throws:
XMLUtilException

getVal

public java.lang.Object getVal()
                        throws XMLUtilException
If this is HASHITEM, returns the value

Throws:
XMLUtilException