cox.jmatt.java.MathTools.markup.html
Class HTMLTag

java.lang.Object
  extended by cox.jmatt.java.MathTools.markup.Tag
      extended by cox.jmatt.java.MathTools.markup.html.BaseHTag
          extended by cox.jmatt.java.MathTools.markup.html.ContainerTag
              extended by cox.jmatt.java.MathTools.markup.html.PTag
                  extended by cox.jmatt.java.MathTools.markup.html.DivTag
                      extended by cox.jmatt.java.MathTools.markup.html.HTMLTag

public class HTMLTag
extends DivTag

This class represents the HTML document itself. It handles the <head> and <body> tags internally along with all DTD and namespace issues. The main content handling methods deal with the body of the document, the head is handled automatically.


Nested Class Summary
 
Nested classes/interfaces inherited from class cox.jmatt.java.MathTools.markup.html.BaseHTag
BaseHTag.TagKeys
 
Field Summary
 
Fields inherited from class cox.jmatt.java.MathTools.markup.html.PTag
BODY_LEVEL, DIV_LEVEL, myLevel, P_LEVEL
 
Fields inherited from class cox.jmatt.java.MathTools.markup.Tag
myTagName
 
Constructor Summary
HTMLTag()
          Constructor for a fresh document.
 
Method Summary
protected  java.lang.String _content()
          Overridden to construct the full HTML document, body and head.
protected  void _setContent(java.lang.String pContent)
          Overridden to handle internal things that must be handled.
 HTMLTag copyOf()
          Copy this HTMLTag.
 void setTitle(java.lang.String pTitle)
          Set or clear the document <title>.
 
Methods inherited from class cox.jmatt.java.MathTools.markup.html.PTag
add, add, addDef, addImage, addList, addTable, level
 
Methods inherited from class cox.jmatt.java.MathTools.markup.html.ContainerTag
addAnchor, addBold, addBQ, addBreak, addEM, addHeading, addHR, addImage, addItalic, addUnderline
 
Methods inherited from class cox.jmatt.java.MathTools.markup.html.BaseHTag
_addTag, _enableCopy, addCDATA, addContent, getID, getRawContent, getTagKey, getTagName, isInBody, setClicked, setCSS, setName, setStyle
 
Methods inherited from class cox.jmatt.java.MathTools.markup.Tag
_addAttribute, _addAttributes, _addNAttribute, _asBoolean, _asDouble, _asInt, _attributes, _clampNAttribute, _clampNAttribute, _fixKey, _setEnableXMLTag, badPizza, closeTag, configureTag, configureTagFromGlobalPizza, makeTag, openTag, reset, setID, toString, validString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HTMLTag

public HTMLTag()
Constructor for a fresh document.

Method Detail

_setContent

protected void _setContent(java.lang.String pContent)
Overridden to handle internal things that must be handled.

Overrides:
_setContent in class BaseHTag

copyOf

public HTMLTag copyOf()
Copy this HTMLTag.

Overrides:
copyOf in class DivTag

_content

protected java.lang.String _content()
Overridden to construct the full HTML document, body and head.

Overrides:
_content in class BaseHTag

setTitle

public void setTitle(java.lang.String pTitle)
Set or clear the document <title>.