public class XMLPythonAPI extends AbstractAPI
Modifier and Type | Field and Description |
---|---|
static short |
API_CLASS
A link to a class.
|
static short |
API_METHOD
A link to a method.
|
static short |
API_MODULE
A link to a module.
|
altPath, altText, api, isResolved, location, member, path, text, url
isAbsolute, isValid
TYPE_NONE
Constructor and Description |
---|
XMLPythonAPI()
Create a link to the default Python 3 API.
|
XMLPythonAPI(java.lang.String api)
Create a Python API link.
|
XMLPythonAPI(java.net.URL location)
Create a .NET API link.
|
Modifier and Type | Method and Description |
---|---|
short |
getAPIType()
Return the API type.
|
java.lang.String |
getClassName()
Return the API class name.
|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
void |
setAPIType(short type)
Set the API type.
|
void |
setClassName(java.lang.String className)
Set the API class name.
|
bind, bind, getAltPath, getAltText, getAPI, getAPILocation, getMember, getMemberPath, getPath, getShownPath, getText, getURL, hasAPI, hasAPILocation, isConstructor, isResolved, setAltPath, setConstructor, setMember, setMember, setPath
getCustomStyles, getLineNumber, isAbsolute, isValid, setCustomStyles, setLineNumber, setValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNotNullURL, getURLAsString, getURLAsString, getURLAsString
getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setInlinedStyle
hasLineNumber
public static final short API_MODULE
public static final short API_CLASS
public static final short API_METHOD
public XMLPythonAPI()
APIsSpecs.PYTHON3
public XMLPythonAPI(java.lang.String api)
api
- the .NET APIAPILocations.getPythonAPIs()
public XMLPythonAPI(java.net.URL location)
location
- the locationpublic java.lang.String getDeclaration()
public void setAPIType(short type)
type
- the API typepublic short getAPIType()
public void setClassName(java.lang.String className)
className
- the class namepublic java.lang.String getClassName()
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence