public class XMLArchiveURL extends XMLExternalLink
TYPE_NONE
Constructor and Description |
---|
XMLArchiveURL() |
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.net.URL |
constructRequestURL()
Construct the request to ask for the file in the archive.
|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
java.net.URL |
getNotNullURL()
Return a not null link URL.
|
java.lang.String |
getOriginalLink()
Return the original article link.
|
java.lang.String |
getOriginalLink(java.lang.String urlS)
Return the original article link.
|
long |
getTimestamp()
Return the time stamp.
|
boolean |
hasTimestamp()
Return true if there is a timestamp.
|
void |
setOriginalLink(java.lang.String urlS)
Set the original article link.
|
getPath, getText, getURL, getURLAsString, setText, setURL
getCustomStyles, getLineNumber, isAbsolute, isValid, setCustomStyles, setLineNumber, setValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setInlinedStyle
public void setOriginalLink(java.lang.String urlS)
urlS
- the original article linkpublic boolean hasTimestamp()
public java.net.URL getNotNullURL()
XMLExternalLink.getURL()
.public java.lang.String getOriginalLink(java.lang.String urlS)
urlS
- the urlpublic java.net.URL constructRequestURL()
public long getTimestamp()
public java.lang.String getOriginalLink()
public java.lang.String getDeclaration()
getDeclaration
in interface StyledElement
getDeclaration
in class XMLExternalLink
public void bind(java.lang.String urlS, java.net.URL url, boolean isAbsolute)
bind
in class XMLExternalLink
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.URLLinkElement
bind
in class XMLExternalLink
urlS
- the URL as Stringurl
- the URLCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence