Class AbstractSimpleWriter

java.lang.Object
org.docx4j.convert.out.common.writer.AbstractSimpleWriter
All Implemented Interfaces:
Writer
Direct Known Subclasses:
AbstractBookmarkStartWriter, AbstractBrWriter, AbstractFldSimpleWriter, AbstractHyperlinkWriter, AbstractPictWriter, AbstractSymbolWriter, AbstractTableWriter

public abstract class AbstractSimpleWriter
extends java.lang.Object
implements Writer
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.docx4j.convert.out.common.Writer

    Writer.TransformState
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.lang.String writerId  
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected AbstractSimpleWriter​(java.lang.String writerId)  
  • Method Summary

    Modifier and Type Method Description
    Writer.TransformState createTransformState()
    Create a new instance of the TransformState it uses.
    It may return null, then the passed value in toNode will be null.
    java.lang.String getID()
    Return the common ID of the Model/Converter/TransformState.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.docx4j.convert.out.common.Writer

    toNode
  • Field Details

    • writerId

      protected java.lang.String writerId
  • Constructor Details

  • Method Details

    • getID

      public java.lang.String getID()
      Description copied from interface: Writer
      Return the common ID of the Model/Converter/TransformState.
      Specified by:
      getID in interface Writer
      Returns:
    • createTransformState

      public Writer.TransformState createTransformState()
      Description copied from interface: Writer
      Create a new instance of the TransformState it uses.
      It may return null, then the passed value in toNode will be null.
      Specified by:
      createTransformState in interface Writer
      Returns: