org.jfor.jfor.converter
Class ListItemLabelBuilder

java.lang.Object
  extended byorg.jfor.jfor.converter.AbstractBuilder
      extended byorg.jfor.jfor.converter.ListItemLabelBuilder
All Implemented Interfaces:
IBuilder

class ListItemLabelBuilder
extends AbstractBuilder

An IBuilder that handles fo:list-item-label

Author:
Bertrand Delacretaz bdelacretaz@codeconsult.ch

Field Summary
 
Fields inherited from class org.jfor.jfor.converter.AbstractBuilder
m_context
 
Constructor Summary
(package private) ListItemLabelBuilder(BuilderContext ctx)
           
 
Method Summary
 void characters(java.lang.String str)
          called by the parser for Text nodes
 void end()
          called by Converter at the end of an element
 IBuilder getBuilder(BuilderContext ctx, java.lang.String rawName, org.xml.sax.Attributes atts)
          return a TableBuilder for fo:table elements
 void start(java.lang.String rawName, org.xml.sax.Attributes atts)
          called by Converter at the start of an element
 boolean useForChildren(java.lang.String rawName, org.xml.sax.Attributes attrs)
          if true, builder is used for its child elements as well
 
Methods inherited from class org.jfor.jfor.converter.AbstractBuilder
attributeIsSet, attributeIsSet, getAttribute, getAttribute, getValue, getValue, hasAttributeValue, hasAttributeValue, ignoreChildren, postEnd, preStart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListItemLabelBuilder

ListItemLabelBuilder(BuilderContext ctx)
Method Detail

start

public void start(java.lang.String rawName,
                  org.xml.sax.Attributes atts)
           throws java.io.IOException
called by Converter at the start of an element

Throws:
java.io.IOException

characters

public void characters(java.lang.String str)
                throws java.io.IOException
called by the parser for Text nodes

Specified by:
characters in interface IBuilder
Overrides:
characters in class AbstractBuilder
Throws:
java.io.IOException

end

public void end()
         throws java.io.IOException
called by Converter at the end of an element

Throws:
java.io.IOException

getBuilder

public IBuilder getBuilder(BuilderContext ctx,
                           java.lang.String rawName,
                           org.xml.sax.Attributes atts)
return a TableBuilder for fo:table elements


useForChildren

public boolean useForChildren(java.lang.String rawName,
                              org.xml.sax.Attributes attrs)
if true, builder is used for its child elements as well

Specified by:
useForChildren in interface IBuilder
Overrides:
useForChildren in class AbstractBuilder