    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.jigsaw.html.HtmlStyle

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

public class HtmlStyle
extends Object

a sample Style class for HTML documents

##

HtmlStyle(MimeType, String)
HtmlStyle(String)

##

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

##

HtmlStyle

     public HtmlStyle(MimeType type,
                      String style)

HtmlStyle

     public HtmlStyle(String style)

##

setType

     public void setType(MimeType type)

  set the type of style sheet used

  Parameters:
    style - the sheet's MimeType.

append

     public void append(String str1)

  append a string to the style buffer

  Parameters:
    str1 - A string to be append

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