2004.04.29


com.jdc.gui.html.tag.attr
Class Value

java.lang.Object
  |
  +--com.jdc.xml.tag.Attribute
        |
        +--com.jdc.gui.html.tag.Attribute
              |
              +--com.jdc.gui.html.tag.attr.Value
All Implemented Interfaces:
MarkupLanguage, Serializable

public class Value
extends Attribute

Value is used to create an HTML value attribute that sets an integer or String value as required by HTML tags implemented in classes like Input and Option.

Version:
1.0
Author:
Jay Damon
See Also:
Input, Option, Serialized Form

Field Summary
 
Fields inherited from class com.jdc.gui.html.tag.Attribute
SINGLE_QUOTE
 
Fields inherited from class com.jdc.xml.tag.Attribute
DOUBLE_QUOTE, EQUALS
 
Fields inherited from interface com.jdc.gui.html.MarkupLanguage
XHTML
 
Constructor Summary
Value()
          Constructs a Value object.
Value(boolean bUseSingleQuote)
          Constructs a Value object.
 
Method Summary
 String create(int value)
          Create and return the value name/value attribute.
 String create(String value)
          Create and return the value name/value attribute.
 
Methods inherited from class com.jdc.gui.html.tag.Attribute
create, create, getName, getQuoteCharacter, getQuotedValue, getValue
 
Methods inherited from class com.jdc.xml.tag.Attribute
create, create, create, create, create, getQualifier, setName, setQualifier, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Value

public Value()
Constructs a Value object.


Value

public Value(boolean bUseSingleQuote)
Constructs a Value object.

Method Detail

create

public String create(int value)
Create and return the value name/value attribute.

Returns:
String Value attribute.

create

public String create(String value)
Create and return the value name/value attribute.

Returns:
String Value attribute.

2004.04.29



Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.