cox.jmatt.java.MathTools.markup.html
Class SimpleDecorationTag

java.lang.Object
  extended by cox.jmatt.java.MathTools.markup.Tag
      extended by cox.jmatt.java.MathTools.markup.html.BaseHTag
          extended by cox.jmatt.java.MathTools.markup.html.ContainerTag
              extended by cox.jmatt.java.MathTools.markup.html.SimpleDecorationTag
Direct Known Subclasses:
AnchorTag, BQTag, BTag, DDTag, DTTag, EMTag, HnTag, HRTag, ITag, LITag, SpanTag, TDTag, UTag

public abstract class SimpleDecorationTag
extends ContainerTag

This abstract class provides tags used for simple text decoration plus several others that are similarly straightforward. These classes are provided to allow these tags to benefit from default attributes and settings. In addition to the obvious tag types ('<b>' et. al.) this class is also used for item tags.

Item tags are tags that appear as 'items' within other specialized containers: <li>, <dd> and similar tags. They may contain text decoration tags but not instances of each other, therefor they are excluded from the _addTag() method. (One use of the isInBody() method.) The specific container tags have methods to add their own tags.


Nested Class Summary
 
Nested classes/interfaces inherited from class cox.jmatt.java.MathTools.markup.html.BaseHTag
BaseHTag.TagKeys
 
Field Summary
 
Fields inherited from class cox.jmatt.java.MathTools.markup.Tag
myTagName
 
Constructor Summary
protected SimpleDecorationTag(BaseHTag.TagKeys pKey)
          Constructor for subclassing.
protected SimpleDecorationTag(BaseHTag.TagKeys pKey, java.lang.String pContent)
          Constructor that includes content.
 
Method Summary
 void add(SimpleDecorationTag pTag)
          Add a decoration tag instance.
 
Methods inherited from class cox.jmatt.java.MathTools.markup.html.ContainerTag
addAnchor, addBold, addBQ, addBreak, addEM, addHeading, addHR, addImage, addItalic, addUnderline
 
Methods inherited from class cox.jmatt.java.MathTools.markup.html.BaseHTag
_addTag, _content, _enableCopy, _setContent, addCDATA, addContent, getID, getRawContent, getTagKey, getTagName, isInBody, setClicked, setCSS, setName, setStyle
 
Methods inherited from class cox.jmatt.java.MathTools.markup.Tag
_addAttribute, _addAttributes, _addNAttribute, _asBoolean, _asDouble, _asInt, _attributes, _clampNAttribute, _clampNAttribute, _fixKey, _setEnableXMLTag, badPizza, closeTag, configureTag, configureTagFromGlobalPizza, makeTag, openTag, reset, setID, toString, validString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleDecorationTag

protected SimpleDecorationTag(BaseHTag.TagKeys pKey)
Constructor for subclassing.


SimpleDecorationTag

protected SimpleDecorationTag(BaseHTag.TagKeys pKey,
                              java.lang.String pContent)
Constructor that includes content.

Method Detail

add

public void add(SimpleDecorationTag pTag)
Add a decoration tag instance. Item tags will not be added.