3 // forester -- software libraries and applications
4 // for evolutionary biology research and applications.
6 // Copyright (C) 2008-2010 Christian M. Zmasek
7 // Copyright (C) 2008-2010 Burnham Institute for Medical Research
9 // This library is free software; you can redistribute it and/or
10 // modify it under the terms of the GNU Lesser General Public
11 // License as published by the Free Software Foundation; either
12 // version 2.1 of the License, or (at your option) any later version.
14 // This library is distributed in the hope that it will be useful,
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 // Lesser General Public License for more details.
19 // You should have received a copy of the GNU Lesser General Public
20 // License along with this library; if not, write to the Free Software
21 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23 // Contact: phylosoft @ gmail . com
24 // WWW: www.phylosoft.org
26 package org.forester.archaeopteryx.webservices;
28 import org.forester.archaeopteryx.webservices.WebservicesManager.WsPhylogenyFormat;
29 import org.forester.phylogeny.PhylogenyMethods;
31 public class BasicPhylogeniesWebserviceClient implements PhylogeniesWebserviceClient {
33 private final String _desc;
34 private final String _instructions;
35 private final String _menu_name;
36 private final String _name;
37 private final WsPhylogenyFormat _format;
38 private final String _url;
39 private final boolean _integer;
40 private final PhylogenyMethods.PhylogenyNodeField _node_field;
41 private final Object _proc_inst;
42 private final String _ref;
44 public BasicPhylogeniesWebserviceClient( final String name,
45 final String menu_name,
47 final String instructions,
48 final WsPhylogenyFormat format,
49 final PhylogenyMethods.PhylogenyNodeField node_field,
51 final boolean integer,
53 final Object proc_inst ) {
56 _instructions = instructions;
57 _menu_name = menu_name;
60 _node_field = node_field;
64 _proc_inst = proc_inst;
68 public String getDescription() {
73 public String getInstructions() {
78 public String getMenuName() {
83 public String getName() {
88 public PhylogenyMethods.PhylogenyNodeField getNodeField() {
93 public Object getProcessingInstructions() {
98 public String getReference() {
103 public WsPhylogenyFormat getReturnFormat() {
108 public String getUrl() {
113 public boolean isQueryInteger() {