public class XMLExternalLink
extends org.docgene.model.AbstractLink
implements org.docgene.model.URLLinkElement
TYPE_NONE| Constructor and Description |
|---|
XMLExternalLink() |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(java.lang.String urlS,
java.net.URL url)
Bind an URL for the link.
|
void |
bind(java.lang.String urlS,
java.net.URL url,
boolean isAbsolute)
Bind an URL for the link.
|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
java.lang.String |
getPath()
Return the link path.
|
java.lang.String |
getText()
Return the link description text.
|
java.net.URL |
getURL()
Return the link URL.
|
java.lang.String |
getURLAsString()
Return the complete link URL as a String.
|
void |
setText(java.lang.String text)
Set the link description text.
|
void |
setURL(java.net.URL url)
Set the link URL.
|
getCustomStyles, getLineNumber, isAbsolute, isValid, setCustomStyles, setLineNumber, setValidclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNotNullURL, getURLAsString, getURLAsStringgetInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setInlinedStylepublic java.lang.String getDeclaration()
getDeclaration in interface StyledElementpublic void setText(java.lang.String text)
text - the link description textpublic java.net.URL getURL()
getURL in interface org.docgene.model.ExternalLinkgetURL in interface org.docgene.model.URLLinkElementpublic java.lang.String getText()
getText in interface org.docgene.model.ExternalLinkpublic void setURL(java.net.URL url)
url - the URLpublic java.lang.String getPath()
getPath in interface org.docgene.model.ExternalLinkpublic java.lang.String getURLAsString()
getURL() and return the String value of the URL.getURLAsString in interface org.docgene.model.ExternalLinkpublic void bind(java.lang.String urlS,
java.net.URL url,
boolean isAbsolute)
urlS - the URL as Stringurl - the URLisAbsolute - true for an absolute URLpublic void bind(java.lang.String urlS,
java.net.URL url)
bind in interface org.docgene.model.URLLinkElementurlS - the URL as Stringurl - the URLCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence