All Packages Class Hierarchy This Package Previous Next Index
Class org.w3c.jigsaw.html.HtmlScript
java.lang.Object
|
+----org.w3c.jigsaw.html.HtmlScript
- public class HtmlScript
- extends Object
a sample Script class for HTML documents
-
HtmlScript(String)
-
-
HtmlScript(String, String)
-
-
append(String)
- append a string to the script buffer
-
setLanguage(String)
- set the type of script used
-
toString()
- genereate a String representation that can be
append in a HTML document
HtmlScript
public HtmlScript(String language,
String script)
HtmlScript
public HtmlScript(String script)
setLanguage
public void setLanguage(String lang)
- set the type of script used
- Parameters:
- script - the type
append
public void append(String str1)
- append a string to the script 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