org.htmlparser.tags
Class MetaTag
- Cloneable, Node, Serializable, Tag
A Meta Tag
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 |
MetaTag
public MetaTag()
Create a new meta tag.
getHttpEquiv
public String getHttpEquiv()
Get the HTTP-EQUIV
attribute, if any.
- The value of the
HTTP-EQUIV
attribute,
or null
if the attribute doesn't exist.
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.
getMetaContent
public String getMetaContent()
Get the CONTENT
attribute, if any.
- The value of the
CONTENT
attribute,
or null
if the attribute doesn't exist.
getMetaTagName
public String getMetaTagName()
Get the NAME
attribute, if any.
- The value of the
NAME
attribute,
or null
if the attribute doesn't exist.
setHttpEquiv
public void setHttpEquiv(String httpEquiv)
Set the HTTP-EQUIV
attribute.
httpEquiv
- The new value of the HTTP-EQUIV
attribute.
setMetaTagContents
public void setMetaTagContents(String metaTagContents)
Set the CONTENT
attribute.
metaTagContents
- The new value of the CONTENT
attribute.
setMetaTagName
public void setMetaTagName(String metaTagName)
Set the NAME
attribute.
metaTagName
- The new value of the NAME
attribute.
| © 2005 Derrick Oswald Mai 08, 2008 |
HTML Parser is an open source library released under LGPL. |  |