jgb.handlers.swing
Class ValueTagHandler

java.lang.Object
  |
  +--jgb.handlers.swing.AbstractTagHandler
        |
        +--jgb.handlers.swing.AbstractValueTagHandler
              |
              +--jgb.handlers.swing.ValueTagHandler
All Implemented Interfaces:
TagHandler

public class ValueTagHandler
extends AbstractValueTagHandler

Since:
0.1a
Author:
Francois Beausoleil, fbos@users.sourceforge.net

Field Summary
protected static String ATTR_DATA
          The name of the data attribute.
protected static String ATTR_TYPE
          The name of the type attribute.
protected static String BOOLEAN_VALUE
          The value of type which instantiates a boolean value.
protected static String BYTE_VALUE
          The value of type which instantiates a byte value.
protected static String CHAR_VALUE
          The value of type which instantiates a char value.
protected static String DOUBLE_VALUE
          The value of type which instantiates a double value.
protected static String FLOAT_VALUE
          The value of type which instantiates a float value.
protected static String INT_VALUE
          The value of type which instantiates an int value.
protected static String LONG_VALUE
          The value of type which instantiates a long value.
protected static String SHORT_VALUE
          The value of type which instantiates a short value.
protected static String STRING_VALUE
          The value of type which instantiates a String object.
 
Fields inherited from class jgb.handlers.swing.AbstractTagHandler
ATTR_CLASS, ATTR_ID, ATTR_REFID, tagContext, tagName
 
Fields inherited from interface jgb.builder.TagHandler
CALL_RETURN_CLASS_KEY, CALL_RETURN_VALUE_KEY, CONSTANTS_MAP_KEY, CONTROLS_STACK_KEY, CURRENT_CONSTRAINTS_KEY, CURRENT_MODEL_ADAPTER, CURRENT_MODEL_ATTRIBUTE, CURRENT_OBJECT_ID_KEY, CURRENT_OBJECT_KEY, CURRENT_OBJECTS_STACK_KEY, CURRENT_PARM_ACC_KEY, CURRENT_WINDOW_ID_KEY, CURRENT_WINDOW_KEY, DOCUMENT_LOCATOR_KEY, MODEL_ID, OBJECTS_MAP_KEY, PARAMETER_CLASS_KEY, PARAMETER_VALUE_KEY, PROPERTY_NAME_KEY, TAG_HANDLER_FACTORY_STACK_KEY, WINDOW_CONTEXT_KEY, WINDOW_KEY
 
Constructor Summary
ValueTagHandler()
           
 
Method Summary
 void enterElement(Map atts)
          Actually handle the element's behaviour when the element's start is encountered.
protected  void exitElement()
          Actually handle the element's behaviour when the element's closure is encountered.
 
Methods inherited from class jgb.handlers.swing.AbstractValueTagHandler
updateContextParameters
 
Methods inherited from class jgb.handlers.swing.AbstractTagHandler
endElement, getCurrentObject, getCurrentObjectId, getObject, isCurrentObjectValid, popCurrentObject, pushCurrentObject, pushCurrentObject, putComponent, putObject, startElement, throwParsingException, throwParsingException, throwParsingException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTR_DATA

protected static final String ATTR_DATA
The name of the data attribute.

See Also:
Constant Field Values

ATTR_TYPE

protected static final String ATTR_TYPE
The name of the type attribute.

See Also:
Constant Field Values

BOOLEAN_VALUE

protected static final String BOOLEAN_VALUE
The value of type which instantiates a boolean value.

See Also:
Constant Field Values

BYTE_VALUE

protected static final String BYTE_VALUE
The value of type which instantiates a byte value.

See Also:
Constant Field Values

SHORT_VALUE

protected static final String SHORT_VALUE
The value of type which instantiates a short value.

See Also:
Constant Field Values

INT_VALUE

protected static final String INT_VALUE
The value of type which instantiates an int value.

See Also:
Constant Field Values

LONG_VALUE

protected static final String LONG_VALUE
The value of type which instantiates a long value.

See Also:
Constant Field Values

FLOAT_VALUE

protected static final String FLOAT_VALUE
The value of type which instantiates a float value.

See Also:
Constant Field Values

DOUBLE_VALUE

protected static final String DOUBLE_VALUE
The value of type which instantiates a double value.

See Also:
Constant Field Values

CHAR_VALUE

protected static final String CHAR_VALUE
The value of type which instantiates a char value.

See Also:
Constant Field Values

STRING_VALUE

protected static final String STRING_VALUE
The value of type which instantiates a String object.

See Also:
Constant Field Values
Constructor Detail

ValueTagHandler

public ValueTagHandler()
Method Detail

enterElement

public void enterElement(Map atts)
                  throws org.xml.sax.SAXException
Description copied from class: AbstractTagHandler
Actually handle the element's behaviour when the element's start is encountered.

Specified by:
enterElement in class AbstractTagHandler
org.xml.sax.SAXException

exitElement

protected void exitElement()
                    throws org.xml.sax.SAXException
Description copied from class: AbstractTagHandler
Actually handle the element's behaviour when the element's closure is encountered.

Specified by:
exitElement in class AbstractTagHandler
org.xml.sax.SAXException


Copyright 2002-2003, François Beausoleil, All Rights Reserved