cox.jmatt.java.MathTools.markup.html
Class SimpleDecorationTag
java.lang.Object
cox.jmatt.java.MathTools.markup.Tag
cox.jmatt.java.MathTools.markup.html.BaseHTag
cox.jmatt.java.MathTools.markup.html.ContainerTag
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.
Fields inherited from class cox.jmatt.java.MathTools.markup.Tag |
myTagName |
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 |
SimpleDecorationTag
protected SimpleDecorationTag(BaseHTag.TagKeys pKey)
- Constructor for subclassing.
SimpleDecorationTag
protected SimpleDecorationTag(BaseHTag.TagKeys pKey,
java.lang.String pContent)
- Constructor that includes content.
add
public void add(SimpleDecorationTag pTag)
- Add a decoration tag instance. Item tags will not be added.