org.anadix.html
Class HeadTag

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

public class HeadTag
extends HtmlElement

Defines information about the document

Version:
$Id: $
Author:
tomason

Method Summary
 String getDir()
          Specifies the text direction for the content in an element
 String getLang()
          Specifies a language code for the content in an element
 String getProfile()
          Specifies a URL to a document that contains a set of rules.
 
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

getProfile

public String getProfile()
Specifies a URL to a document that contains a set of rules. The rules can be read by browsers to clearly understand the information in the tag's content attribute

Returns:
URL of a profile


Copyright © 2012. All Rights Reserved.