Changeset 298 for tools

Show
Ignore:
Timestamp:
04/17/09 16:49:41 (11 months ago)
Author:
anton
Message:

Parameter values overriding implemented, GPL headers added

Location:
tools/routingservice/branches/wrs-2.0
Files:
1 removed
47 modified

Legend:

Unmodified
Added
Removed
  • tools/routingservice/branches/wrs-2.0/data/profiles.xml

    r291 r298  
    22<profiles xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    33        xsi:noNamespaceSchemaLocation="http://wrs.postlbs.org/xsd/1.1.0/profile.xsd"> 
     4         
    45        <profile name="a7391e864abf6d56c9f9b3784a88bbc7" title="My Test Profile"> 
    56                <description>My test profile I use for testing</description> 
    67                <parameters> 
    7                         <parameter name="srid" type="integer" key="srid" value="4301" /> 
     8                        <parameter name="srid" type="integer" key="srid" value="4326" /> 
    89                        <parameter name="units" type="string" key="units" value="dd" /> 
    910                </parameters> 
     
    1213                </resources> 
    1314        </profile> 
     15         
     16        <profile name="9d12c2a0e16c88b9a8d8e8f9f05350bc" title="My Test Profile"> 
     17                <description>My test profile I use for testing</description> 
     18                <parameters> 
     19                        <parameter name="srid" type="integer" key="srid" value="4326" /> 
     20                        <parameter name="units" type="string" key="units" value="dd" /> 
     21                        <parameter name="table" type="string" key="table" value="_hcc_algo_shooting_pedestrian" /> 
     22                </parameters> 
     23                <resources> 
     24                        <rref ref="pgrouting" enabled="true" /> 
     25                </resources> 
     26        </profile>       
     27         
     28        <profile name="21cbcaa6f63ecb84cc4c45f221dbf753" title="My Test Profile"> 
     29                <description>My test profile I use for testing</description> 
     30                <parameters> 
     31                        <parameter name="srid" type="integer" key="srid" value="4326" /> 
     32                        <parameter name="units" type="string" key="units" value="dd" /> 
     33                        <parameter name="table" type="string" key="table" value="_hcc_algo_shooting_tollfree" /> 
     34                </parameters> 
     35                <resources> 
     36                        <rref ref="pgrouting" enabled="true" /> 
     37                </resources> 
     38        </profile>       
    1439 
    1540</profiles> 
  • tools/routingservice/branches/wrs-2.0/data/resources.xml

    r297 r298  
    1515                        <parameter name="hasrc" type="boolean" key="hasrc" value="true" /> 
    1616                        <parameter name="table" type="string" key="table" 
    17                                 value="_hcc_algo_shooting_pedestrian" /> 
     17                                value="_hcc_algo_shooting" /> 
    1818                                 
    1919                        <parameter name="id" type="integer" key="a.gid"/> 
  • tools/routingservice/branches/wrs-2.0/data/xsd/1.1.0/profile.xsd

    r294 r298  
    5555            <xs:attribute name="type" type="xs:string"/> 
    5656            <xs:attribute name="required" type="xs:boolean"/> 
     57            <xs:attribute name="constant" type="xs:boolean"/> 
    5758            <xs:attribute name="key" type="xs:string"/>  
    5859            <xs:attribute name="value" type="xs:string"/>        
  • tools/routingservice/branches/wrs-2.0/data/xsd/1.1.0/resource.xsd

    r294 r298  
    7272                        <xs:attribute name="type" type="xs:string"/> 
    7373                        <xs:attribute name="required" type="xs:boolean"/> 
     74                        <xs:attribute name="constant" type="xs:boolean"/> 
    7475                        <xs:attribute name="key" type="xs:string"/>  
    7576                        <xs:attribute name="value" type="xs:string"/>        
  • tools/routingservice/branches/wrs-2.0/data/xsd/1.1.0/service.xsd

    r294 r298  
    7373                        <xs:attribute name="type" type="xs:string"/> 
    7474                        <xs:attribute name="required" type="xs:boolean"/> 
     75                        <xs:attribute name="constant" type="xs:boolean"/> 
    7576                        <xs:attribute name="key" type="xs:string"/>  
    7677                        <xs:attribute name="value" type="xs:string"/>        
  • tools/routingservice/branches/wrs-2.0/src/WRS.java

    r296 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118import handler.HandlerFactory; 
    219import handler.ResourceHandler; 
     
    2946import util.Parameter; 
    3047import util.ServiceRequest; 
    31 import util.URLHelper; 
    3248import util.conf.Configuration; 
    3349import util.conf.Configuration.Includes.Include; 
     
    152168                                                throw new ArrayIndexOutOfBoundsException(); 
    153169 
    154                                         Resource resource = findResource(serviceRequest); 
     170                                        Resource resource = serviceRequest.getResource(); 
    155171 
    156172                                        if (resource == null) 
     
    212228                                                } 
    213229                                        } 
    214                                          
    215                                         String templateType = serviceRequest.getTemplate().getFormat(); 
     230 
     231                                        String templateType = serviceRequest.getTemplate() 
     232                                                        .getFormat(); 
    216233                                        response.setEntity(result, MIMETypes.valueOf( 
    217234                                                        templateType.toUpperCase()).getType()); 
     
    256273                        } 
    257274                }; 
    258                 component.getDefaultHost().attach("/{version}/{profile}/{service}", restlet); 
     275                component.getDefaultHost().attach("/{version}/{profile}/{service}", 
     276                                restlet); 
    259277                component.start(); 
    260278 
     
    267285        { 
    268286                // http://<servicedomain>:<port>/<version>/<profile>/<service>.<format>?<input>={<data>} 
    269                  
     287 
    270288                String cVersion = (String) req.getAttributes().get("version"); 
    271289 
     
    283301                } 
    284302 
    285                 String sName = ((String) req.getAttributes().get("service")).split("\\.")[0]; 
     303                String sName = ((String) req.getAttributes().get("service")) 
     304                                .split("\\.")[0]; 
    286305                ArrayList csList = (ArrayList) cProfile.getServices().get(sName); 
    287306                // TODO implement a rule 
     
    293312                } 
    294313 
    295                 String tName = ((String) req.getAttributes().get("service")).split("\\.")[1]; 
     314                String tName = ((String) req.getAttributes().get("service")) 
     315                                .split("\\.")[1]; 
    296316 
    297317                Template cTemplate = cService.getTemplates().get(tName); 
     
    304324                ServiceRequest request = new ServiceRequest(cProfile, cService, 
    305325                                cTemplate); 
     326 
     327                findResource(request); 
     328 
    306329                // TODO parse and pass parameters 
     330 
     331                // Pass parameters from resource to service request 
     332                addParameters(request.getParameters(), request.getResource() 
     333                                .getParameters(), ParameterSources.RESOURCE.toString()); 
     334 
     335                // Pass parameters from profile to service request 
     336                addParameters(request.getParameters(), cProfile.getParameters(), 
     337                                ParameterSources.PROFILE.toString()); 
    307338 
    308339                Form form = new Form(); 
     
    337368                while (ni.hasNext()) 
    338369                { 
    339                         String name = ni.next(); 
    340                         String value = form.getValuesMap().get(name); 
    341                         Parameter p; 
    342  
    343                         if (request.getParameters().containsKey(name)) 
    344                         { 
    345                                 p = request.getParameters().get(name); 
    346                                 p.setValue(value); 
    347                                 p.setSource("url"); 
    348                         } 
    349                         else 
    350                         { 
    351                                 p = new Parameter(); 
    352                                 p.setSource("url"); 
    353                                 p.setName(name); 
    354                                 p.setValue(value); 
    355                                 request.getParameters().put(name, p); 
    356                         } 
     370                        String inputFormat = ni.next(); 
     371                        String inputBody = form.getValuesMap().get(inputFormat); 
    357372 
    358373                        try 
    359374                        { 
    360375                                FormatParser parser = ParserFactory.Formats.valueOf( 
    361                                                 name.toUpperCase()).getInstance(); 
    362                                 Hashtable<String, Parameter> params = parser.parse(value); 
    363                                 addParameters(request.getParameters(), params); 
     376                                                inputFormat.toUpperCase()).getInstance(); 
     377                                HashMap<String, Parameter> params = parser.parse(inputBody); 
     378                                addParameters(request.getParameters(), params, 
     379                                                ParameterSources.URL.toString()); 
    364380                        } 
    365381                        // TODO process the error more carefully 
    366382                        catch (InstantiationException e) 
    367383                        { 
    368                                 log.logger.warning("Wrong format " + name); 
     384                                log.logger.warning("Wrong format " + inputFormat); 
    369385                        } 
    370386                        catch (IllegalAccessException e) 
    371387                        { 
    372                                 log.logger.warning("Wrong format " + name); 
     388                                log.logger.warning("Wrong format " + inputFormat); 
    373389                        } 
    374390                        catch (NullPointerException e) 
    375391                        { 
    376                                 log.logger.warning("Format " + name + " is not supported yet."); 
     392                                log.logger.warning("Format " + inputFormat 
     393                                                + " is not supported yet."); 
    377394                        } 
    378395                } 
     
    381398        } 
    382399 
    383         private void addParameters(Hashtable<String, Parameter> parameters, 
    384                         Hashtable<String, Parameter> toAdd) 
     400        private void addParameters(HashMap<String, Parameter> parameters, 
     401                        HashMap<String, Parameter> toAdd, String source) 
    385402        { 
    386403                // TODO check for ability to override parameters 
     
    396413                        { 
    397414                                p = parameters.get(key); 
    398                                 p.setValue(value); 
    399                                 p.setSource("url"); 
     415                                 
     416                                if (ParameterSources.valueOf(source).compareTo( 
     417                                                ParameterSources.valueOf(p.getSource()))<=0) 
     418                                { 
     419                                        //Override parameter value only if it is allowed 
     420                                        if(p.isConstant() == null || !p.isConstant()) 
     421                                        { 
     422                                                p.setValue(value); 
     423                                                p.setSource(source); 
     424                                        } 
     425                                } 
     426                                else 
     427                                { 
     428                                        //Miracle happened and a parameter from upper level is already there 
     429                                        //Do nothing. 
     430                                        //Keep this case for the future needs. 
     431                                } 
     432                                 
    400433                        } 
    401434                        else 
    402435                        { 
    403436                                p = toAdd.get(key); 
     437                                p.setSource(source); 
    404438                                parameters.put(key, p); 
    405439                        } 
     
    560594                                                if (res != null) 
    561595                                                { 
    562                                                         Enumeration<String> pi = res.getParameters().keys(); 
    563                                                         while (pi.hasMoreElements()) 
    564                                                         { 
    565                                                                 String pk = pi.nextElement(); 
    566                                                                 profile.getParameters().put(pk, 
    567                                                                                 res.getParameters().get(pk)); 
    568                                                         } 
    569  
     596                                                        /* 
     597                                                         * Enumeration<String> pi = 
     598                                                         * res.getParameters().keys(); while 
     599                                                         * (pi.hasMoreElements()) { String pk = 
     600                                                         * pi.nextElement(); profile.getParameters().put(pk, 
     601                                                         * res.getParameters().get(pk)); } 
     602                                                         */ 
    570603                                                        Enumeration<String> si = res.getServices().keys(); 
    571604                                                        while (si.hasMoreElements()) 
     
    721754        } 
    722755 
    723         private Resource findResource(ServiceRequest serviceRequest) 
     756        private void findResource(ServiceRequest serviceRequest) 
    724757        { 
    725758                Resource resource = null; 
    726759 
    727                 Enumeration resKeys = serviceRequest.getProfile().getResources().keys(); 
    728                 while (resKeys.hasMoreElements()) 
     760                Iterator<String> resKeys = serviceRequest.getProfile().getResources().keySet().iterator(); 
     761                while (resKeys.hasNext()) 
    729762                { 
    730763                        Resource res = serviceRequest.getProfile().getResources().get( 
    731                                         resKeys.nextElement()); 
    732  
     764                                        resKeys.next()); 
     765 
     766                        // Take the first resource which has requested service 
    733767                        // TODO There could be more sophisticated rule for choosing a 
    734768                        // resource 
     769 
    735770                        if (res.getServices().containsKey( 
    736771                                        serviceRequest.getService().getName())) 
    737772                        { 
    738773                                resource = res; 
    739                                 addParameters(serviceRequest.getParameters(), res 
    740                                                 .getParameters()); 
    741774                                break; 
    742775                        } 
    743776                } 
    744777 
    745                 return resource; 
     778                serviceRequest.setResource(resource); 
    746779        } 
    747780 
  • tools/routingservice/branches/wrs-2.0/src/exception/InvalidProfileException.java

    r287 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package exception; 
    219 
  • tools/routingservice/branches/wrs-2.0/src/exception/InvalidServiceException.java

    r287 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package exception; 
    219 
  • tools/routingservice/branches/wrs-2.0/src/exception/InvalidTemplateException.java

    r287 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package exception; 
    219 
  • tools/routingservice/branches/wrs-2.0/src/exception/InvalidVersionException.java

    r287 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package exception; 
    219 
  • tools/routingservice/branches/wrs-2.0/src/geometry/Point.java

    r290 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package geometry; 
    219 
  • tools/routingservice/branches/wrs-2.0/src/handler/HandlerFactory.java

    r289 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package handler; 
    219 
  • tools/routingservice/branches/wrs-2.0/src/handler/PgRoutingHandler.java

    r294 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package handler; 
    219 
     
    144161        @Override 
    145162        public String fillQueryTemplate(String template, Service service, 
    146                         Hashtable<String, Parameter> parameters) 
     163                        HashMap<String, Parameter> parameters) 
    147164        { 
    148165                StringTemplate query = new StringTemplate(template); 
  • tools/routingservice/branches/wrs-2.0/src/handler/ResourceHandler.java

    r291 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package handler; 
    219 
     
    4562 
    4663        public abstract String fillQueryTemplate(String template, Service service, 
    47                         Hashtable<String, Parameter> parameters); 
     64                        HashMap<String, Parameter> parameters); 
    4865         
    4966        public abstract ArrayList<Point> parseGeometry(String geometry); 
  • tools/routingservice/branches/wrs-2.0/src/model/Profile.java

    r287 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package model; 
    219 
     
    1229        private String name; 
    1330        private String description; 
    14         private MultiValueMap parameters; 
    15         private Hashtable<String, Resource> resources; 
     31        private HashMap<String, Parameter> parameters; 
     32        private HashMap<String, Resource> resources; 
    1633        private MultiValueMap services;  
    1734 
     
    2138                this.name = name; 
    2239                 
    23                 HashMap<String, Parameter> pm = new HashMap<String, Parameter>(); 
    24                 parameters = MultiValueMap.decorate(pm); 
     40                parameters = new HashMap<String, Parameter>(); 
    2541                 
    2642                HashMap<String, Service> sm = new HashMap<String, Service>(); 
    2743                services = MultiValueMap.decorate(sm);           
    2844                 
    29                 //parameters = new MultiValueMap(); 
    30                 resources = new Hashtable<String, Resource>(); 
     45                resources = new HashMap<String, Resource>(); 
    3146 
    3247        } 
     
    5267        } 
    5368 
    54         public MultiValueMap getParameters() 
     69        public HashMap<String, Parameter> getParameters() 
    5570        { 
    5671                return parameters; 
    5772        } 
    5873 
    59         public Hashtable<String, Resource> getResources() 
     74        public HashMap<String, Resource> getResources() 
    6075        { 
    6176                return resources; 
  • tools/routingservice/branches/wrs-2.0/src/model/Resource.java

    r291 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package model; 
    219 
     
    623 
    724import java.lang.reflect.InvocationTargetException; 
     25import java.util.HashMap; 
    826import java.util.Hashtable; 
    927 
     
    2745        private String query; 
    2846 
    29         private Hashtable<String, Parameter> parameters; 
     47        private HashMap<String, Parameter> parameters; 
    3048        private Hashtable<String, Service> services; 
    3149 
     
    94112                } 
    95113 
    96                 parameters = new Hashtable<String, Parameter>(); 
     114                parameters = new HashMap<String, Parameter>(); 
    97115                services = new Hashtable<String, Service>(); 
    98116        } 
     
    163181        } 
    164182 
    165         public Hashtable<String, Parameter> getParameters() 
     183        public HashMap<String, Parameter> getParameters() 
    166184        { 
    167185                return parameters; 
    168186        } 
    169187 
    170         public void setParameters(Hashtable<String, Parameter> parameters) 
    171         { 
    172                 this.parameters = parameters; 
    173         } 
    174  
    175188        public Hashtable<String, Service> getServices() 
    176189        { 
  • tools/routingservice/branches/wrs-2.0/src/model/Service.java

    r294 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package model; 
    219 
  • tools/routingservice/branches/wrs-2.0/src/model/Template.java

    r294 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package model; 
    219 
  • tools/routingservice/branches/wrs-2.0/src/util/IOHelper.java

    r287 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package util; 
    219 
  • tools/routingservice/branches/wrs-2.0/src/util/Log.java

    r285 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package util; 
    219 
  • tools/routingservice/branches/wrs-2.0/src/util/ObjectPool.java

    r290 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package util; 
    219 
  • tools/routingservice/branches/wrs-2.0/src/util/Parameter.java

    r285 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
     18 
    119// 
    220// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6  
     
    523// Generated on: 2009.03.25 at 04:41:37 PM JST  
    624// 
    7  
    825 
    926package util; 
     
    2845 *       &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> 
    2946 *       &lt;attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 
     47 *       &lt;attribute name="constant" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 
    3048 *       &lt;attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" /> 
    3149 *       &lt;attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /> 
     
    5977    protected Boolean required; 
    6078    @XmlAttribute 
     79    protected Boolean constant; 
     80    @XmlAttribute 
    6181    protected String key; 
    6282    @XmlAttribute 
     
    138158 
    139159    /** 
     160     * Gets the value of the required property. 
     161     *  
     162     * @return 
     163     *     possible object is 
     164     *     {@link Boolean } 
     165     *      
     166     */ 
     167    public Boolean isConstant() { 
     168        return constant; 
     169    } 
     170 
     171    /** 
     172     * Sets the value of the required property. 
     173     *  
     174     * @param value 
     175     *     allowed object is 
     176     *     {@link Boolean } 
     177     *      
     178     */ 
     179    public void setConstant(Boolean value) { 
     180        this.constant = value; 
     181    } 
     182     
     183    /** 
    140184     * Gets the value of the key property. 
    141185     *  
  • tools/routingservice/branches/wrs-2.0/src/util/ServiceRequest.java

    r290 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package util; 
    219 
     20import java.util.HashMap; 
    321import java.util.Hashtable; 
    422import java.util.Vector; 
    523 
    624import model.Profile; 
     25import model.Resource; 
    726import model.Service; 
    827import model.Template; 
     
    1231        private Profile profile; 
    1332        private Service service; 
     33        private Resource resource; 
    1434        private Template template; 
    15         private Hashtable<String, Parameter> parameters; 
     35        private HashMap<String, Parameter> parameters; 
    1636 
    1737        public ServiceRequest(Profile profile, Service service, Template template) 
     
    2141                this.service = service; 
    2242                this.template = template; 
    23                 this.parameters = new Hashtable<String, Parameter>(); 
     43                this.parameters = new HashMap<String, Parameter>(); 
    2444        } 
    2545 
    26         public Hashtable<String, Parameter> getParameters() 
     46        public HashMap<String, Parameter> getParameters() 
    2747        { 
    2848                return parameters; 
     
    4464        } 
    4565 
     66        public Resource getResource() 
     67        { 
     68                return resource; 
     69        } 
     70 
     71        public void setResource(Resource resource) 
     72        { 
     73                this.resource = resource; 
     74        } 
    4675} 
  • tools/routingservice/branches/wrs-2.0/src/util/Sref.java

    r287 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118// 
    219// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6  
  • tools/routingservice/branches/wrs-2.0/src/util/conf/Configuration.java

    r285 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118// 
    219// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6  
  • tools/routingservice/branches/wrs-2.0/src/util/conf/ObjectFactory.java

    r285 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118// 
    219// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6  
  • tools/routingservice/branches/wrs-2.0/src/util/db/JDBCConnectionPool.java

    r289 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package util.db; 
    219 
  • tools/routingservice/branches/wrs-2.0/src/util/format/FillerFactory.java

    r297 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package util.format; 
    219 
  • tools/routingservice/branches/wrs-2.0/src/util/format/FormatParser.java

    r294 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package util.format; 
    219 
     20import java.util.HashMap; 
    321import java.util.Hashtable; 
    422import java.util.Iterator; 
     
    1331                POINTS, LINES, ADDRESSES, DISTANCE, UOM, LOCALE, CRS, REQUEST_ID, CREDENTIALS; 
    1432        } 
     33 
    1534        protected abstract Vector<Parameter> parseInput(String text); 
    16          
    17         public Hashtable<String, Parameter> parse(String text) 
     35 
     36        public HashMap<String, Parameter> parse(String text) 
    1837        { 
    19                 Hashtable<String, Parameter> parameters = new Hashtable<String, Parameter>(); 
     38                HashMap<String, Parameter> parameters = new HashMap<String, Parameter>(); 
    2039                Vector<Parameter> parsed = parseInput(text); 
    2140                Iterator<Parameter> i = parsed.iterator(); 
     
    2342                { 
    2443                        Parameter param = i.next(); 
    25                         parameters.put(param.getName(),param); 
     44                        parameters.put(param.getName(), param); 
    2645                } 
    27                  
     46 
    2847                return parameters; 
    2948        } 
  • tools/routingservice/branches/wrs-2.0/src/util/format/GMLTemplateFiller.java

    r290 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package util.format; 
    219 
  • tools/routingservice/branches/wrs-2.0/src/util/format/GPXTemplateFiller.java

    r297 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package util.format; 
    219 
  • tools/routingservice/branches/wrs-2.0/src/util/format/GeoJSONParser.java

    r290 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package util.format; 
    219 
  • tools/routingservice/branches/wrs-2.0/src/util/format/GeoJSONTemplateFiller.java

    r297 r298  
    11package util.format; 
     2 
     3/*  WRS 2.0 
     4 *  Copyright (C) 2009 Anton Patrushev 
     5 * 
     6 * This program is free software; you can redistribute it and/or modify 
     7 * it under the terms of the GNU General Public License as published by 
     8 * the Free Software Foundation; either version 3 of the License, or 
     9 * (at your option) any later version. 
     10 * 
     11 * This program is distributed in the hope that it will be useful, 
     12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     14 * GNU General Public License for more details. 
     15 * 
     16 * You should have received a copy of the GNU General Public License 
     17 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     18 */ 
    219 
    320import geometry.Point; 
  • tools/routingservice/branches/wrs-2.0/src/util/format/JSONParser.java

    r294 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package util.format; 
    219 
  • tools/routingservice/branches/wrs-2.0/src/util/format/KMLTemplateFiller.java

    r295 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package util.format; 
    219 
  • tools/routingservice/branches/wrs-2.0/src/util/format/ParserFactory.java

    r294 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package util.format; 
    219 
  • tools/routingservice/branches/wrs-2.0/src/util/format/TemplateFiller.java

    r290 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package util.format; 
    219 
  • tools/routingservice/branches/wrs-2.0/src/util/format/XLSTemplateFiller.java

    r297 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118package util.format; 
    219 
  • tools/routingservice/branches/wrs-2.0/src/util/profile/ObjectFactory.java

    r285 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118// 
    219// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6  
  • tools/routingservice/branches/wrs-2.0/src/util/profile/Profiles.java

    r285 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118// 
    219// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6  
  • tools/routingservice/branches/wrs-2.0/src/util/resource/ObjectFactory.java

    r287 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118// 
    219// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6  
  • tools/routingservice/branches/wrs-2.0/src/util/resource/Resources.java

    r287 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118// 
    219// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6  
  • tools/routingservice/branches/wrs-2.0/src/util/service/ObjectFactory.java

    r294 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118// 
    219// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6  
  • tools/routingservice/branches/wrs-2.0/src/util/service/Services.java

    r294 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118// 
    219// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6  
  • tools/routingservice/branches/wrs-2.0/src/util/service/Template.java

    r294 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118// 
    219// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6  
  • tools/routingservice/branches/wrs-2.0/src/util/template/ObjectFactory.java

    r287 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118// 
    219// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6  
  • tools/routingservice/branches/wrs-2.0/src/util/template/Templates.java

    r287 r298  
     1/*  WRS 2.0 
     2 *  Copyright (C) 2009 Anton Patrushev 
     3 * 
     4 * This program is free software; you can redistribute it and/or modify 
     5 * it under the terms of the GNU General Public License as published by 
     6 * the Free Software Foundation; either version 3 of the License, or 
     7 * (at your option) any later version. 
     8 * 
     9 * This program is distributed in the hope that it will be useful, 
     10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
     12 * GNU General Public License for more details. 
     13 * 
     14 * You should have received a copy of the GNU General Public License 
     15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 
     16 */ 
     17 
    118// 
    219// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6