public class XMLWikipediaLink extends AbstractWikiLink
path, text, url
isAbsolute, isValid
TYPE_NONE
Constructor and Description |
---|
XMLWikipediaLink() |
Modifier and Type | Method and Description |
---|---|
void |
bind()
Bind the link URL.
|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
java.lang.String |
getLang()
Return the link lang.
|
java.lang.String |
getURLAsString()
Return the complete link URL as a String.
|
void |
setLang(java.lang.String lang)
Set the link lang.
|
getPath, getText, getURL, setPath, setText
getCustomStyles, getLineNumber, isAbsolute, isValid, setCustomStyles, setLineNumber, setValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNotNullURL, getURLAsString, getURLAsString
getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setInlinedStyle
hasLineNumber
public java.lang.String getDeclaration()
public void setLang(java.lang.String lang)
lang
- the link langpublic java.lang.String getLang()
public void bind() throws java.net.MalformedURLException
java.net.MalformedURLException
- if the path is an invalid URLpublic java.lang.String getURLAsString()
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence