Class w3c.jigsaw.html.HtmlStyle
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.jigsaw.html.HtmlStyle

java.lang.Object
   |
   +----w3c.jigsaw.html.HtmlStyle

public class HtmlStyle
extends Object
a sample Style class for HTML documents

Constructor Index

 o HtmlStyle(MimeType, String)
 o HtmlStyle(String)

Method Index

 o append(String)
append a string to the style buffer
 o setType(MimeType)
set the type of style sheet used
 o toString()
genereate a String representation that can be append in a HTML document

Constructors

 o HtmlStyle
  public HtmlStyle(MimeType type,
                   String style)
 o HtmlStyle
  public HtmlStyle(String style)

Methods

 o setType
  public void setType(MimeType type)
set the type of style sheet used
Parameters:
style - the sheet's MimeType.
 o append
  public void append(String str1)
append a string to the style buffer
Parameters:
str1 - A string to be append
 o toString
  public String toString()
genereate a String representation that can be append in a HTML document
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index