- Timestamp:
- 04/17/09 16:49:41 (11 months ago)
- Location:
- tools/routingservice/branches/wrs-2.0
- Files:
-
- 1 removed
- 47 modified
-
data/profiles.xml (modified) (2 diffs)
-
data/resources.xml (modified) (1 diff)
-
data/xsd/1.1.0/profile.xsd (modified) (1 diff)
-
data/xsd/1.1.0/resource.xsd (modified) (1 diff)
-
data/xsd/1.1.0/service.xsd (modified) (1 diff)
-
src/WRS.java (modified) (14 diffs)
-
src/exception/InvalidProfileException.java (modified) (1 diff)
-
src/exception/InvalidServiceException.java (modified) (1 diff)
-
src/exception/InvalidTemplateException.java (modified) (1 diff)
-
src/exception/InvalidVersionException.java (modified) (1 diff)
-
src/geometry/Point.java (modified) (1 diff)
-
src/handler/HandlerFactory.java (modified) (1 diff)
-
src/handler/PgRoutingHandler.java (modified) (2 diffs)
-
src/handler/ResourceHandler.java (modified) (2 diffs)
-
src/model/Profile.java (modified) (4 diffs)
-
src/model/Resource.java (modified) (5 diffs)
-
src/model/Service.java (modified) (1 diff)
-
src/model/Template.java (modified) (1 diff)
-
src/util/IOHelper.java (modified) (1 diff)
-
src/util/Log.java (modified) (1 diff)
-
src/util/ObjectPool.java (modified) (1 diff)
-
src/util/Parameter.java (modified) (5 diffs)
-
src/util/ServiceRequest.java (modified) (4 diffs)
-
src/util/Sref.java (modified) (1 diff)
-
src/util/URLHelper.java (deleted)
-
src/util/conf/Configuration.java (modified) (1 diff)
-
src/util/conf/ObjectFactory.java (modified) (1 diff)
-
src/util/db/JDBCConnectionPool.java (modified) (1 diff)
-
src/util/format/FillerFactory.java (modified) (1 diff)
-
src/util/format/FormatParser.java (modified) (3 diffs)
-
src/util/format/GMLTemplateFiller.java (modified) (1 diff)
-
src/util/format/GPXTemplateFiller.java (modified) (1 diff)
-
src/util/format/GeoJSONParser.java (modified) (1 diff)
-
src/util/format/GeoJSONTemplateFiller.java (modified) (1 diff)
-
src/util/format/JSONParser.java (modified) (1 diff)
-
src/util/format/KMLTemplateFiller.java (modified) (1 diff)
-
src/util/format/ParserFactory.java (modified) (1 diff)
-
src/util/format/TemplateFiller.java (modified) (1 diff)
-
src/util/format/XLSTemplateFiller.java (modified) (1 diff)
-
src/util/profile/ObjectFactory.java (modified) (1 diff)
-
src/util/profile/Profiles.java (modified) (1 diff)
-
src/util/resource/ObjectFactory.java (modified) (1 diff)
-
src/util/resource/Resources.java (modified) (1 diff)
-
src/util/service/ObjectFactory.java (modified) (1 diff)
-
src/util/service/Services.java (modified) (1 diff)
-
src/util/service/Template.java (modified) (1 diff)
-
src/util/template/ObjectFactory.java (modified) (1 diff)
-
src/util/template/Templates.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tools/routingservice/branches/wrs-2.0/data/profiles.xml
r291 r298 2 2 <profiles xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 3 3 xsi:noNamespaceSchemaLocation="http://wrs.postlbs.org/xsd/1.1.0/profile.xsd"> 4 4 5 <profile name="a7391e864abf6d56c9f9b3784a88bbc7" title="My Test Profile"> 5 6 <description>My test profile I use for testing</description> 6 7 <parameters> 7 <parameter name="srid" type="integer" key="srid" value="43 01" />8 <parameter name="srid" type="integer" key="srid" value="4326" /> 8 9 <parameter name="units" type="string" key="units" value="dd" /> 9 10 </parameters> … … 12 13 </resources> 13 14 </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> 14 39 15 40 </profiles> -
tools/routingservice/branches/wrs-2.0/data/resources.xml
r297 r298 15 15 <parameter name="hasrc" type="boolean" key="hasrc" value="true" /> 16 16 <parameter name="table" type="string" key="table" 17 value="_hcc_algo_shooting _pedestrian" />17 value="_hcc_algo_shooting" /> 18 18 19 19 <parameter name="id" type="integer" key="a.gid"/> -
tools/routingservice/branches/wrs-2.0/data/xsd/1.1.0/profile.xsd
r294 r298 55 55 <xs:attribute name="type" type="xs:string"/> 56 56 <xs:attribute name="required" type="xs:boolean"/> 57 <xs:attribute name="constant" type="xs:boolean"/> 57 58 <xs:attribute name="key" type="xs:string"/> 58 59 <xs:attribute name="value" type="xs:string"/> -
tools/routingservice/branches/wrs-2.0/data/xsd/1.1.0/resource.xsd
r294 r298 72 72 <xs:attribute name="type" type="xs:string"/> 73 73 <xs:attribute name="required" type="xs:boolean"/> 74 <xs:attribute name="constant" type="xs:boolean"/> 74 75 <xs:attribute name="key" type="xs:string"/> 75 76 <xs:attribute name="value" type="xs:string"/> -
tools/routingservice/branches/wrs-2.0/data/xsd/1.1.0/service.xsd
r294 r298 73 73 <xs:attribute name="type" type="xs:string"/> 74 74 <xs:attribute name="required" type="xs:boolean"/> 75 <xs:attribute name="constant" type="xs:boolean"/> 75 76 <xs:attribute name="key" type="xs:string"/> 76 77 <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 1 18 import handler.HandlerFactory; 2 19 import handler.ResourceHandler; … … 29 46 import util.Parameter; 30 47 import util.ServiceRequest; 31 import util.URLHelper;32 48 import util.conf.Configuration; 33 49 import util.conf.Configuration.Includes.Include; … … 152 168 throw new ArrayIndexOutOfBoundsException(); 153 169 154 Resource resource = findResource(serviceRequest);170 Resource resource = serviceRequest.getResource(); 155 171 156 172 if (resource == null) … … 212 228 } 213 229 } 214 215 String templateType = serviceRequest.getTemplate().getFormat(); 230 231 String templateType = serviceRequest.getTemplate() 232 .getFormat(); 216 233 response.setEntity(result, MIMETypes.valueOf( 217 234 templateType.toUpperCase()).getType()); … … 256 273 } 257 274 }; 258 component.getDefaultHost().attach("/{version}/{profile}/{service}", restlet); 275 component.getDefaultHost().attach("/{version}/{profile}/{service}", 276 restlet); 259 277 component.start(); 260 278 … … 267 285 { 268 286 // http://<servicedomain>:<port>/<version>/<profile>/<service>.<format>?<input>={<data>} 269 287 270 288 String cVersion = (String) req.getAttributes().get("version"); 271 289 … … 283 301 } 284 302 285 String sName = ((String) req.getAttributes().get("service")).split("\\.")[0]; 303 String sName = ((String) req.getAttributes().get("service")) 304 .split("\\.")[0]; 286 305 ArrayList csList = (ArrayList) cProfile.getServices().get(sName); 287 306 // TODO implement a rule … … 293 312 } 294 313 295 String tName = ((String) req.getAttributes().get("service")).split("\\.")[1]; 314 String tName = ((String) req.getAttributes().get("service")) 315 .split("\\.")[1]; 296 316 297 317 Template cTemplate = cService.getTemplates().get(tName); … … 304 324 ServiceRequest request = new ServiceRequest(cProfile, cService, 305 325 cTemplate); 326 327 findResource(request); 328 306 329 // 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()); 307 338 308 339 Form form = new Form(); … … 337 368 while (ni.hasNext()) 338 369 { 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); 357 372 358 373 try 359 374 { 360 375 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()); 364 380 } 365 381 // TODO process the error more carefully 366 382 catch (InstantiationException e) 367 383 { 368 log.logger.warning("Wrong format " + name);384 log.logger.warning("Wrong format " + inputFormat); 369 385 } 370 386 catch (IllegalAccessException e) 371 387 { 372 log.logger.warning("Wrong format " + name);388 log.logger.warning("Wrong format " + inputFormat); 373 389 } 374 390 catch (NullPointerException e) 375 391 { 376 log.logger.warning("Format " + name + " is not supported yet."); 392 log.logger.warning("Format " + inputFormat 393 + " is not supported yet."); 377 394 } 378 395 } … … 381 398 } 382 399 383 private void addParameters(Hash table<String, Parameter> parameters,384 Hash table<String, Parameter> toAdd)400 private void addParameters(HashMap<String, Parameter> parameters, 401 HashMap<String, Parameter> toAdd, String source) 385 402 { 386 403 // TODO check for ability to override parameters … … 396 413 { 397 414 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 400 433 } 401 434 else 402 435 { 403 436 p = toAdd.get(key); 437 p.setSource(source); 404 438 parameters.put(key, p); 405 439 } … … 560 594 if (res != null) 561 595 { 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 */ 570 603 Enumeration<String> si = res.getServices().keys(); 571 604 while (si.hasMoreElements()) … … 721 754 } 722 755 723 private ResourcefindResource(ServiceRequest serviceRequest)756 private void findResource(ServiceRequest serviceRequest) 724 757 { 725 758 Resource resource = null; 726 759 727 Enumeration resKeys = serviceRequest.getProfile().getResources().keys();728 while (resKeys.has MoreElements())760 Iterator<String> resKeys = serviceRequest.getProfile().getResources().keySet().iterator(); 761 while (resKeys.hasNext()) 729 762 { 730 763 Resource res = serviceRequest.getProfile().getResources().get( 731 resKeys.nextElement()); 732 764 resKeys.next()); 765 766 // Take the first resource which has requested service 733 767 // TODO There could be more sophisticated rule for choosing a 734 768 // resource 769 735 770 if (res.getServices().containsKey( 736 771 serviceRequest.getService().getName())) 737 772 { 738 773 resource = res; 739 addParameters(serviceRequest.getParameters(), res740 .getParameters());741 774 break; 742 775 } 743 776 } 744 777 745 return resource;778 serviceRequest.setResource(resource); 746 779 } 747 780 -
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 1 18 package exception; 2 19 -
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 1 18 package exception; 2 19 -
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 1 18 package exception; 2 19 -
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 1 18 package exception; 2 19 -
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 1 18 package geometry; 2 19 -
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 1 18 package handler; 2 19 -
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 1 18 package handler; 2 19 … … 144 161 @Override 145 162 public String fillQueryTemplate(String template, Service service, 146 Hash table<String, Parameter> parameters)163 HashMap<String, Parameter> parameters) 147 164 { 148 165 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 1 18 package handler; 2 19 … … 45 62 46 63 public abstract String fillQueryTemplate(String template, Service service, 47 Hash table<String, Parameter> parameters);64 HashMap<String, Parameter> parameters); 48 65 49 66 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 1 18 package model; 2 19 … … 12 29 private String name; 13 30 private String description; 14 private MultiValueMapparameters;15 private Hash table<String, Resource> resources;31 private HashMap<String, Parameter> parameters; 32 private HashMap<String, Resource> resources; 16 33 private MultiValueMap services; 17 34 … … 21 38 this.name = name; 22 39 23 HashMap<String, Parameter> pm = new HashMap<String, Parameter>(); 24 parameters = MultiValueMap.decorate(pm); 40 parameters = new HashMap<String, Parameter>(); 25 41 26 42 HashMap<String, Service> sm = new HashMap<String, Service>(); 27 43 services = MultiValueMap.decorate(sm); 28 44 29 //parameters = new MultiValueMap(); 30 resources = new Hashtable<String, Resource>(); 45 resources = new HashMap<String, Resource>(); 31 46 32 47 } … … 52 67 } 53 68 54 public MultiValueMapgetParameters()69 public HashMap<String, Parameter> getParameters() 55 70 { 56 71 return parameters; 57 72 } 58 73 59 public Hash table<String, Resource> getResources()74 public HashMap<String, Resource> getResources() 60 75 { 61 76 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 1 18 package model; 2 19 … … 6 23 7 24 import java.lang.reflect.InvocationTargetException; 25 import java.util.HashMap; 8 26 import java.util.Hashtable; 9 27 … … 27 45 private String query; 28 46 29 private Hash table<String, Parameter> parameters;47 private HashMap<String, Parameter> parameters; 30 48 private Hashtable<String, Service> services; 31 49 … … 94 112 } 95 113 96 parameters = new Hash table<String, Parameter>();114 parameters = new HashMap<String, Parameter>(); 97 115 services = new Hashtable<String, Service>(); 98 116 } … … 163 181 } 164 182 165 public Hash table<String, Parameter> getParameters()183 public HashMap<String, Parameter> getParameters() 166 184 { 167 185 return parameters; 168 186 } 169 187 170 public void setParameters(Hashtable<String, Parameter> parameters)171 {172 this.parameters = parameters;173 }174 175 188 public Hashtable<String, Service> getServices() 176 189 { -
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 1 18 package model; 2 19 -
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 1 18 package model; 2 19 -
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 1 18 package util; 2 19 -
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 1 18 package util; 2 19 -
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 1 18 package util; 2 19 -
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 1 19 // 2 20 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6 … … 5 23 // Generated on: 2009.03.25 at 04:41:37 PM JST 6 24 // 7 8 25 9 26 package util; … … 28 45 * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> 29 46 * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 47 * <attribute name="constant" type="{http://www.w3.org/2001/XMLSchema}boolean" /> 30 48 * <attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" /> 31 49 * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /> … … 59 77 protected Boolean required; 60 78 @XmlAttribute 79 protected Boolean constant; 80 @XmlAttribute 61 81 protected String key; 62 82 @XmlAttribute … … 138 158 139 159 /** 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 /** 140 184 * Gets the value of the key property. 141 185 * -
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 1 18 package util; 2 19 20 import java.util.HashMap; 3 21 import java.util.Hashtable; 4 22 import java.util.Vector; 5 23 6 24 import model.Profile; 25 import model.Resource; 7 26 import model.Service; 8 27 import model.Template; … … 12 31 private Profile profile; 13 32 private Service service; 33 private Resource resource; 14 34 private Template template; 15 private Hash table<String, Parameter> parameters;35 private HashMap<String, Parameter> parameters; 16 36 17 37 public ServiceRequest(Profile profile, Service service, Template template) … … 21 41 this.service = service; 22 42 this.template = template; 23 this.parameters = new Hash table<String, Parameter>();43 this.parameters = new HashMap<String, Parameter>(); 24 44 } 25 45 26 public Hash table<String, Parameter> getParameters()46 public HashMap<String, Parameter> getParameters() 27 47 { 28 48 return parameters; … … 44 64 } 45 65 66 public Resource getResource() 67 { 68 return resource; 69 } 70 71 public void setResource(Resource resource) 72 { 73 this.resource = resource; 74 } 46 75 } -
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 1 18 // 2 19 // 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 1 18 // 2 19 // 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 1 18 // 2 19 // 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 1 18 package util.db; 2 19 -
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 1 18 package util.format; 2 19 -
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 1 18 package util.format; 2 19 20 import java.util.HashMap; 3 21 import java.util.Hashtable; 4 22 import java.util.Iterator; … … 13 31 POINTS, LINES, ADDRESSES, DISTANCE, UOM, LOCALE, CRS, REQUEST_ID, CREDENTIALS; 14 32 } 33 15 34 protected abstract Vector<Parameter> parseInput(String text); 16 17 public Hash table<String, Parameter> parse(String text)35 36 public HashMap<String, Parameter> parse(String text) 18 37 { 19 Hash table<String, Parameter> parameters = new Hashtable<String, Parameter>();38 HashMap<String, Parameter> parameters = new HashMap<String, Parameter>(); 20 39 Vector<Parameter> parsed = parseInput(text); 21 40 Iterator<Parameter> i = parsed.iterator(); … … 23 42 { 24 43 Parameter param = i.next(); 25 parameters.put(param.getName(), param);44 parameters.put(param.getName(), param); 26 45 } 27 46 28 47 return parameters; 29 48 } -
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 1 18 package util.format; 2 19 -
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 1 18 package util.format; 2 19 -
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 1 18 package util.format; 2 19 -
tools/routingservice/branches/wrs-2.0/src/util/format/GeoJSONTemplateFiller.java
r297 r298 1 1 package 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 */ 2 19 3 20 import 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 1 18 package util.format; 2 19 -
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 1 18 package util.format; 2 19 -
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 1 18 package util.format; 2 19 -
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 1 18 package util.format; 2 19 -
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 1 18 package util.format; 2 19 -
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 1 18 // 2 19 // 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 1 18 // 2 19 // 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 1 18 // 2 19 // 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 1 18 // 2 19 // 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 1 18 // 2 19 // 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 1 18 // 2 19 // 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 1 18 // 2 19 // 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 1 18 // 2 19 // 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 1 18 // 2 19 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
