org.jfor.jfor.converter
Class ParagraphBuilder
java.lang.Object
org.jfor.jfor.converter.AbstractBuilder
org.jfor.jfor.converter.ParagraphBuilder
- All Implemented Interfaces:
- IBuilder
class ParagraphBuilder
- extends AbstractBuilder
Builds RtfParagraphs for fo:block elements.
- 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)
this builder processes fo:block elements |
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, 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 |
TAG_FO_BLOCK
public static final java.lang.String TAG_FO_BLOCK
- See Also:
- Constant Field Values
ATTRIBUTE_FO_KEEP_TOGETHER
public static final java.lang.String ATTRIBUTE_FO_KEEP_TOGETHER
- See Also:
- Constant Field Values
ParagraphBuilder
ParagraphBuilder(BuilderContext ctx)
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()
throws java.io.IOException
- called by Converter at the end 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
getBuilder
public IBuilder getBuilder(BuilderContext ctx,
java.lang.String rawName,
org.xml.sax.Attributes atts)
- this builder processes fo:block elements