|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.jigsaw.html.HtmlStyle
public class HtmlStyle
a sample Style class for HTML documents
Constructor Summary | |
---|---|
HtmlStyle(MimeType type,
java.lang.String style)
|
|
HtmlStyle(java.lang.String style)
|
Method Summary | |
---|---|
void |
append(java.lang.String str1)
append a string to the style buffer |
void |
setType(MimeType type)
set the type of style sheet used |
java.lang.String |
toString()
genereate a String representation that can be append in a HTML document |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HtmlStyle(MimeType type, java.lang.String style)
public HtmlStyle(java.lang.String style)
Method Detail |
---|
public void setType(MimeType type)
style
- the sheet's MimeType.public void append(java.lang.String str1)
str1
- A string to be appendpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |