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

Quick Search    Search Deep

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

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

class ExternalGraphicBuilder
extends AbstractBuilder

An IBuilder that handles fo:external-graphic


Field Summary
private  org.jfor.jfor.rtflib.rtfdoc.RtfExternalGraphic graphic
          RTF graphic object
 
Fields inherited from class org.jfor.jfor.converter.AbstractBuilder
m_context
 
Constructor Summary
ExternalGraphicBuilder(BuilderContext ctx)
          Default constructor.
 
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 attr)
          Return the appropriate builder for given element if we have one.
 boolean ignoreChildren()
          Ignores child nodes.
private  void setAttribute(org.jfor.jfor.rtflib.rtfdoc.RtfExternalGraphic graphicObject, java.lang.String name, java.lang.String value)
          Sets a attribute of the image.
 void start(java.lang.String rawName, org.xml.sax.Attributes attr)
          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, postEnd, preStart, useForChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

graphic

private org.jfor.jfor.rtflib.rtfdoc.RtfExternalGraphic graphic
RTF graphic object

Constructor Detail

ExternalGraphicBuilder

public ExternalGraphicBuilder(BuilderContext ctx)
Default constructor.

Method Detail

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.