2004.04.29


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

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

public class MaxLength
extends Attribute

MaxLength is used to create an HTML maximum length attribute that sets the maximum length as required by HTML tags implemented in classes like Input.

Version:
1.0
Author:
Jay Damon
See Also:
Input, 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
MaxLength()
          Constructs a MaxLength object.
 
Method Summary
 String create(int value)
          Create and return the maximum length 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

MaxLength

public MaxLength()
Constructs a MaxLength object.

Method Detail

create

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

Returns:
String Maximum length attribute.

2004.04.29



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