public abstract class AbstractPagerefHandler extends java.lang.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 org.w3c.dom.Node |
createPageref(AbstractWmlConversionContext context,
org.w3c.dom.Document doc,
java.lang.String bookmarkId) |
protected org.w3c.dom.Node |
findTextNode(org.w3c.dom.Node root)
Find a textnode with a text content
|
java.lang.String |
getName() |
int |
getProcessType() |
protected java.lang.String |
getTextcontent(org.w3c.dom.Node root) |
protected void |
setTextcontent(org.w3c.dom.Node root,
java.lang.String text) |
protected java.util.List<java.lang.String> |
splitTextcontent(java.lang.String textcontent) |
org.w3c.dom.Node |
toNode(AbstractWmlConversionContext context,
FldSimpleModel model,
org.w3c.dom.Document doc) |
public java.lang.String getName()
getName in interface AbstractFldSimpleWriter.FldSimpleWriterHandlerpublic int getProcessType()
getProcessType in interface AbstractFldSimpleWriter.FldSimpleNodeWriterHandlerpublic org.w3c.dom.Node toNode(AbstractWmlConversionContext context, FldSimpleModel model, org.w3c.dom.Document doc) throws javax.xml.transform.TransformerException
toNode in interface AbstractFldSimpleWriter.FldSimpleNodeWriterHandlerjavax.xml.transform.TransformerExceptionprotected java.util.List<java.lang.String> splitTextcontent(java.lang.String textcontent)
protected java.lang.String getTextcontent(org.w3c.dom.Node root)
protected void setTextcontent(org.w3c.dom.Node root,
java.lang.String text)
protected org.w3c.dom.Node findTextNode(org.w3c.dom.Node root)
protected abstract org.w3c.dom.Node createPageref(AbstractWmlConversionContext context, org.w3c.dom.Document doc, java.lang.String bookmarkId)
Copyright © 2007–2023. All rights reserved.