Java Doc for AbstractWFSRequest.java in  » GIS » deegree » org » deegree » ogcwebservices » wfs » operation » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » deegree » org.deegree.ogcwebservices.wfs.operation 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.deegree.ogcwebservices.AbstractOGCWebServiceRequest
      org.deegree.ogcwebservices.wfs.operation.AbstractWFSRequest

All known Subclasses:   org.deegree.ogcwebservices.wfs.operation.transaction.Transaction,  org.deegree.ogcwebservices.wfs.operation.DescribeFeatureType,  org.deegree.ogcwebservices.wfs.operation.LockFeature,  org.deegree.ogcwebservices.wfs.operation.GetFeature,
AbstractWFSRequest
public class AbstractWFSRequest extends AbstractOGCWebServiceRequest (Code)
Abstract base class for requests to web feature services.
author:
   Andreas Poth
author:
   Markus Schneider
author:
   last edited by: $Author: apoth $
version:
   $Revision: 9345 $, $Date: 2007-12-27 08:22:25 -0800 (Thu, 27 Dec 2007) $


Field Summary
public static  StringFORMAT_GML2
    
public static  StringFORMAT_GML2_WFS100
    
public static  StringFORMAT_GML3
    
public static  StringFORMAT_XML
    

Constructor Summary
protected  AbstractWFSRequest(String version, String id, String handle, Map<String, String> vendorSpecificParameter)
     Creates a new AbstractWFSRequest instance.

Method Summary
protected static  voidcheckServiceParameter(Map<String, String> model)
     Checks that the "SERVICE" parameter value equals the name of the service.
protected static  StringcheckVersionParameter(Map<String, String> model)
     Checks that the "VERSION" parameter value equals a supported version.
protected static  FilterextractBBOXFilter(Map<String, String> model)
     Extracts a Filter from the BBOX parameter.
protected static  Map<QualifiedName, Filter>extractFilters(Map<String, String> kvp, QualifiedName[] typeNames)
     Extracts the FILTER parameter and assigns them to the requested type names.
protected static  NamespaceContextextractNamespaceParameter(Map<String, String> model)
     Extracts the namespace bindings from the NAMESPACE parameter.
protected static  QualifiedName[]extractTypeNames(Map<String, String> kvp)
     Extracts the qualified type names from the TYPENAME parameter.
public  StringgetHandle()
     Returns the value of the handle attribute.

The purpose of the handle attribute is to allow a client application to associate a mnemonic name with a request for error handling purposes.

public  StringgetServiceName()
     Returns the value of the service attribute (WFS).

Field Detail
FORMAT_GML2
public static String FORMAT_GML2(Code)
GML2 format *



FORMAT_GML2_WFS100
public static String FORMAT_GML2_WFS100(Code)
GML2 format (WFS 1.00 style) *



FORMAT_GML3
public static String FORMAT_GML3(Code)
GML3 format *



FORMAT_XML
public static String FORMAT_XML(Code)
Generic XML format *




Constructor Detail
AbstractWFSRequest
protected AbstractWFSRequest(String version, String id, String handle, Map<String, String> vendorSpecificParameter)(Code)
Creates a new AbstractWFSRequest instance.
Parameters:
  version -
Parameters:
  id -
Parameters:
  handle -
Parameters:
  vendorSpecificParameter -




Method Detail
checkServiceParameter
protected static void checkServiceParameter(Map<String, String> model) throws InconsistentRequestException(Code)
Checks that the "SERVICE" parameter value equals the name of the service. TODO move this to AbstractOGCWebServiceRequest
Parameters:
  model - contains the parameters of the request
throws:
  InconsistentRequestException - if parameter is not present or does not the service name



checkVersionParameter
protected static String checkVersionParameter(Map<String, String> model) throws InconsistentRequestException, InvalidParameterValueException(Code)
Checks that the "VERSION" parameter value equals a supported version.
Parameters:
  model - contains the parameters of the request value for "VERSION" parameter, never null
throws:
  InconsistentRequestException - if parameter is not present
throws:
  InvalidParameterValueException -



extractBBOXFilter
protected static Filter extractBBOXFilter(Map<String, String> model) throws InvalidParameterValueException(Code)
Extracts a Filter from the BBOX parameter. TODO handle other dimension count and crs
Parameters:
  model - filter representing the BBOX parameter (null, if no BBOX parameter specified)
throws:
  InvalidParameterValueException -



extractFilters
protected static Map<QualifiedName, Filter> extractFilters(Map<String, String> kvp, QualifiedName[] typeNames) throws InvalidParameterValueException(Code)
Extracts the FILTER parameter and assigns them to the requested type names.

This is necessary, because it is allowed to specify a filter for each requested feature type.
Parameters:
  kvp -
Parameters:
  typeNames - map with the assignments of type names to filters
throws:
  InvalidParameterValueException -




extractNamespaceParameter
protected static NamespaceContext extractNamespaceParameter(Map<String, String> model) throws InvalidParameterValueException(Code)
Extracts the namespace bindings from the NAMESPACE parameter.

Example:

  • NAMESPACE=xmlns(myns=http://www.someserver.com),xmlns(yourns=http://www.someotherserver.com)

The default namespace may also be bound (two variants are supported):

  • NAMESPACE=xmlns(=http://www.someserver.com)
  • NAMESPACE=xmlns(http://www.someserver.com)

Parameters:
  model - the parameters of the request namespace context
throws:
  InvalidParameterValueException -



extractTypeNames
protected static QualifiedName[] extractTypeNames(Map<String, String> kvp) throws InvalidParameterValueException(Code)
Extracts the qualified type names from the TYPENAME parameter.
Parameters:
  kvp - qualified type names (empty array if TYPENAME parameter is not present)
throws:
  InvalidParameterValueException -



getHandle
public String getHandle()(Code)
Returns the value of the handle attribute.

The purpose of the handle attribute is to allow a client application to associate a mnemonic name with a request for error handling purposes. If a handle is specified, and an exception is encountered, a Web Feature Service may use the handle to identify the offending element. the value of the handle attribute




getServiceName
public String getServiceName()(Code)
Returns the value of the service attribute (WFS). the value of the service attribute (WFS)



Methods inherited from org.deegree.ogcwebservices.AbstractOGCWebServiceRequest
public String getId()(Code)(Java Doc)
protected static String getParam(String name, Map<String, String> kvp, String defaultValue)(Code)(Java Doc)
protected static int getParamAsInt(String name, Map<String, String> kvp, int defaultValue) throws InvalidParameterValueException(Code)(Java Doc)
protected static String[] getParamValues(String name, Map<String, String> kvp, String defaultValue)(Code)(Java Doc)
public String getRequestParameter() throws OGCWebServiceException(Code)(Java Doc)
protected static String getRequiredParam(String name, Map<String, String> kvp) throws MissingParameterValueException(Code)(Java Doc)
public String getVendorSpecificParameter(String name)(Code)(Java Doc)
public Map<String, String> getVendorSpecificParameters()(Code)(Java Doc)
public String getVersion()(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.