Class AbstractHyperlinkWriter
java.lang.Object
org.docx4j.convert.out.common.writer.AbstractSimpleWriter
org.docx4j.convert.out.common.writer.AbstractHyperlinkWriter
- All Implemented Interfaces:
Writer,AbstractFldSimpleWriter.FldSimpleNodeWriterHandler,AbstractFldSimpleWriter.FldSimpleWriterHandler
- Direct Known Subclasses:
HyperlinkWriter
public abstract class AbstractHyperlinkWriter extends AbstractSimpleWriter implements AbstractFldSimpleWriter.FldSimpleNodeWriterHandler
-
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 static java.lang.StringHYPERLINK_NAMEstatic java.lang.StringWRITER_IDFields inherited from interface org.docx4j.convert.out.common.writer.AbstractFldSimpleWriter.FldSimpleNodeWriterHandler
PROCESS_APPLY_STYLE, PROCESS_NONE, PROCESS_WRAP_APPLY_STYLE -
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractHyperlinkWriter() -
Method Summary
Modifier and Type Method Description java.lang.StringgetName()intgetProcessType()org.w3c.dom.NodetoNode(AbstractWmlConversionContext context, java.lang.Object unmarshalledNode, org.w3c.dom.Node content, Writer.TransformState state, org.w3c.dom.Document doc)Generate the corresponding document fragmentprotected abstract org.w3c.dom.NodetoNode(AbstractWmlConversionContext context, AbstractHyperlinkWriterModel model, org.w3c.dom.Document doc)org.w3c.dom.NodetoNode(AbstractWmlConversionContext context, FldSimpleModel model, org.w3c.dom.Document doc)Methods inherited from class org.docx4j.convert.out.common.writer.AbstractSimpleWriter
createTransformState, getID
-
Field Details
-
WRITER_ID
public static final java.lang.String WRITER_ID- See Also:
- Constant Field Values
-
HYPERLINK_NAME
protected static final java.lang.String HYPERLINK_NAME- See Also:
- Constant Field Values
-
-
Constructor Details
-
AbstractHyperlinkWriter
protected AbstractHyperlinkWriter()
-
-
Method Details
-
toNode
public org.w3c.dom.Node toNode(AbstractWmlConversionContext context, java.lang.Object unmarshalledNode, org.w3c.dom.Node content, Writer.TransformState state, org.w3c.dom.Document doc) throws javax.xml.transform.TransformerExceptionDescription copied from interface:WriterGenerate the corresponding document fragment -
toNode
protected abstract org.w3c.dom.Node toNode(AbstractWmlConversionContext context, AbstractHyperlinkWriterModel model, org.w3c.dom.Document doc) throws javax.xml.transform.TransformerException- Throws:
javax.xml.transform.TransformerException
-
getName
public java.lang.String getName()- Specified by:
getNamein interfaceAbstractFldSimpleWriter.FldSimpleWriterHandler
-
getProcessType
public int getProcessType()- Specified by:
getProcessTypein interfaceAbstractFldSimpleWriter.FldSimpleNodeWriterHandler
-
toNode
public org.w3c.dom.Node toNode(AbstractWmlConversionContext context, FldSimpleModel model, org.w3c.dom.Document doc) throws javax.xml.transform.TransformerException- Specified by:
toNodein interfaceAbstractFldSimpleWriter.FldSimpleNodeWriterHandler- Throws:
javax.xml.transform.TransformerException
-