net.xoetrope.builder.w3c.html.tags
Class XStructuralTagHandler
java.lang.Object
net.xoetrope.builder.w3c.html.tags.XHtmlTagHandler
net.xoetrope.builder.w3c.html.tags.XStructuralTagHandler
public class XStructuralTagHandler
- extends XHtmlTagHandler
A generic handler for heading elemnts H1 to H6
Copyright (c) Xoetrope Ltd., 2002-2006
$Revision: 1.1 $
License: see License.txt
|
Field Summary |
protected javax.swing.text.html.HTML.Tag |
tag
|
|
Constructor Summary |
XStructuralTagHandler(javax.swing.text.html.HTML.Tag t)
Creates a new instance of Heading |
| 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, processText, setBuilder, setComponent, setParent, startProcessing |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tag
protected javax.swing.text.html.HTML.Tag tag
XStructuralTagHandler
public XStructuralTagHandler(javax.swing.text.html.HTML.Tag t)
- Creates a new instance of Heading
- Parameters:
t - the tag being handled
newInstance
public XHtmlTagHandler newInstance(XHtmlBuilder builder,
XHtmlTagHandler parent)
- Create a new instance of this object
- Specified by:
newInstance in class XHtmlTagHandler
- Parameters:
builder - the html builder and processor for the documentparent - the parent handler
- Returns:
- the new handler
breaksFlow
public boolean breaksFlow()
- Does this tag break the flow?
- Overrides:
breaksFlow in class XHtmlTagHandler
- Returns:
- true if the flow is broken, otherwsie false