2004.04.29


com.jdc.gui.html
Class SimpleTag

java.lang.Object
  |
  +--com.jdc.xml.Tag
        |
        +--com.jdc.gui.html.Tag
              |
              +--com.jdc.gui.html.SimpleTag
All Implemented Interfaces:
MarkupLanguage, Serializable
Direct Known Subclasses:
Break, HorizontalRule

public abstract class SimpleTag
extends Tag

The SimpleTag class represents an HTML or XHTML simple tag object. An HTML simple tag has the form: <tag>; An XHTML simple tag has the form: <tag />.

Version:
1.0
Author:
Jay Damon
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.jdc.xml.Tag
LEFT_BRACKET, RIGHT_BRACKET, SLASH, SPACE
 
Fields inherited from interface com.jdc.gui.html.MarkupLanguage
XHTML
 
Constructor Summary
protected SimpleTag()
          Constructs a new HTML SimpleTag object.
 
Method Summary
 String toString()
          Returns an HTML tag of the form: <tag> or XHTML tag of the form: <tag />.
 
Methods inherited from class com.jdc.gui.html.Tag
addAttribute, create, getAttributes, getIdentifier, tag
 
Methods inherited from class com.jdc.xml.Tag
addAttribute, create, getAttribute, setIdentifier, tag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleTag

protected SimpleTag()
Constructs a new HTML SimpleTag object.

Method Detail

toString

public String toString()
Returns an HTML tag of the form: <tag> or XHTML tag of the form: <tag />.

Overrides:
toString in class Tag
Returns:
An HTML or XHTML tag String.

2004.04.29



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