|
|||||||||
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.ContainerTag
cox.jmatt.java.MathTools.markup.html.SimpleDecorationTag
cox.jmatt.java.MathTools.markup.html.AnchorTag
public class AnchorTag
This class provides the anchor ('<a>') tag. The 'href=' attribute is mandatory so this class cannot be constructed without a valid value for it. For this reason there is a static construction method and no public constructor.
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 |
Method Summary | |
---|---|
AnchorTag |
copyOf()
Copy the current tag. |
static AnchorTag |
newInstance(java.lang.String pHREF,
java.lang.String pContent)
Use this method to obtain tag instances. |
void |
reset()
Overridden to preserve the 'href=' attribute. |
Methods inherited from class cox.jmatt.java.MathTools.markup.html.SimpleDecorationTag |
---|
add |
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, setID, toString, validString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static final AnchorTag newInstance(java.lang.String pHREF, java.lang.String pContent)
pHREF
- The value of the 'href=' attribute. Must not be null or blank.pContent
- The (text) content of the tag. Ignored if null or blank.public AnchorTag copyOf()
public void reset()
reset
in class Tag
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |