public class AbstractHyperlinkWriterModel extends Object implements ConversionHyperlinkHandler.Model
| Modifier and Type | Field and Description |
|---|---|
protected 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 Node |
content |
protected 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 String |
rId
Specifies the ID of the relationship whose target shall be used as the target for this
hyperlink.
|
protected String |
target
field-argument of the Hyperlink field or the targetUri of the relationship.
|
protected String |
tgtFrame
Specifies a frame within the parent HTML frameset for the target of the parent hyperlink
when one exists.
|
protected 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,
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,
Object node,
Node content)
Default build method, get's called with a P.Hyperlink.
|
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. |
Node |
getContent() |
String |
getDocLocation()
Specifies a location in the target of the hyperlink that has no bookmarks.
|
String |
getExternalTarget() |
String |
getInternalTarget() |
String |
getRId()
Specifies the ID of the relationship whose target shall be used as the target for this
hyperlink.
|
String |
getTarget()
field-argument of the Hyperlink field or the targetUri of the relationship.
|
String |
getTgtFrame()
Specifies a frame within the parent HTML frameset for the target of the parent hyperlink
when one exists.
|
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(String anchor) |
void |
setDocLocation(String docLocation) |
void |
setExternal(boolean external) |
void |
setRId(String rId) |
void |
setTarget(String target) |
void |
setTgtFrame(String tgtFrame) |
void |
setTooltip(String tooltip) |
String |
toString() |
protected Node content
protected String target
protected boolean external
protected String anchor
protected String docLocation
protected String rId
protected String tgtFrame
protected String tooltip
public void build(AbstractWmlConversionContext conversionContext, Object node, Node content) throws TransformerException
TransformerExceptionpublic void build(AbstractWmlConversionContext conversionContext, FldSimpleModel fldSimpleModel, Node content) throws TransformerException
TransformerExceptionpublic String getExternalTarget()
public String getInternalTarget()
public String getTarget()
ConversionHyperlinkHandler.ModelgetTarget in interface ConversionHyperlinkHandler.Modelpublic void setTarget(String target)
setTarget in interface ConversionHyperlinkHandler.Modelpublic boolean isExternal()
ConversionHyperlinkHandler.ModelisExternal in interface ConversionHyperlinkHandler.Modelpublic void setExternal(boolean external)
setExternal in interface ConversionHyperlinkHandler.Modelpublic String getAnchor()
ConversionHyperlinkHandler.ModelgetAnchor in interface ConversionHyperlinkHandler.Modelpublic void setAnchor(String anchor)
setAnchor in interface ConversionHyperlinkHandler.Modelpublic String getDocLocation()
ConversionHyperlinkHandler.ModelgetDocLocation in interface ConversionHyperlinkHandler.Modelpublic void setDocLocation(String docLocation)
setDocLocation in interface ConversionHyperlinkHandler.Modelpublic String getRId()
ConversionHyperlinkHandler.ModelgetRId in interface ConversionHyperlinkHandler.Modelpublic void setRId(String rId)
setRId in interface ConversionHyperlinkHandler.Modelpublic String getTgtFrame()
ConversionHyperlinkHandler.ModelgetTgtFrame in interface ConversionHyperlinkHandler.Modelpublic void setTgtFrame(String tgtFrame)
setTgtFrame in interface ConversionHyperlinkHandler.Modelpublic String getTooltip()
ConversionHyperlinkHandler.ModelgetTooltip in interface ConversionHyperlinkHandler.Modelpublic void setTooltip(String tooltip)
setTooltip in interface ConversionHyperlinkHandler.Modelpublic Node getContent()
getContent in interface ConversionHyperlinkHandler.ModelCopyright © 2007-2020. All Rights Reserved.