public abstract class AbstractWikiLink extends AbstractLink
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
path
The link path.
|
protected java.lang.String |
text
The link text.
|
protected java.net.URL |
url
The link URL.
|
isAbsolute, isValid
TYPE_NONE
Constructor and Description |
---|
AbstractWikiLink() |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
setPath(java.lang.String path)
Set the link path.
|
void |
setText(java.lang.String text)
Set the link description text.
|
getCustomStyles, getLineNumber, isAbsolute, isValid, setCustomStyles, setLineNumber, setValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNotNullURL, getURLAsString, getURLAsString, getURLAsString
getDeclaration, getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setInlinedStyle
hasLineNumber
protected java.net.URL url
protected java.lang.String text
protected java.lang.String path
public void setText(java.lang.String text)
text
- the link description textpublic java.net.URL getURL()
public java.lang.String getText()
public void setPath(java.lang.String path)
path
- the link pathpublic java.lang.String getPath()
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence