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.StringwriterId -
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractSimpleWriter(java.lang.String writerId) -
Method Summary
Modifier and Type Method Description Writer.TransformStatecreateTransformState()Create a new instance of the TransformState it uses.
It may returnnull, then the passed value in toNode will benull.java.lang.StringgetID()Return the common ID of the Model/Converter/TransformState.
-
Field Details
-
writerId
protected java.lang.String writerId
-
-
Constructor Details
-
AbstractSimpleWriter
protected AbstractSimpleWriter(java.lang.String writerId)
-
-
Method Details
-
getID
public java.lang.String getID()Description copied from interface:WriterReturn the common ID of the Model/Converter/TransformState. -
createTransformState
Description copied from interface:WriterCreate a new instance of the TransformState it uses.
It may returnnull, then the passed value in toNode will benull.- Specified by:
createTransformStatein interfaceWriter- Returns:
-