fop 0.95

org.apache.fop.render.rtf.rtflib.rtfdoc
Class RtfGenerator

java.lang.Object
  extended by org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
      extended by org.apache.fop.render.rtf.rtflib.rtfdoc.RtfGenerator

public class RtfGenerator
extends RtfElement

Represents a generator element which says who generated the RTF document.


Field Summary
 
Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
attrib, parent, writer
 
Constructor Summary
RtfGenerator(org.apache.fop.render.rtf.rtflib.rtfdoc.RtfHeader h, java.io.Writer w)
          Default constructor for the generator element.
 
Method Summary
 boolean isEmpty()
          
protected  void writeRtfContent()
          Must be implemented to write RTF content to m_writer
 
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
close, getRtfAttributes, newLine, okToWriteRtf, toString, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RtfGenerator

public RtfGenerator(org.apache.fop.render.rtf.rtflib.rtfdoc.RtfHeader h,
                    java.io.Writer w)
             throws java.io.IOException
Default constructor for the generator element.

Throws:
java.io.IOException
Method Detail

writeRtfContent

protected void writeRtfContent()
                        throws java.io.IOException
Must be implemented to write RTF content to m_writer

Specified by:
writeRtfContent in class RtfElement
Throws:
java.io.IOException - for I/O problems

isEmpty

public boolean isEmpty()

Specified by:
isEmpty in class RtfElement
Returns:
true if this element would generate no "useful" RTF content

fop 0.95

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.