Java Doc for GetFeatureInfo.java in  » GIS » deegree » org » deegree » ogcwebservices » wms » 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.wms.operation 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.deegree.ogcwebservices.wms.operation.WMSRequestBase
   org.deegree.ogcwebservices.wms.operation.GetFeatureInfo

GetFeatureInfo
public class GetFeatureInfo extends WMSRequestBase (Code)

author:
   Katharina Lupp Katharina Lupp
version:
   $Revision: 9348 $ $Date: 2007-12-27 08:59:14 -0800 (Thu, 27 Dec 2007) $




Method Summary
public  voidaddQueryLayers(String queryLayers)
    
public static  GetFeatureInfocreate(String version, String id, String[] queryLayers, GetMap getMapRequestCopy, String infoFormat, int featureCount, java.awt.Point clickPoint, String exceptions, StyledLayerDescriptor sld, Map<String, String> vendorSpecificParameter)
     creates a WMSFeatureInfoRequest from the request parameters.
public static  GetFeatureInfocreate(Map<String, String> model)
     creates a WMSFeatureInfoRequest from a HashMap that contains the request parameters as key-value-pairs.
public  PointgetClickPoint()
     The required X and Y parameters indicate a point of interest on the map. X and Y identify a single point within the borders of the WIDTH and HEIGHT parameters of the embedded GetMap request.
public  StringgetExceptions()
     The optional EXCEPTIONS parameter states the manner in which errors are to be reported to the client.
public  intgetFeatureCount()
     The optional FEATURE_COUNT parameter states the maximum number of features for which feature information should be returned.
public  GetMapgetGetMapRequestCopy()
     is not a name/value pair like the other parameters. Instead, most of the GetMap request parameters that generated the original map are repeated.
public  StringgetInfoFormat()
     The optional INFO_FORMAT indicates what format to use when returning the feature information.
public  String[]getQueryLayers()
     The required QUERY_LAYERS parameter states the map layer(s) from which feature information is desired to be retrieved.
public  StringgetRequestParameter()
     returns the parameter of a HTTP GET request.
public  StyledLayerDescriptorgetStyledLayerDescriptor()
     returns the SLD the request is made of.
public  booleanisInfoFormatDefault()
    
public  voidsetClickPoint(Point clickPoint)
    
public  voidsetExceptions(String exceptions)
    
public  voidsetFeatureCount(int featureCount)
    
public  voidsetGetMapRequestCopy(GetMap getMapRequestCopy)
    
public  voidsetInfoFormat(String infoFormat)
    
public  voidsetQueryLayers(String[] queryLayers)
    
public  voidsetStyledLayerDescriptor(StyledLayerDescriptor sld)
     sets the SLD the request is made of.
public  StringtoString()
    



Method Detail
addQueryLayers
public void addQueryLayers(String queryLayers)(Code)
adds the
Parameters:
  queryLayers -



create
public static GetFeatureInfo create(String version, String id, String[] queryLayers, GetMap getMapRequestCopy, String infoFormat, int featureCount, java.awt.Point clickPoint, String exceptions, StyledLayerDescriptor sld, Map<String, String> vendorSpecificParameter)(Code)
creates a WMSFeatureInfoRequest from the request parameters. an instance of WMSFeatureInfoRequest
Parameters:
  version - VERSION=version (R): Request version.
Parameters:
  id - the request id
Parameters:
  queryLayers - QUERY_LAYERS=layer_list (R): Comma-separated list of one ormore layers to be queried.
Parameters:
  getMapRequestCopy - <map_request_copy> (R): Partial copy of the Map requestparameters that generated the map for which information isdesired.
Parameters:
  infoFormat - INFO_FORMAT=output_format (O): Return format of featureinformation (MIME type).
Parameters:
  featureCount - FEATURE_COUNT=number (O): Number of features about which toreturn information (default=1).
Parameters:
  clickPoint - X=pixel_column (R): X coordinate in pixels of feature(measured from upper left corner=0) Y=pixel_row (R): Ycoordinate in pixels of feature (measured from upper leftcorner=0)
Parameters:
  exceptions - EXCEPTIONS=exception_format (O): The format in whichexceptions are to be reported by the WMS(default=application/vnd.ogc.se_xml).
Parameters:
  sld - StyledLayerDescriptor
Parameters:
  vendorSpecificParameter - Vendor-specific parameters (O): Optional experimentalparameters.



create
public static GetFeatureInfo create(Map<String, String> model) throws OGCWebServiceException(Code)
creates a WMSFeatureInfoRequest from a HashMap that contains the request parameters as key-value-pairs. Keys are expected to be in upper case notation.
Parameters:
  model - HashMap containing the request parameters an instance of WMSFeatureInfoRequest
throws:
  OGCWebServiceException -



getClickPoint
public Point getClickPoint()(Code)
The required X and Y parameters indicate a point of interest on the map. X and Y identify a single point within the borders of the WIDTH and HEIGHT parameters of the embedded GetMap request. The origin is set to (0,0) centered in the pixel at the upper left corner; X increases to the right and Y increases downward. X and Y are retruned as java.awt.Point class/datastructure. the point of interest



getExceptions
public String getExceptions()(Code)
The optional EXCEPTIONS parameter states the manner in which errors are to be reported to the client. The default value is application/vnd.ogc.se_xml if this parameter is absent from the request. At present, not other values are defined for the WMS GetFeatureInfo request. the exception format



getFeatureCount
public int getFeatureCount()(Code)
The optional FEATURE_COUNT parameter states the maximum number of features for which feature information should be returned. Its value is a positive integer greater than zero. The default value is 1 if this parameter is omitted. the count



getGetMapRequestCopy
public GetMap getGetMapRequestCopy()(Code)
is not a name/value pair like the other parameters. Instead, most of the GetMap request parameters that generated the original map are repeated. Two are omitted because GetFeatureInfo provides its own values: VERSION and REQUEST. The remainder of the GetMap request shall be embedded contiguously in the GetFeatureInfo request. a copy of the original request



getInfoFormat
public String getInfoFormat()(Code)
The optional INFO_FORMAT indicates what format to use when returning the feature information. Supported values for a GetFeatureInfo request on a WMS instance are listed as MIME types in one or more elements inside the element of its Capabilities XML. The entire MIME type string in is used as the value of the INFO_FORMAT parameter. In an HTTP environment, the MIME type shall be set on the returned object using the Content-type entity header.

EXAMPLE: The parameter INFO_FORMAT=application/vnd.ogc.gml requests that the feature information be formatted in Geography Markup Language (GML). the format



getQueryLayers
public String[] getQueryLayers()(Code)
The required QUERY_LAYERS parameter states the map layer(s) from which feature information is desired to be retrieved. Its value is a comma- separated list of one or more map layers that are returned as an array. This parameter shall contain at least one layer name, but may contain fewer layers than the original GetMap request.

If any layer in this list is not contained in the Capabilities XML of the WMS, the results are undefined and the WMS shall produce an exception response. the layer names



getRequestParameter
public String getRequestParameter() throws OGCWebServiceException(Code)
returns the parameter of a HTTP GET request.



getStyledLayerDescriptor
public StyledLayerDescriptor getStyledLayerDescriptor()(Code)
returns the SLD the request is made of. This implies that a 'simple' HTTP GET-Request will be transformed into a valid SLD. This is mandatory within a JaGo WMS.

This mean even if a GetMap request is send using the HTTP GET method, an implementing class has to map the request to a SLD data sructure. the sld



isInfoFormatDefault
public boolean isInfoFormatDefault()(Code)
whether the info format is the default setting



setClickPoint
public void setClickPoint(Point clickPoint)(Code)
sets the
Parameters:
  clickPoint -



setExceptions
public void setExceptions(String exceptions)(Code)
sets the
Parameters:
  exceptions -



setFeatureCount
public void setFeatureCount(int featureCount)(Code)
sets the
Parameters:
  featureCount -



setGetMapRequestCopy
public void setGetMapRequestCopy(GetMap getMapRequestCopy)(Code)
sets the
Parameters:
  getMapRequestCopy -



setInfoFormat
public void setInfoFormat(String infoFormat)(Code)
sets the
Parameters:
  infoFormat -



setQueryLayers
public void setQueryLayers(String[] queryLayers)(Code)
sets the
Parameters:
  queryLayers -



setStyledLayerDescriptor
public void setStyledLayerDescriptor(StyledLayerDescriptor sld)(Code)
sets the SLD the request is made of. This implies that a 'simple' HTTP GET-Request or a part of it will be transformed into a valid SLD. For convenience it is asumed that the SLD names just a single layer to generate display elements of.
Parameters:
  sld -



toString
public String toString()(Code)



Methods inherited from org.deegree.ogcwebservices.wms.operation.WMSRequestBase
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.