Package org.docx4j.dml
Class CTHyperlink
java.lang.Object
org.docx4j.dml.CTHyperlink
- All Implemented Interfaces:
Child
public class CTHyperlink extends java.lang.Object implements Child
Java class for CT_Hyperlink complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Hyperlink">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="snd" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_EmbeddedWAVAudioFile" minOccurs="0"/>
<element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
</sequence>
<attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id"/>
<attribute name="invalidUrl" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
<attribute name="action" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
<attribute name="tgtFrame" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
<attribute name="tooltip" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
<attribute name="history" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="highlightClick" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="endSnd" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringactionprotected java.lang.BooleanendSndprotected CTOfficeArtExtensionListextLstprotected java.lang.BooleanhighlightClickprotected java.lang.Booleanhistoryprotected java.lang.Stringidprotected java.lang.StringinvalidUrlprotected CTEmbeddedWAVAudioFilesndprotected java.lang.StringtgtFrameprotected java.lang.Stringtooltip -
Constructor Summary
Constructors Constructor Description CTHyperlink() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.java.lang.StringgetAction()Gets the value of the action property.CTOfficeArtExtensionListgetExtLst()Gets the value of the extLst property.java.lang.StringgetId()Drawing Object Hyperlink Targetjava.lang.StringgetInvalidUrl()Gets the value of the invalidUrl property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.CTEmbeddedWAVAudioFilegetSnd()Gets the value of the snd property.java.lang.StringgetTgtFrame()Gets the value of the tgtFrame property.java.lang.StringgetTooltip()Gets the value of the tooltip property.booleanisEndSnd()Gets the value of the endSnd property.booleanisHighlightClick()Gets the value of the highlightClick property.booleanisHistory()Gets the value of the history property.voidsetAction(java.lang.String value)Sets the value of the action property.voidsetEndSnd(java.lang.Boolean value)Sets the value of the endSnd property.voidsetExtLst(CTOfficeArtExtensionList value)Sets the value of the extLst property.voidsetHighlightClick(java.lang.Boolean value)Sets the value of the highlightClick property.voidsetHistory(java.lang.Boolean value)Sets the value of the history property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetInvalidUrl(java.lang.String value)Sets the value of the invalidUrl property.voidsetParent(java.lang.Object parent)voidsetSnd(CTEmbeddedWAVAudioFile value)Sets the value of the snd property.voidsetTgtFrame(java.lang.String value)Sets the value of the tgtFrame property.voidsetTooltip(java.lang.String value)Sets the value of the tooltip property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
snd
-
extLst
-
id
protected java.lang.String id -
invalidUrl
protected java.lang.String invalidUrl -
action
protected java.lang.String action -
tgtFrame
protected java.lang.String tgtFrame -
tooltip
protected java.lang.String tooltip -
history
protected java.lang.Boolean history -
highlightClick
protected java.lang.Boolean highlightClick -
endSnd
protected java.lang.Boolean endSnd
-
-
Constructor Details
-
CTHyperlink
public CTHyperlink()
-
-
Method Details
-
getSnd
Gets the value of the snd property.- Returns:
- possible object is
CTEmbeddedWAVAudioFile
-
setSnd
Sets the value of the snd property.- Parameters:
value- allowed object isCTEmbeddedWAVAudioFile
-
getExtLst
Gets the value of the extLst property.- Returns:
- possible object is
CTOfficeArtExtensionList
-
setExtLst
Sets the value of the extLst property.- Parameters:
value- allowed object isCTOfficeArtExtensionList
-
getId
public java.lang.String getId()Drawing Object Hyperlink Target- Returns:
- possible object is
String
-
setId
public void setId(java.lang.String value)Sets the value of the id property.- Parameters:
value- allowed object isString
-
getInvalidUrl
public java.lang.String getInvalidUrl()Gets the value of the invalidUrl property.- Returns:
- possible object is
String
-
setInvalidUrl
public void setInvalidUrl(java.lang.String value)Sets the value of the invalidUrl property.- Parameters:
value- allowed object isString
-
getAction
public java.lang.String getAction()Gets the value of the action property.- Returns:
- possible object is
String
-
setAction
public void setAction(java.lang.String value)Sets the value of the action property.- Parameters:
value- allowed object isString
-
getTgtFrame
public java.lang.String getTgtFrame()Gets the value of the tgtFrame property.- Returns:
- possible object is
String
-
setTgtFrame
public void setTgtFrame(java.lang.String value)Sets the value of the tgtFrame property.- Parameters:
value- allowed object isString
-
getTooltip
public java.lang.String getTooltip()Gets the value of the tooltip property.- Returns:
- possible object is
String
-
setTooltip
public void setTooltip(java.lang.String value)Sets the value of the tooltip property.- Parameters:
value- allowed object isString
-
isHistory
public boolean isHistory()Gets the value of the history property.- Returns:
- possible object is
Boolean
-
setHistory
public void setHistory(java.lang.Boolean value)Sets the value of the history property.- Parameters:
value- allowed object isBoolean
-
isHighlightClick
public boolean isHighlightClick()Gets the value of the highlightClick property.- Returns:
- possible object is
Boolean
-
setHighlightClick
public void setHighlightClick(java.lang.Boolean value)Sets the value of the highlightClick property.- Parameters:
value- allowed object isBoolean
-
isEndSnd
public boolean isEndSnd()Gets the value of the endSnd property.- Returns:
- possible object is
Boolean
-
setEndSnd
public void setEndSnd(java.lang.Boolean value)Sets the value of the endSnd property.- Parameters:
value- allowed object isBoolean
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-