public class MetaTag extends TagNode
children, mPage, nodeBegin, nodeEnd, parent
breakTags, mAttributes, mDefaultScanner
Constructor | Description |
---|---|
MetaTag() |
Create a new meta tag.
|
Modifier and Type | Method | Description |
---|---|---|
void |
doSemanticAction() |
Perform the META tag semantic action.
|
java.lang.String |
getHttpEquiv() |
Get the
HTTP-EQUIV attribute, if any. |
java.lang.String[] |
getIds() |
Return the set of names handled by this tag.
|
java.lang.String |
getMetaContent() |
Get the
CONTENT attribute, if any. |
java.lang.String |
getMetaTagName() |
Get the
NAME attribute, if any. |
void |
setHttpEquiv(java.lang.String httpEquiv) |
Set the
HTTP-EQUIV attribute. |
void |
setMetaTagContents(java.lang.String metaTagContents) |
Set the
CONTENT attribute. |
void |
setMetaTagName(java.lang.String metaTagName) |
Set the
NAME attribute. |
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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
public java.lang.String[] getIds()
public java.lang.String getHttpEquiv()
HTTP-EQUIV
attribute, if any.HTTP-EQUIV
attribute,
or null
if the attribute doesn't exist.public java.lang.String getMetaContent()
CONTENT
attribute, if any.CONTENT
attribute,
or null
if the attribute doesn't exist.public java.lang.String getMetaTagName()
NAME
attribute, if any.NAME
attribute,
or null
if the attribute doesn't exist.public void setHttpEquiv(java.lang.String httpEquiv)
HTTP-EQUIV
attribute.httpEquiv
- The new value of the HTTP-EQUIV
attribute.public void setMetaTagContents(java.lang.String metaTagContents)
CONTENT
attribute.metaTagContents
- The new value of the CONTENT
attribute.public void setMetaTagName(java.lang.String metaTagName)
NAME
attribute.metaTagName
- The new value of the NAME
attribute.public void doSemanticAction() throws ParserException
doSemanticAction
in interface Node
doSemanticAction
in class AbstractNode
ParserException
- If setting the encoding fails.HTML Parser is an open source library released under LGPL.