public class BaseHrefTag extends TagNode
breakTags, mAttributes, mDefaultScanner| Constructor and Description |
|---|
BaseHrefTag()
Create a new base tag.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doSemanticAction()
Perform the meaning of this tag.
|
java.lang.String |
getBaseUrl()
Get the value of the
HREF attribute, if any. |
java.lang.String[] |
getIds()
Return the set of names handled by this tag.
|
void |
setBaseUrl(java.lang.String base)
Set the value of the
HREF attribute. |
accept, breaksFlow, getAttribute, getAttributeEx, getAttributes, getAttributesEx, getEnders, getEndingLineNumber, getEndTag, getEndTagEnders, getParsed, getRawTagName, getStartingLineNumber, getTagBegin, getTagEnd, getTagName, getText, getThisScanner, isEmptyXmlTag, isEndTag, removeAttribute, setAttribute, setAttribute, setAttribute, setAttributeEx, setAttributes, setAttributesEx, setEmptyXmlTag, setEndTag, setTagBegin, setTagEnd, setTagName, setText, setThisScanner, toHtml, toPlainTextString, toStringclone, collectInto, getChildren, getEndPosition, getPage, getParent, getStartPosition, setChildren, setEndPosition, setPage, setParent, setStartPositionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclone, collectInto, getChildren, getEndPosition, getPage, getParent, getStartPosition, setChildren, setEndPosition, setPage, setParent, setStartPositionpublic java.lang.String[] getIds()
public java.lang.String getBaseUrl()
HREF attribute, if any.HREF value, with the leading and trailing whitespace removed, if any.public void setBaseUrl(java.lang.String base)
HREF attribute.base - The new HREF value.public void doSemanticAction()
throws ParserException
doSemanticAction in interface NodedoSemanticAction in class AbstractNodeParserException - If setting the base URL fails.HTML Parser is an open source library released under LGPL.