public class AbstractHyperlinkWriterModel extends java.lang.Object implements ConversionHyperlinkHandler.Model
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
anchor
Specifies the name of a bookmark in the current document which shall be the target of
this hyperlink.
If this attribute is omitted, then the default behavior shall be to navigate to the start of the document. |
protected org.w3c.dom.Node |
content |
protected java.lang.String |
docLocation
Specifies a location in the target of the hyperlink that has no bookmarks.
|
protected boolean |
external
Only avaiable if the information is read from a relationship.
|
protected java.lang.String |
rId
Specifies the ID of the relationship whose target shall be used as the target for this
hyperlink.
|
protected java.lang.String |
target
field-argument of the Hyperlink field or the targetUri of the relationship.
|
protected java.lang.String |
tgtFrame
Specifies a frame within the parent HTML frameset for the target of the parent hyperlink
when one exists.
|
protected java.lang.String |
tooltip
Specifies a string which can be surfaced in a user interface as associated with the parent
hyperlink.
|
| Constructor and Description |
|---|
AbstractHyperlinkWriterModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
build(AbstractWmlConversionContext conversionContext,
FldSimpleModel fldSimpleModel,
org.w3c.dom.Node content)
Custom build method, get's used with a FldSimpleModel in those cases
where the hyperlink is defined within a Field
|
void |
build(AbstractWmlConversionContext conversionContext,
java.lang.Object node,
org.w3c.dom.Node content)
Default build method, get's called with a P.Hyperlink.
|
java.lang.String |
getAnchor()
Specifies the name of a bookmark in the current document which shall be the target of
this hyperlink.
If this attribute is omitted, then the default behavior shall be to navigate to the start of the document. |
org.w3c.dom.Node |
getContent() |
java.lang.String |
getDocLocation()
Specifies a location in the target of the hyperlink that has no bookmarks.
|
java.lang.String |
getExternalTarget() |
java.lang.String |
getInternalTarget() |
java.lang.String |
getRId()
Specifies the ID of the relationship whose target shall be used as the target for this
hyperlink.
|
java.lang.String |
getTarget()
field-argument of the Hyperlink field or the targetUri of the relationship.
|
java.lang.String |
getTgtFrame()
Specifies a frame within the parent HTML frameset for the target of the parent hyperlink
when one exists.
|
java.lang.String |
getTooltip()
Specifies a string which can be surfaced in a user interface as associated with the parent
hyperlink.
|
boolean |
isExternal()
Only avaiable if the information is read from a relationship.
|
void |
setAnchor(java.lang.String anchor) |
void |
setDocLocation(java.lang.String docLocation) |
void |
setExternal(boolean external) |
void |
setRId(java.lang.String rId) |
void |
setTarget(java.lang.String target) |
void |
setTgtFrame(java.lang.String tgtFrame) |
void |
setTooltip(java.lang.String tooltip) |
java.lang.String |
toString() |
protected org.w3c.dom.Node content
protected java.lang.String target
protected boolean external
protected java.lang.String anchor
protected java.lang.String docLocation
protected java.lang.String rId
protected java.lang.String tgtFrame
protected java.lang.String tooltip
public void build(AbstractWmlConversionContext conversionContext, java.lang.Object node, org.w3c.dom.Node content) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerExceptionpublic void build(AbstractWmlConversionContext conversionContext, FldSimpleModel fldSimpleModel, org.w3c.dom.Node content) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerExceptionpublic java.lang.String getExternalTarget()
public java.lang.String getInternalTarget()
public java.lang.String getTarget()
ConversionHyperlinkHandler.ModelgetTarget in interface ConversionHyperlinkHandler.Modelpublic void setTarget(java.lang.String target)
setTarget in interface ConversionHyperlinkHandler.Modelpublic boolean isExternal()
ConversionHyperlinkHandler.ModelisExternal in interface ConversionHyperlinkHandler.Modelpublic void setExternal(boolean external)
setExternal in interface ConversionHyperlinkHandler.Modelpublic java.lang.String getAnchor()
ConversionHyperlinkHandler.ModelgetAnchor in interface ConversionHyperlinkHandler.Modelpublic void setAnchor(java.lang.String anchor)
setAnchor in interface ConversionHyperlinkHandler.Modelpublic java.lang.String getDocLocation()
ConversionHyperlinkHandler.ModelgetDocLocation in interface ConversionHyperlinkHandler.Modelpublic void setDocLocation(java.lang.String docLocation)
setDocLocation in interface ConversionHyperlinkHandler.Modelpublic java.lang.String getRId()
ConversionHyperlinkHandler.ModelgetRId in interface ConversionHyperlinkHandler.Modelpublic void setRId(java.lang.String rId)
setRId in interface ConversionHyperlinkHandler.Modelpublic java.lang.String getTgtFrame()
ConversionHyperlinkHandler.ModelgetTgtFrame in interface ConversionHyperlinkHandler.Modelpublic void setTgtFrame(java.lang.String tgtFrame)
setTgtFrame in interface ConversionHyperlinkHandler.Modelpublic java.lang.String getTooltip()
ConversionHyperlinkHandler.ModelgetTooltip in interface ConversionHyperlinkHandler.Modelpublic void setTooltip(java.lang.String tooltip)
setTooltip in interface ConversionHyperlinkHandler.Modelpublic org.w3c.dom.Node getContent()
getContent in interface ConversionHyperlinkHandler.Modelpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2007–2023. All rights reserved.