构造器和说明 |
---|
BaseHrefTag()
Create a new base tag.
|
限定符和类型 | 方法和说明 |
---|---|
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, getAttributesEx, getEnders, getEndingLineNumber, getEndTag, getEndTagEnders, 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
clone, collectInto, getChildren, getEndPosition, getFirstChild, getLastChild, getNextSibling, getPage, getParent, getPreviousSibling, getStartPosition, setChildren, setEndPosition, setPage, setParent, setStartPosition, toHtml
clone, collectInto, getChildren, getEndPosition, getFirstChild, getLastChild, getNextSibling, getPage, getParent, getPreviousSibling, getStartPosition, setChildren, setEndPosition, setPage, setParent, setStartPosition, toHtml
public 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
在接口中 Node
doSemanticAction
在类中 AbstractNode
ParserException
- If setting the base URL fails.