Class BasicPhylogeniesWebserviceClient
java.lang.Object
org.forester.archaeopteryx.webservices.BasicPhylogeniesWebserviceClient
- All Implemented Interfaces:
PhylogeniesWebserviceClient
-
Field Summary
Fields inherited from interface org.forester.archaeopteryx.webservices.PhylogeniesWebserviceClient
QUERY_PLACEHOLDER
-
Constructor Summary
ConstructorDescriptionBasicPhylogeniesWebserviceClient
(String name, String menu_name, String desc, String instructions, WebservicesManager.WsPhylogenyFormat format, PhylogenyMethods.PhylogenyNodeField node_field, String url, boolean integer, String ref, Object proc_inst) -
Method Summary
Modifier and TypeMethodDescriptionA short description of the webservice (~20 characters).Instructions (and examples) on how to use the webservice.A name/description which can appear on a menu.getName()
The name of the webservice.The node data field in which to place node names from simple unannotated formats (such as Newick).This is used to indicate any kind of special processing.To get a type of reference for the webservice (an URL or citation, for example).The expected format of the response.getUrl()
Use QUERY_PLACEHOLDER to indicate position of query variable.boolean
Is the query a number?
-
Constructor Details
-
BasicPhylogeniesWebserviceClient
public BasicPhylogeniesWebserviceClient(String name, String menu_name, String desc, String instructions, WebservicesManager.WsPhylogenyFormat format, PhylogenyMethods.PhylogenyNodeField node_field, String url, boolean integer, String ref, Object proc_inst)
-
-
Method Details
-
getDescription
Description copied from interface:PhylogeniesWebserviceClient
A short description of the webservice (~20 characters).- Specified by:
getDescription
in interfacePhylogeniesWebserviceClient
- Returns:
- a short description of the webservice (~20 characters)
-
getInstructions
Description copied from interface:PhylogeniesWebserviceClient
Instructions (and examples) on how to use the webservice.- Specified by:
getInstructions
in interfacePhylogeniesWebserviceClient
- Returns:
- instructions (and examples) on how to use the webservice
-
getMenuName
Description copied from interface:PhylogeniesWebserviceClient
A name/description which can appear on a menu.- Specified by:
getMenuName
in interfacePhylogeniesWebserviceClient
- Returns:
- A name/description which can appear on a menu
-
getName
Description copied from interface:PhylogeniesWebserviceClient
The name of the webservice.- Specified by:
getName
in interfacePhylogeniesWebserviceClient
- Returns:
- the name of the webservice
-
getNodeField
Description copied from interface:PhylogeniesWebserviceClient
The node data field in which to place node names from simple unannotated formats (such as Newick). Null means avoiding any such postprocessing.- Specified by:
getNodeField
in interfacePhylogeniesWebserviceClient
- Returns:
- the field code
-
getProcessingInstructions
Description copied from interface:PhylogeniesWebserviceClient
This is used to indicate any kind of special processing.- Specified by:
getProcessingInstructions
in interfacePhylogeniesWebserviceClient
- Returns:
- a reference
-
getReference
Description copied from interface:PhylogeniesWebserviceClient
To get a type of reference for the webservice (an URL or citation, for example).- Specified by:
getReference
in interfacePhylogeniesWebserviceClient
- Returns:
- a reference
-
getReturnFormat
Description copied from interface:PhylogeniesWebserviceClient
The expected format of the response.- Specified by:
getReturnFormat
in interfacePhylogeniesWebserviceClient
- Returns:
- the expected format of the response
-
getUrl
Description copied from interface:PhylogeniesWebserviceClient
Use QUERY_PLACEHOLDER to indicate position of query variable.- Specified by:
getUrl
in interfacePhylogeniesWebserviceClient
- Returns:
- the URL
-
isQueryInteger
public boolean isQueryInteger()Description copied from interface:PhylogeniesWebserviceClient
Is the query a number?- Specified by:
isQueryInteger
in interfacePhylogeniesWebserviceClient
- Returns:
-