public abstract class AbstractHyperlinkWriter extends AbstractSimpleWriter implements AbstractFldSimpleWriter.FldSimpleNodeWriterHandler
Writer.TransformState
Modifier and Type | Field and Description |
---|---|
protected static String |
HYPERLINK_NAME |
static String |
WRITER_ID |
writerId
PROCESS_APPLY_STYLE, PROCESS_NONE, PROCESS_WRAP_APPLY_STYLE
Modifier | Constructor and Description |
---|---|
protected |
AbstractHyperlinkWriter() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
int |
getProcessType() |
protected abstract Node |
toNode(AbstractWmlConversionContext context,
AbstractHyperlinkWriterModel model,
Document doc) |
Node |
toNode(AbstractWmlConversionContext context,
FldSimpleModel model,
Document doc) |
Node |
toNode(AbstractWmlConversionContext context,
Object unmarshalledNode,
Node content,
Writer.TransformState state,
Document doc)
Generate the corresponding document fragment
|
createTransformState, getID
public static final String WRITER_ID
protected static final String HYPERLINK_NAME
public Node toNode(AbstractWmlConversionContext context, Object unmarshalledNode, Node content, Writer.TransformState state, Document doc) throws TransformerException
Writer
toNode
in interface Writer
TransformerException
protected abstract Node toNode(AbstractWmlConversionContext context, AbstractHyperlinkWriterModel model, Document doc) throws TransformerException
TransformerException
public String getName()
getName
in interface AbstractFldSimpleWriter.FldSimpleWriterHandler
public int getProcessType()
getProcessType
in interface AbstractFldSimpleWriter.FldSimpleNodeWriterHandler
public Node toNode(AbstractWmlConversionContext context, FldSimpleModel model, Document doc) throws TransformerException
toNode
in interface AbstractFldSimpleWriter.FldSimpleNodeWriterHandler
TransformerException
Copyright © 2007-2014. All Rights Reserved.