com.waveset.object
Class Form.Expansion

java.lang.Object
  extended bycom.waveset.object.Form.Expansion
Enclosing class:
Form

public static class Form.Expansion
extends java.lang.Object

A class used to represent a expansion for a field value constraint.


Field Summary
static java.lang.String ATT_NAME
           
static java.lang.String ATT_VALUE
           
static java.lang.String ELEMENT
           
 
Constructor Summary
Form.Expansion()
           
Form.Expansion(org.w3c.dom.Element e, ExEnvironment env)
           
 
Method Summary
 ExNode getExpression()
           
 java.lang.String getName()
           
 java.lang.Object getValue(FormState s)
          Returns the value of the expansion.
 void link(ExEnvironment env)
           
 void parseXml(org.w3c.dom.Element e, ExEnvironment env)
           
 void setName(java.lang.String s)
           
 void setValue(java.lang.String s)
           
 void toXml(java.lang.StringBuffer b, int indent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ELEMENT

public static final java.lang.String ELEMENT
See Also:
Constant Field Values

ATT_NAME

public static final java.lang.String ATT_NAME
See Also:
Constant Field Values

ATT_VALUE

public static final java.lang.String ATT_VALUE
See Also:
Constant Field Values
Constructor Detail

Form.Expansion

public Form.Expansion()

Form.Expansion

public Form.Expansion(org.w3c.dom.Element e,
                      ExEnvironment env)
               throws WavesetException
Method Detail

link

public void link(ExEnvironment env)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String s)

getExpression

public ExNode getExpression()

getValue

public java.lang.Object getValue(FormState s)
                          throws WavesetException
Returns the value of the expansion. If both a value and expansion are specified, who wins??

Throws:
WavesetException

setValue

public void setValue(java.lang.String s)

toXml

public void toXml(java.lang.StringBuffer b,
                  int indent)

parseXml

public void parseXml(org.w3c.dom.Element e,
                     ExEnvironment env)
              throws WavesetException
Throws:
WavesetException