|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcox.jmatt.java.MathTools.markup.Tag
cox.jmatt.java.MathTools.markup.html.BaseHTag
cox.jmatt.java.MathTools.markup.html.DLTag
public class DLTag
This class provides the definition list tag and container for definition elements: <dl>, <dt> and <dd>. Although the term and definition
tags subclass SimpleDecorationTag
they are used here.
Terms and definitions are kept in the order in which they are given and may be intermixed. Since both DTTag
and DDTag
extend
SimpleDecorationTag
their text content can contain bold, italic, emphasized, etc. formatting.
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 | |
---|---|
DLTag()
Standard constructor for an empty definition list. |
Method Summary | |
---|---|
DLTag |
addDef(DDTag pTag)
Add an existing <dd> tag to the container, ignored if null, returns a self-reference for method chaining. |
DLTag |
addDef(java.lang.String pDefinition)
Add a definition to the container with defaults, self-reference, and disregarding of null or blank Strings. |
DLTag |
addTerm(DTTag pTag)
Add a pre-constructed <dt> to the list and return a self-reference. |
DLTag |
addTerm(java.lang.String pDefTerm)
Add a definition term directly to the container. |
DLTag |
copyOf()
Create a copy of this tag. |
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 |
---|
public DLTag()
Method Detail |
---|
public DLTag copyOf()
public DLTag addTerm(java.lang.String pDefTerm)
public DLTag addTerm(DTTag pTag)
public DLTag addDef(java.lang.String pDefinition)
public DLTag addDef(DDTag pTag)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |