org.jfor.jfor.converter
Class PageBuilder

java.lang.Object
  extended by org.jfor.jfor.converter.AbstractBuilder
      extended by org.jfor.jfor.converter.PageBuilder
All Implemented Interfaces:
IBuilder

 class PageBuilder
extends AbstractBuilder

Recognizes the simple-page-master xml:fo tag for specifying page and and margin size. Instantiates RtfPage through RtfPageArea.

Author:
Christopher Scott, scottc@westinghouse.com

Field Summary
 
Fields inherited from class org.jfor.jfor.converter.AbstractBuilder
m_context
 
Constructor Summary
PageBuilder(BuilderContext ctx)
           
 
Method Summary
 void end()
          called by Converter at the end of an element
 IBuilder getBuilder(BuilderContext ctx, java.lang.String rawName, org.xml.sax.Attributes attrs)
          this builder applies to fo:root
 void start(java.lang.String rawName, org.xml.sax.Attributes attrs)
          called by Converter at the start of an element
 
Methods inherited from class org.jfor.jfor.converter.AbstractBuilder
attributeIsSet, attributeIsSet, characters, getAttribute, getAttribute, getValue, getValue, hasAttributeValue, hasAttributeValue, ignoreChildren, postEnd, preStart, useForChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageBuilder

PageBuilder(BuilderContext ctx)
Method Detail

start

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

Throws:
java.io.IOException

end

public void end()
called by Converter at the end of an element


getBuilder

public IBuilder getBuilder(BuilderContext ctx,
                           java.lang.String rawName,
                           org.xml.sax.Attributes attrs)
this builder applies to fo:root