com.waveset.object
Class AttrParse.OptionalToken

java.lang.Object
  extended bycom.waveset.object.AttrParse.AToken
      extended bycom.waveset.object.AttrParse.OptionalToken
Enclosing class:
AttrParse

protected class AttrParse.OptionalToken
extends AttrParse.AToken

This is kind of a hack right now. It needs to be generalized better. It assumes that the set of tokens within it are ordered, but some are optional.


Constructor Summary
AttrParse.OptionalToken()
           
AttrParse.OptionalToken(org.w3c.dom.Element e)
           
 
Method Summary
 void parse(ParseStringCharacterIterator cIter, java.util.Map map)
           
 void parseXml(org.w3c.dom.Element e)
           
 void toXml(java.lang.StringBuffer b, int indent)
           
 
Methods inherited from class com.waveset.object.AttrParse.AToken
toXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttrParse.OptionalToken

public AttrParse.OptionalToken()

AttrParse.OptionalToken

public AttrParse.OptionalToken(org.w3c.dom.Element e)
                        throws WavesetException
Method Detail

parseXml

public void parseXml(org.w3c.dom.Element e)
              throws WavesetException
Specified by:
parseXml in class AttrParse.AToken
Throws:
WavesetException

toXml

public void toXml(java.lang.StringBuffer b,
                  int indent)
Specified by:
toXml in class AttrParse.AToken

parse

public void parse(ParseStringCharacterIterator cIter,
                  java.util.Map map)
           throws WavesetException
Specified by:
parse in class AttrParse.AToken
Throws:
WavesetException