org.anadix.html
Class StyleTag

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

public class StyleTag
extends HtmlElement

Defines style information for a 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 getMedia()
          Specifies what media/device the media resource is optimized for
 String getTitle()
          Specifies extra information about an element
 String getType()
          Specifies the MIME type of the style sheet
 
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

getType

public String getType()
Specifies the MIME type of the style sheet

Returns:
MIME type of the style sheet

getMedia

public String getMedia()
Specifies what media/device the media resource is optimized for

Returns:
what is the resource optimized for

getTitle

public String getTitle()
Specifies extra information about an element

Returns:
title of the element


Copyright © 2012. All Rights Reserved.