public abstract class AbstractPagerefHandler extends Object implements AbstractFldSimpleWriter.FldSimpleNodeWriterHandler
Modifier and Type | Field and Description |
---|---|
protected int |
outputType |
PROCESS_APPLY_STYLE, PROCESS_NONE, PROCESS_WRAP_APPLY_STYLE
Modifier | Constructor and Description |
---|---|
protected |
AbstractPagerefHandler(int outputType) |
Modifier and Type | Method and Description |
---|---|
protected abstract Node |
createPageref(AbstractWmlConversionContext context,
Document doc,
String bookmarkId) |
protected Node |
findTextNode(Node root)
Find a textnode with a text content
|
String |
getName() |
int |
getProcessType() |
protected String |
getTextcontent(Node root) |
protected void |
setTextcontent(Node root,
String text) |
protected List<String> |
splitTextcontent(String textcontent) |
Node |
toNode(AbstractWmlConversionContext context,
FldSimpleModel model,
Document doc) |
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
protected Node findTextNode(Node root)
protected abstract Node createPageref(AbstractWmlConversionContext context, Document doc, String bookmarkId)
Copyright © 2007-2014. All Rights Reserved.