public class XMLArchiveURL extends XMLExternalLink
isAbsolute, isValidTYPE_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, setURLgetCustomStyles, getLineNumber, isAbsolute, isValid, setCustomStyles, setLineNumber, setValidclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetURLAsString, getURLAsStringgetInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setInlinedStylehasLineNumberpublic 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 StyledElementgetDeclaration in class XMLExternalLinkpublic void bind(java.lang.String urlS,
java.net.URL url,
boolean isAbsolute)
bind in class XMLExternalLinkurlS - the URL as Stringurl - the URLisAbsolute - true for an absolute URLpublic void bind(java.lang.String urlS,
java.net.URL url)
bind in interface URLLinkElementbind in class XMLExternalLinkurlS - the URL as Stringurl - the URLCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence