Class BasicPhylogeniesWebserviceClient
- java.lang.Object
-
- org.forester.archaeopteryx.webservices.BasicPhylogeniesWebserviceClient
-
- All Implemented Interfaces:
PhylogeniesWebserviceClient
public class BasicPhylogeniesWebserviceClient extends java.lang.Object implements PhylogeniesWebserviceClient
-
-
Field Summary
-
Fields inherited from interface org.forester.archaeopteryx.webservices.PhylogeniesWebserviceClient
QUERY_PLACEHOLDER
-
-
Constructor Summary
Constructors Constructor Description BasicPhylogeniesWebserviceClient(java.lang.String name, java.lang.String menu_name, java.lang.String desc, java.lang.String instructions, WebservicesManager.WsPhylogenyFormat format, PhylogenyMethods.PhylogenyNodeField node_field, java.lang.String url, boolean integer, java.lang.String ref, java.lang.Object proc_inst)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()A short description of the webservice (~20 characters).java.lang.StringgetInstructions()Instructions (and examples) on how to use the webservice.java.lang.StringgetMenuName()A name/description which can appear on a menu.java.lang.StringgetName()The name of the webservice.PhylogenyMethods.PhylogenyNodeFieldgetNodeField()The node data field in which to place node names from simple unannotated formats (such as Newick).java.lang.ObjectgetProcessingInstructions()This is used to indicate any kind of special processing.java.lang.StringgetReference()To get a type of reference for the webservice (an URL or citation, for example).WebservicesManager.WsPhylogenyFormatgetReturnFormat()The expected format of the response.java.lang.StringgetUrl()Use QUERY_PLACEHOLDER to indicate position of query variable.booleanisQueryInteger()Is the query a number?
-
-
-
Constructor Detail
-
BasicPhylogeniesWebserviceClient
public BasicPhylogeniesWebserviceClient(java.lang.String name, java.lang.String menu_name, java.lang.String desc, java.lang.String instructions, WebservicesManager.WsPhylogenyFormat format, PhylogenyMethods.PhylogenyNodeField node_field, java.lang.String url, boolean integer, java.lang.String ref, java.lang.Object proc_inst)
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Description copied from interface:PhylogeniesWebserviceClientA short description of the webservice (~20 characters).- Specified by:
getDescriptionin interfacePhylogeniesWebserviceClient- Returns:
- a short description of the webservice (~20 characters)
-
getInstructions
public java.lang.String getInstructions()
Description copied from interface:PhylogeniesWebserviceClientInstructions (and examples) on how to use the webservice.- Specified by:
getInstructionsin interfacePhylogeniesWebserviceClient- Returns:
- instructions (and examples) on how to use the webservice
-
getMenuName
public java.lang.String getMenuName()
Description copied from interface:PhylogeniesWebserviceClientA name/description which can appear on a menu.- Specified by:
getMenuNamein interfacePhylogeniesWebserviceClient- Returns:
- A name/description which can appear on a menu
-
getName
public java.lang.String getName()
Description copied from interface:PhylogeniesWebserviceClientThe name of the webservice.- Specified by:
getNamein interfacePhylogeniesWebserviceClient- Returns:
- the name of the webservice
-
getNodeField
public PhylogenyMethods.PhylogenyNodeField getNodeField()
Description copied from interface:PhylogeniesWebserviceClientThe node data field in which to place node names from simple unannotated formats (such as Newick). Null means avoiding any such postprocessing.- Specified by:
getNodeFieldin interfacePhylogeniesWebserviceClient- Returns:
- the field code
-
getProcessingInstructions
public java.lang.Object getProcessingInstructions()
Description copied from interface:PhylogeniesWebserviceClientThis is used to indicate any kind of special processing.- Specified by:
getProcessingInstructionsin interfacePhylogeniesWebserviceClient- Returns:
- a reference
-
getReference
public java.lang.String getReference()
Description copied from interface:PhylogeniesWebserviceClientTo get a type of reference for the webservice (an URL or citation, for example).- Specified by:
getReferencein interfacePhylogeniesWebserviceClient- Returns:
- a reference
-
getReturnFormat
public WebservicesManager.WsPhylogenyFormat getReturnFormat()
Description copied from interface:PhylogeniesWebserviceClientThe expected format of the response.- Specified by:
getReturnFormatin interfacePhylogeniesWebserviceClient- Returns:
- the expected format of the response
-
getUrl
public java.lang.String getUrl()
Description copied from interface:PhylogeniesWebserviceClientUse QUERY_PLACEHOLDER to indicate position of query variable.- Specified by:
getUrlin interfacePhylogeniesWebserviceClient- Returns:
- the URL
-
isQueryInteger
public boolean isQueryInteger()
Description copied from interface:PhylogeniesWebserviceClientIs the query a number?- Specified by:
isQueryIntegerin interfacePhylogeniesWebserviceClient- Returns:
-
-