org.htmlparser.tags
public class MetaTag extends TagNode
| Constructor Summary | |
|---|---|
| MetaTag()
Create a new meta tag. | |
| Method Summary | |
|---|---|
| void | doSemanticAction()
Perform the META tag semantic action.
|
| String | getHttpEquiv()
Get the HTTP-EQUIV attribute, if any. |
| String[] | getIds()
Return the set of names handled by this tag. |
| String | getMetaContent()
Get the CONTENT attribute, if any. |
| String | getMetaTagName()
Get the NAME attribute, if any. |
| void | setHttpEquiv(String httpEquiv)
Set the HTTP-EQUIV attribute. |
| void | setMetaTagContents(String metaTagContents)
Set the CONTENT attribute. |
| void | setMetaTagName(String metaTagName)
Set the NAME attribute. |
Throws: ParserException If setting the encoding fails.
HTTP-EQUIV attribute, if any.Returns: The value of the HTTP-EQUIV attribute,
or null if the attribute doesn't exist.
Returns: The names to be matched that create tags of this type.
CONTENT attribute, if any.Returns: The value of the CONTENT attribute,
or null if the attribute doesn't exist.
NAME attribute, if any.Returns: The value of the NAME attribute,
or null if the attribute doesn't exist.
HTTP-EQUIV attribute.Parameters: httpEquiv The new value of the HTTP-EQUIV attribute.
CONTENT attribute.Parameters: metaTagContents The new value of the CONTENT attribute.
NAME attribute.Parameters: metaTagName The new value of the NAME attribute.
| HTML Parser is an open source library released under LGPL. | |