com.jdc.gui.html.tag
Class Html
java.lang.Object
|
+--com.jdc.xml.ComplexTag
|
+--com.jdc.gui.html.ComplexTag
|
+--com.jdc.gui.html.tag.Html
- All Implemented Interfaces:
- MarkupLanguage, Serializable
- public class Html
- extends ComplexTag
Html contains the HTML document, made up of the
HEAD followed by the BODY, except in Frameset documents
where the FRAMESET element replaces the BODY. The start
and end tags of the HTML element are both optional.
The LANG attribute is typically set on the HTML element
to specify the base language of the document. The language should be specified
according to RFC 1766; examples include en for English, en-US
for American English, and ja for Japanese.
Reference: The HTML element
- Version:
- 1.0
- Author:
- Jay Damon
- See Also:
- Serialized Form
|
Constructor Summary |
Html()
Constructs a new Html object. |
Html
public Html()
- Constructs a new
Html object.
setLanguage
public Html setLanguage(String language)
- Sets the base language of the text content and attribute values. [RFC1766]
defines and explains the language codes that may be used in
HTML
documents.
- Returns:
- This
Html tag.
setNamespace
public Html setNamespace()
- Sets the default namespace to "http://www.w3.org/1999/xhtml".
- Returns:
- This
Html tag.
setNamespace
public Html setNamespace(String namespace)
- Sets the default namespace.
Reference: Namespaces in XML
- Returns:
- This
Html tag.
Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.