org.htmlparser.tags
Class BaseHrefTag
- Cloneable, Node, Serializable, Tag
BaseHrefTag represents an <Base> tag.
It extends a basic tag by providing an accessor to the HREF attribute.
void | doSemanticAction()- Perform the meaning of this tag.
|
String | getBaseUrl()- Get the value of the
HREF attribute, if any.
|
String[] | getIds()- Return the set of names handled by this tag.
|
void | setBaseUrl(String base)- Set the value of the
HREF attribute.
|
accept, breaksFlow, getAttribute, getAttributeEx, getAttributesEx, getEndTag, getEndTagEnders, getEnders, getEndingLineNumber, getIds, getRawTagName, getStartingLineNumber, getTagBegin, getTagEnd, getTagName, getText, getThisScanner, isEmptyXmlTag, isEndTag, removeAttribute, setAttribute, setAttribute, setAttribute, setAttributeEx, setAttributesEx, setEmptyXmlTag, setEndTag, setTagBegin, setTagEnd, setTagName, setText, setThisScanner, toHtml, toPlainTextString, toString |
accept, clone, collectInto, doSemanticAction, getChildren, getEndPosition, getFirstChild, getLastChild, getNextSibling, getPage, getParent, getPreviousSibling, getStartPosition, getText, setChildren, setEndPosition, setPage, setParent, setStartPosition, setText, toHtml, toHtml, toPlainTextString, toString |
BaseHrefTag
public BaseHrefTag()
Create a new base tag.
getBaseUrl
public String getBaseUrl()
Get the value of the HREF attribute, if any.
- The
HREF value, with the leading and trailing whitespace removed, if any.
getIds
public String[] getIds()
Return the set of names handled by this tag.
- getIds in interface Tag
- getIds in interface TagNode
- The names to be matched that create tags of this type.
setBaseUrl
public void setBaseUrl(String base)
Set the value of the HREF attribute.
base - The new HREF value.
| © 2005 Derrick Oswald Mai 08, 2008 |
| HTML Parser is an open source library released under LGPL. |  |