NextApp Echo
App Container 1.0.5

nextapp.echoservlet.html
Class StyleElement

java.lang.Object
  extended bynextapp.echoservlet.html.Element
      extended bynextapp.echoservlet.html.StyleElement
All Implemented Interfaces:
Renderable, java.io.Serializable

public class StyleElement
extends Element
implements Renderable

A <style> HTML element, used to encapsulate CSS styles within a document.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class nextapp.echoservlet.html.Element
 
Fields inherited from interface nextapp.echoservlet.html.Renderable
INDENT_STRING
 
Constructor Summary
StyleElement()
          Creates a new style element.
 
Method Summary
 void add(Style style)
          Adds a style to be rendered in this style element.
 
Methods inherited from class nextapp.echoservlet.html.Element
add, add, addAttribute, addAttribute, addAttribute, addElement, addElement, addElementContent, addElementContent, addHtml, addHtml, addText, addText, addText, getAttribute, getName, indexOf, isSticky, render, render, setClosingTagRequired, setSticky, setWhitespaceRelevant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface nextapp.echoservlet.html.Renderable
render
 

Constructor Detail

StyleElement

public StyleElement()
Creates a new style element.

Method Detail

add

public void add(Style style)
Adds a style to be rendered in this style element.

Parameters:
style - The style to add.

NextApp Echo
App Container 1.0.5