net.xoetrope.builder.w3c.html.tags
Class XHeadingTag

java.lang.Object
  extended by net.xoetrope.builder.w3c.html.tags.XHtmlTagHandler
      extended by net.xoetrope.builder.w3c.html.tags.XFormatTagHandler
          extended by net.xoetrope.builder.w3c.html.tags.XHeadingTag

public class XHeadingTag
extends XFormatTagHandler

A generic handler for heading elemnts H1 to H6

Copyright (c) Xoetrope Ltd., 2002-2006

$Revision: 1.1 $

License: see License.txt


Field Summary
 
Fields inherited from class net.xoetrope.builder.w3c.html.tags.XFormatTagHandler
tag
 
Fields inherited from class net.xoetrope.builder.w3c.html.tags.XHtmlTagHandler
attribSet, builder, children, comp, content, parent, parentComponent, style
 
Constructor Summary
XHeadingTag(javax.swing.text.html.HTML.Tag t)
          Creates a new instance of Heading
 
Method Summary
 XHtmlTagHandler newInstance(XHtmlBuilder builder, XHtmlTagHandler parent)
          Create a new instance of this object
 
Methods inherited from class net.xoetrope.builder.w3c.html.tags.XFormatTagHandler
breaksFlow, processText
 
Methods inherited from class net.xoetrope.builder.w3c.html.tags.XHtmlTagHandler
addChild, addElement, applyAlignment, applyStyle, decorateAttribute, endProcessing, getAttribute, getChildren, getComponent, getComponentName, getContent, getHeight, getHeight, getLength, getParent, getTextStyleAttributes, getWidth, getWidth, processComment, processCommonAttributes, setBuilder, setComponent, setParent, startProcessing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XHeadingTag

public XHeadingTag(javax.swing.text.html.HTML.Tag t)
Creates a new instance of Heading

Parameters:
t - the tag being handled
Method Detail

newInstance

public XHtmlTagHandler newInstance(XHtmlBuilder builder,
                                   XHtmlTagHandler parent)
Create a new instance of this object

Overrides:
newInstance in class XFormatTagHandler
Parameters:
builder - the html builder and processor for the document
parent - the parent handler
Returns:
the new handler