public abstract class AbstractAPI extends AbstractLink
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
altPath
The alternate API link path.
|
protected java.lang.String |
altText
The API alternate text.
|
protected java.lang.String |
api
The API (may be null is
location is not null). |
protected boolean |
isResolved
True if the API is resolved.
|
protected java.net.URL |
location
The API location (may be null is
api is not null). |
protected APIMember |
member
The API member.
|
protected java.lang.String |
path
The API link path.
|
protected java.lang.String |
text
The API text.
|
protected java.net.URL |
url
The API URL.
|
isAbsolute, isValid
TYPE_NONE
Constructor and Description |
---|
AbstractAPI() |
Modifier and Type | Method and Description |
---|---|
void |
bind(java.lang.String text,
java.lang.String altText)
Set the API path associated text.
|
void |
bind(java.net.URL url,
java.lang.String text,
java.lang.String altText)
Bind the API path URL.
|
java.lang.String |
getAltPath()
Return the API alternate path.
|
java.lang.String |
getAltText()
Return the link description alternate text.
|
java.lang.String |
getAPI()
Return the API name.May be null if
getAPILocation() is not null. |
java.net.URL |
getAPILocation()
Return the API location.
|
APIMember |
getMember()
Return the API member.
|
java.lang.String |
getMemberPath()
Return the API member.
|
java.lang.String |
getPath()
Return the API link path.
|
java.lang.String |
getShownPath()
Return the API shown path.
|
java.lang.String |
getText()
Return the link description text.
|
java.net.URL |
getURL()
Return the link URL.
|
boolean |
hasAPI()
Return true if there is a specified API.
|
boolean |
hasAPILocation()
Return true if the API has a location.
|
boolean |
isConstructor()
Return true if the API desgins a constructor.
|
boolean |
isResolved()
Return true if the API is resolved.
|
void |
setAltPath(java.lang.String altPath)
Set the API alternate path.
|
void |
setConstructor(boolean isConstructor)
Set if the API desgins a constructor.
|
void |
setMember(APIMember member)
Set the API member.
|
void |
setMember(java.lang.String member)
Set the API member.
|
void |
setPath(java.lang.String path)
Set the API path.
|
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.lang.String api
location
is not null).protected java.net.URL location
api
is not null).protected java.net.URL url
protected java.lang.String text
protected java.lang.String altText
protected java.lang.String path
protected java.lang.String altPath
protected boolean isResolved
protected APIMember member
public java.lang.String getAPI()
getAPILocation()
is not null.public boolean hasAPI()
public boolean hasAPILocation()
public java.net.URL getAPILocation()
getAPI()
is not null.public void setPath(java.lang.String path)
path
- the API pathpublic java.lang.String getPath()
public java.lang.String getShownPath()
public void setAltPath(java.lang.String altPath)
altPath
- the API alternate pathpublic java.lang.String getAltPath()
public void setConstructor(boolean isConstructor)
isConstructor
- true if the API desgins a constructorpublic boolean isConstructor()
public void bind(java.lang.String text, java.lang.String altText)
text
- the textaltText
- the alt textpublic void bind(java.net.URL url, java.lang.String text, java.lang.String altText)
url
- the URLtext
- the textaltText
- the alt textpublic boolean isResolved()
public java.lang.String getText()
public java.lang.String getAltText()
public java.net.URL getURL()
public void setMember(APIMember member)
member
- the API memberpublic void setMember(java.lang.String member)
member
- the API memberpublic APIMember getMember()
public java.lang.String getMemberPath()
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence