Java Doc for GetFeature.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) 


org.deegree.ogcwebservices.wfs.operation.AbstractWFSRequest
   org.deegree.ogcwebservices.wfs.operation.GetFeature

All known Subclasses:   org.deegree.ogcwebservices.wfs.operation.AugmentableGetFeature,  org.deegree.ogcwebservices.wfs.operation.GetFeatureWithLock,
GetFeature
public class GetFeature extends AbstractWFSRequest (Code)
Represents a GetFeature request to a web feature service.

The GetFeature operation allows the retrieval of features from a web feature service. A GetFeature request is processed by a WFS and when the value of the outputFormat attribute is set to text/gml; subtype=gml/3.1.1, a GML instance document, containing the result set, is returned to the client.
author:
   Andreas Poth
author:
   Markus Schneider
author:
   last edited by: $Author: mschneider $
version:
   $Revision: 9534 $, $Date: 2008-01-14 09:37:41 -0800 (Mon, 14 Jan 2008) $


Inner Class :public static enum RESULT_TYPE

Field Summary
final public static  StringFORMAT_FEATURECOLLECTION
    
protected  intmaxFeatures
    
protected  StringoutputFormat
    
protected  List<Query>queries
    
protected  RESULT_TYPEresultType
    
protected  intstartPosition
    

Constructor Summary
 GetFeature(String version, String id, String handle, RESULT_TYPE resultType, String outputFormat, int maxFeatures, int startPosition, int traverseXLinkDepth, int traverseXLinkExpiry, Query[] queries, Map<String, String> vendorSpecificParam)
     Creates a new GetFeature instance.
protected  GetFeature()
    

Method Summary
public static  GetFeaturecreate(String version, String id, RESULT_TYPE resultType, String outputFormat, String handle, int maxFeatures, int startPosition, int traverseXLinkDepth, int traverseXLinkExpiry, Query[] queries)
     Creates a new GetFeature instance from the given parameters.
public static  GetFeaturecreate(String id, Element root)
     Creates a new GetFeature instance from a document that contains the DOM representation of the request.
public static  GetFeaturecreate(String id, String request)
     Creates a new GetFeature instance from the given key-value pair encoded request.
public static  GetFeaturecreate(Map<String, String> kvp)
     Creates a new GetFeature request from the given map.
protected static  Map<QualifiedName, PropertyPath[]>extractPropNames(Map<String, String> kvp, QualifiedName[] typeNames)
     Extracts the PROPERTYNAME parameter and assigns them to the requested type names.
public  intgetMaxFeatures()
     The optional maxFeatures attribute can be used to limit the number of features that a GetFeature request retrieves.
public  StringgetOutputFormat()
     Returns the output format.

The outputFormat attribute defines the format to use to generate the result set.

public  Query[]getQuery()
     The query defines which feature type to query, what properties to retrieve and what constraints (spatial and non-spatial) to apply to those properties.
public  RESULT_TYPEgetResultType()
     Returns the desired result type of the GetFeature operation.
public  intgetStartPosition()
     The startPosition parameter identifies the first result set entry to be returned specified the default is the first record.
public  intgetTraverseXLinkDepth()
     The optional traverseXLinkDepth attribute indicates the depth to which nested property XLink linking element locator attribute (href) XLinks in all properties of the selected feature(s) are traversed and resolved if possible.
public  intgetTraverseXLinkExpiry()
     The traverseXLinkExpiry attribute is specified in minutes.
public  voidsetMaxFeatures(int max)
    
public  voidsetQueries(Query[] query)
    
public  StringtoString()
    

Field Detail
FORMAT_FEATURECOLLECTION
final public static String FORMAT_FEATURECOLLECTION(Code)
Serialized java object format (deegree specific extension) *



maxFeatures
protected int maxFeatures(Code)



outputFormat
protected String outputFormat(Code)



queries
protected List<Query> queries(Code)



resultType
protected RESULT_TYPE resultType(Code)



startPosition
protected int startPosition(Code)




Constructor Detail
GetFeature
GetFeature(String version, String id, String handle, RESULT_TYPE resultType, String outputFormat, int maxFeatures, int startPosition, int traverseXLinkDepth, int traverseXLinkExpiry, Query[] queries, Map<String, String> vendorSpecificParam)(Code)
Creates a new GetFeature instance.
Parameters:
  version - request version
Parameters:
  id - id of the request
Parameters:
  handle -
Parameters:
  resultType - desired result type (results | hits)
Parameters:
  outputFormat - requested result format
Parameters:
  maxFeatures -
Parameters:
  startPosition - deegree specific parameter defining where to start considering features
Parameters:
  traverseXLinkDepth -
Parameters:
  traverseXLinkExpiry -
Parameters:
  queries -
Parameters:
  vendorSpecificParam -



GetFeature
protected GetFeature()(Code)




Method Detail
create
public static GetFeature create(String version, String id, RESULT_TYPE resultType, String outputFormat, String handle, int maxFeatures, int startPosition, int traverseXLinkDepth, int traverseXLinkExpiry, Query[] queries)(Code)
Creates a new GetFeature instance from the given parameters.
Parameters:
  version - request version
Parameters:
  id - id of the request
Parameters:
  resultType - desired result type (results | hits)
Parameters:
  outputFormat - requested result format
Parameters:
  handle -
Parameters:
  maxFeatures - default = -1 (all features)
Parameters:
  startPosition - default = 0 (starting at the first feature)
Parameters:
  traverseXLinkDepth -
Parameters:
  traverseXLinkExpiry -
Parameters:
  queries - a set of Query objects that describes the query to perform new GetFeature request



create
public static GetFeature create(String id, Element root) throws OGCWebServiceException(Code)
Creates a new GetFeature instance from a document that contains the DOM representation of the request.
Parameters:
  id - of the request
Parameters:
  root - element that contains the DOM representation of the request new GetFeature request
throws:
  OGCWebServiceException -



create
public static GetFeature create(String id, String request) throws InconsistentRequestException, InvalidParameterValueException(Code)
Creates a new GetFeature instance from the given key-value pair encoded request.
Parameters:
  id - request identifier
Parameters:
  request - new GetFeature request
throws:
  InvalidParameterValueException -
throws:
  InconsistentRequestException -



create
public static GetFeature create(Map<String, String> kvp) throws InconsistentRequestException, InvalidParameterValueException(Code)
Creates a new GetFeature request from the given map.
Parameters:
  kvp - key-value pairs, keys have to be uppercase new GetFeature request
throws:
  InvalidParameterValueException -
throws:
  InconsistentRequestException -



extractPropNames
protected static Map<QualifiedName, PropertyPath[]> extractPropNames(Map<String, String> kvp, QualifiedName[] typeNames) throws InvalidParameterValueException(Code)
Extracts the PROPERTYNAME parameter and assigns them to the requested type names.
Parameters:
  kvp -
Parameters:
  typeNames - map with the assignments of type names to property names
throws:
  InvalidParameterValueException -



getMaxFeatures
public int getMaxFeatures()(Code)
The optional maxFeatures attribute can be used to limit the number of features that a GetFeature request retrieves. Once the maxFeatures limit is reached, the result set is truncated at that point. If not limit is set -1 will be returned. number of feature to fetch, -1 if no limit is set



getOutputFormat
public String getOutputFormat()(Code)
Returns the output format.

The outputFormat attribute defines the format to use to generate the result set. Vendor specific formats, declared in the capabilities document are possible. The WFS-specs implies GML as default output format. the output format.




getQuery
public Query[] getQuery()(Code)
The query defines which feature type to query, what properties to retrieve and what constraints (spatial and non-spatial) to apply to those properties.

only used for xml-coded requests contained queries




getResultType
public RESULT_TYPE getResultType()(Code)
Returns the desired result type of the GetFeature operation. Possible values are 'results' and 'hits'. the desired result type



getStartPosition
public int getStartPosition()(Code)
The startPosition parameter identifies the first result set entry to be returned specified the default is the first record. If not startposition is set 0 will be returned the first result set entry to be returned



getTraverseXLinkDepth
public int getTraverseXLinkDepth()(Code)
The optional traverseXLinkDepth attribute indicates the depth to which nested property XLink linking element locator attribute (href) XLinks in all properties of the selected feature(s) are traversed and resolved if possible. A value of "1" indicates that one linking element locator attribute (href) XLink will be traversed and the referenced element returned if possible, but nested property XLink linking element locator attribute (href) XLinks in the returned element are not traversed. A value of "*" indicates that all nested property XLink linking element locator attribute (href) XLinks will be traversed and the referenced elements returned if possible. The range of valid values for this attribute consists of positive integers plus "*". the depth to which nested property XLinks are traversed and resolved



getTraverseXLinkExpiry
public int getTraverseXLinkExpiry()(Code)
The traverseXLinkExpiry attribute is specified in minutes. It indicates how long a Web Feature Service should wait to receive a response to a nested GetGmlObject request. If no traverseXLinkExpiry attribute is present for a GetGmlObject request, the WFS wait time is implementation dependent. how long to wait to receive a response to a nested GetGmlObject request



setMaxFeatures
public void setMaxFeatures(int max)(Code)

See Also:   GetFeature.getMaxFeatures()
Parameters:
  max -



setQueries
public void setQueries(Query[] query)(Code)
sets the
Parameters:
  query -



toString
public String toString()(Code)



Fields inherited from org.deegree.ogcwebservices.wfs.operation.AbstractWFSRequest
public static String FORMAT_GML2(Code)(Java Doc)
public static String FORMAT_GML2_WFS100(Code)(Java Doc)
public static String FORMAT_GML3(Code)(Java Doc)
public static String FORMAT_XML(Code)(Java Doc)

Methods inherited from org.deegree.ogcwebservices.wfs.operation.AbstractWFSRequest
protected static void checkServiceParameter(Map<String, String> model) throws InconsistentRequestException(Code)(Java Doc)
protected static String checkVersionParameter(Map<String, String> model) throws InconsistentRequestException, InvalidParameterValueException(Code)(Java Doc)
protected static Filter extractBBOXFilter(Map<String, String> model) throws InvalidParameterValueException(Code)(Java Doc)
protected static Map<QualifiedName, Filter> extractFilters(Map<String, String> kvp, QualifiedName[] typeNames) throws InvalidParameterValueException(Code)(Java Doc)
protected static NamespaceContext extractNamespaceParameter(Map<String, String> model) throws InvalidParameterValueException(Code)(Java Doc)
protected static QualifiedName[] extractTypeNames(Map<String, String> kvp) throws InvalidParameterValueException(Code)(Java Doc)
public String getHandle()(Code)(Java Doc)
public String getServiceName()(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.