org.jfor.jfor.converter
Interface IBuilder

All Known Implementing Classes:
AbstractBuilder, AfterBuilder, BasicLinkBuilder, BeforeBuilder, ExternalGraphicBuilder, IgnoreChildrenNullBuilder, ListBuilder, ListItemBuilder, ListItemLabelBuilder, NullBuilder, PageBuilder, PageNumberBuilder, PageNumberCitationBuilder, ParagraphBuilder, SectionBuilder, StyleSheetBuilder, TableBuilder, TableCellBuilder, TableColumnBuilder, TableHeaderBuilder, TableRowBuilder, TemplateBuilder, TextBuilder

interface IBuilder

interface for Builders that create RtfElements in response to SAX events

Author:
Bertrand Delacretaz bdelacretaz@codeconsult.ch ----------------------------------------------------------------------------

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)
          factory method: return the appropriate builder for given element if we have one
 boolean ignoreChildren()
          if true, xsl:fo elements that are children of an element using this builder must be ignored
 void postEnd()
          called by Converter after calling end()
 void preStart(java.lang.String rawName, org.xml.sax.Attributes atts)
          called by Converter before calling start()
 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
 

Method Detail

preStart

void preStart(java.lang.String rawName,
              org.xml.sax.Attributes atts)
              throws java.io.IOException
called by Converter before calling start()

Throws:
java.io.IOException

start

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

end

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

Throws:
java.io.IOException

postEnd

void postEnd()
             throws java.io.IOException
called by Converter after calling end()

Throws:
java.io.IOException

characters

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

Throws:
java.io.IOException

getBuilder

IBuilder getBuilder(BuilderContext ctx,
                    java.lang.String rawName,
                    org.xml.sax.Attributes atts)
factory method: return the appropriate builder for given element if we have one


ignoreChildren

boolean ignoreChildren()
if true, xsl:fo elements that are children of an element using this builder must be ignored


useForChildren

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