org.anadix.html
Class MetaTag

java.lang.Object
  extended by org.anadix.html.HtmlElement
      extended by org.anadix.html.MetaTag
All Implemented Interfaces:
Comparable<HtmlElement>, Element

public class MetaTag
extends HtmlElement

Defines metadata about an HTML document

Version:
$Id: $
Author:
tomason

Method Summary
 String getContent()
          Gives the value associated with the http-equiv or name attribute
 String getDir()
          Specifies the text direction for the content in an element
 String getHttpEquiv()
          Provides an HTTP header for the information/value of the content attribute
 String getLang()
          Specifies a language code for the content in an element
 String getNameAttribute()
          Provides a name for the information in the content attribute
 String getScheme()
          Specifies a scheme to be used to interpret the value of the content attribute
 
Methods inherited from class org.anadix.html.HtmlElement
compareTo, equals, getAttribute, getAttributes, getId, getName, getParent, getPosition, getSource, getTextContent, hashCode, setPosition, setSource, setTextContent, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getLang

public String getLang()
Specifies a language code for the content in an element

Returns:
language code

getDir

public String getDir()
Specifies the text direction for the content in an element

Returns:
text direction

getHttpEquiv

public String getHttpEquiv()
Provides an HTTP header for the information/value of the content attribute

Returns:
HTTP header

getNameAttribute

public String getNameAttribute()
Provides a name for the information in the content attribute

Returns:
name for the information

getContent

public String getContent()
Gives the value associated with the http-equiv or name attribute

Returns:
value of meta information

getScheme

public String getScheme()
Specifies a scheme to be used to interpret the value of the content attribute

Returns:
scheme to interpret the value


Copyright © 2012. All Rights Reserved.