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 returnnull
, then the passed value in toNode will benull
.java.lang.String
getID()
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:Writer
Return the common ID of the Model/Converter/TransformState. -
createTransformState
Description copied from interface:Writer
Create a new instance of the TransformState it uses.
It may returnnull
, then the passed value in toNode will benull
.- Specified by:
createTransformState
in interfaceWriter
- Returns:
-