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

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

public class XDefaultTagHandler
extends XHtmlTagHandler

A fall through handler for tags not known or hadnled by specific handlers

Copyright (c) Xoetrope Ltd., 2002-2006

$Revision: 1.2 $

License: see License.txt


Field Summary
protected  javax.swing.text.html.HTML.Tag tag
           
 
Fields inherited from class net.xoetrope.builder.w3c.html.tags.XHtmlTagHandler
attribSet, builder, children, comp, content, parent, parentComponent, style
 
Constructor Summary
XDefaultTagHandler(javax.swing.text.html.HTML.Tag t)
          Creates a new instance of XDefaultTagHandler
 
Method Summary
 boolean breaksFlow()
          Does this tag break the flow?
 XHtmlTagHandler newInstance(XHtmlBuilder builder, XHtmlTagHandler parent)
          Create a new instance of this object
 
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
 

Field Detail

tag

protected javax.swing.text.html.HTML.Tag tag
Constructor Detail

XDefaultTagHandler

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

Method Detail

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 document
parent - 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