java.lang.Object
org.jfor.jfor.converter.AbstractBuilder
org.jfor.jfor.converter.ExternalGraphicBuilder
- All Implemented Interfaces:
- IBuilder
- class ExternalGraphicBuilder
- extends AbstractBuilder
An IBuilder that handles fo:external-graphic
| Methods inherited from class org.jfor.jfor.converter.AbstractBuilder |
attributeIsSet, attributeIsSet, getAttribute, getAttribute, getValue, getValue, hasAttributeValue, hasAttributeValue, postEnd, preStart, useForChildren |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
graphic
private org.jfor.jfor.rtflib.rtfdoc.RtfExternalGraphic graphic
- RTF graphic object
ExternalGraphicBuilder
public ExternalGraphicBuilder(BuilderContext ctx)
- Default constructor.
getBuilder
public IBuilder getBuilder(BuilderContext ctx,
java.lang.String rawName,
org.xml.sax.Attributes attr)
- Return the appropriate builder for given element if we have one.
start
public void start(java.lang.String rawName,
org.xml.sax.Attributes attr)
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
ignoreChildren
public boolean ignoreChildren()
- Ignores child nodes.
- Specified by:
ignoreChildren in interface IBuilder- Overrides:
ignoreChildren in class AbstractBuilder
setAttribute
private void setAttribute(org.jfor.jfor.rtflib.rtfdoc.RtfExternalGraphic graphicObject,
java.lang.String name,
java.lang.String value)
throws java.io.IOException
- Sets a attribute of the image.