Java Platform 1.2
Beta 4

Class com.sun.java.swing.text.html.HTML

java.lang.Object
  |
  +--com.sun.java.swing.text.html.HTML

public class HTML
extends Object
Constants used in the HTMLDocument. These are basically tag and attribute definitions.


Inner Class Summary
static  HTML.Attribute
          Typesafe enumeration representing an html attribute.
static  HTML.Tag
          Typesafe enumeration for an html tag.
static  HTML.UnknownTag
           
 
Field Summary
static String NULL_ATTRIBUTE_VALUE
           
 
Constructor Summary
HTML()
           
 
Method Summary
static HTML.Attribute getAttributeKey(String attName)
          Fetch an attribute constant for a well-known attribute name (i.e. one of the attributes in the set allAttributes).
static HTML.Tag getTag(String tagName)
          Fetch a tag constant for a well-known tag name (i.e. one of the tags in the set allTags).
 
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

Field Detail

NULL_ATTRIBUTE_VALUE

public static final String NULL_ATTRIBUTE_VALUE
Constructor Detail

HTML

public HTML()
Method Detail

getTag

public static HTML.Tag getTag(String tagName)
Fetch a tag constant for a well-known tag name (i.e. one of the tags in the set allTags). If the given name does not represent one of the well-known tags, then null will be returned.

getAttributeKey

public static HTML.Attribute getAttributeKey(String attName)
Fetch an attribute constant for a well-known attribute name (i.e. one of the attributes in the set allAttributes). If the given name does not represent one of the well-known attributes, then null will be returned.

Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.