org.anadix.html
Class HtmlTag

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

public class HtmlTag
extends HtmlElement

Defines the root of an HTML 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
 HtmlTag getParent()
          Gets the parent of the element
 
Methods inherited from class org.anadix.html.HtmlElement
compareTo, equals, getAttribute, getAttributes, getId, getName, 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

getParent

public HtmlTag getParent()
Gets the parent of the element

Overrides:
getParent in class HtmlElement
Returns:
enclosing HtmlElement

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


Copyright © 2011. All Rights Reserved.