Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jfor.jfor.converter
Class TextBuilder  view TextBuilder download TextBuilder.java

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

class TextBuilder
extends AbstractBuilder

Builds RtfText objects for fo:inline, also used by ParagraphBuilder to process text


Field Summary
private  org.jfor.jfor.rtflib.rtfdoc.RtfAttributes m_attributes
           
private  org.jfor.jfor.rtflib.rtfdoc.IRtfTextContainer m_container
           
private  boolean whitespaceConvert
           
 
Fields inherited from class org.jfor.jfor.converter.AbstractBuilder
m_context
 
Constructor Summary
(package private) TextBuilder(BuilderContext ctx)
           
(package private) TextBuilder(BuilderContext ctx, org.jfor.jfor.rtflib.rtfdoc.IRtfTextContainer c)
          allows this to be used by other builders
 
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)
          this builder processes fo:inline elements
 void start(java.lang.String rawName, org.xml.sax.Attributes attrs)
          called by Converter at the start of an element
 java.lang.String toString()
          debugging info
 
Methods inherited from class org.jfor.jfor.converter.AbstractBuilder
attributeIsSet, attributeIsSet, getAttribute, getAttribute, getValue, getValue, hasAttributeValue, hasAttributeValue, ignoreChildren, postEnd, preStart, useForChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_container

private org.jfor.jfor.rtflib.rtfdoc.IRtfTextContainer m_container

m_attributes

private org.jfor.jfor.rtflib.rtfdoc.RtfAttributes m_attributes

whitespaceConvert

private boolean whitespaceConvert
Constructor Detail

TextBuilder

TextBuilder(BuilderContext ctx)

TextBuilder

TextBuilder(BuilderContext ctx,
            org.jfor.jfor.rtflib.rtfdoc.IRtfTextContainer c)
      throws ConverterException
allows this to be used by other builders

Method Detail

toString

public java.lang.String toString()
debugging info


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


end

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


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

getBuilder

public IBuilder getBuilder(BuilderContext ctx,
                           java.lang.String rawName,
                           org.xml.sax.Attributes atts)
this builder processes fo:inline elements