Source Code Cross Referenced for GetFeatureInfoRequest.java in  » GIS » GeoServer » org » vfny » geoserver » wms » requests » 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 » GeoServer » org.vfny.geoserver.wms.requests 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /* Copyright (c) 2001 - 2007 TOPP - www.openplans.org.  All rights reserved.
002:         * This code is licensed under the GPL 2.0 license, availible at the root
003:         * application directory.
004:         */
005:        package org.vfny.geoserver.wms.requests;
006:
007:        import org.vfny.geoserver.global.MapLayerInfo;
008:        import org.vfny.geoserver.wms.servlets.WMService;
009:
010:        /**
011:         * Represents a WMS 1.1.1 GetFeatureInfo request.
012:         * <p>
013:         * The "GetMap" part of the request is represented by a
014:         * <code>GetMapRequest</code> object by itself. It is
015:         * intended to provide enough map context information about
016:         * the map over the GetFeatureInfo request is performed.
017:         * </p>
018:         *
019:         * @author Gabriel Roldan, Axios Engineering
020:         * @version $Id: GetFeatureInfoRequest.java 8418 2008-02-18 14:47:17Z aaime $
021:         */
022:        public class GetFeatureInfoRequest extends WMSRequest {
023:            private static final String DEFAULT_EXCEPTION_FORMAT = "application/vnd.ogc.se_xml";
024:            private static final int DEFAULT_MAX_FEATURES = 1;
025:
026:            /**
027:             * Holds the GetMap part of the GetFeatureInfo request, wich is meant
028:             * to provide enough context information about the map over the
029:             * GetFeatureInfo request is being made.
030:             */
031:            private GetMapRequest getMapRequest;
032:
033:            /**
034:             * List of FeatureTypeInfo's parsed from the <code>QUERY_LAYERS</code>
035:             * mandatory parameter.
036:             */
037:            private MapLayerInfo[] queryLayers;
038:
039:            /**
040:             * Holder for the <code>INFO_FORMAT</code> optional parameter
041:             */
042:            private String infoFormat;
043:
044:            /**
045:             * Holder for the <code>FEATURE_COUNT</code> optional parameter.
046:             * Deafults to 1.
047:             */
048:            private int featureCount = DEFAULT_MAX_FEATURES;
049:
050:            /**
051:             * Holds the value of the required <code>X</code> parameter
052:             */
053:            private int XPixel;
054:
055:            /**
056:             * Holds the value of the requiered <code>Y</code> parameter
057:             */
058:            private int YPixel;
059:
060:            /**
061:             * Holder for the optional <code>EXCEPTIONS</code> parameter,
062:             * defaults to <code>"application/vnd.ogc.se_xml"</code>
063:             */
064:            private String exeptionFormat = DEFAULT_EXCEPTION_FORMAT;
065:
066:            /**
067:             * Creates a new GetMapRequest object.
068:             * @param service The service that will handle the request
069:             */
070:            public GetFeatureInfoRequest(WMService service) {
071:                super ("GetFeatureInfo", service);
072:            }
073:
074:            /**
075:             * @return Returns the exeptionFormat.
076:             */
077:            public String getExeptionFormat() {
078:                return exeptionFormat;
079:            }
080:
081:            /**
082:             * @param exeptionFormat The exeptionFormat to set.
083:             */
084:            public void setExeptionFormat(String exeptionFormat) {
085:                this .exeptionFormat = exeptionFormat;
086:            }
087:
088:            /**
089:             * @return Returns the featureCount.
090:             */
091:            public int getFeatureCount() {
092:                return featureCount;
093:            }
094:
095:            /**
096:             * @param featureCount The featureCount to set.
097:             */
098:            public void setFeatureCount(int featureCount) {
099:                this .featureCount = featureCount;
100:            }
101:
102:            /**
103:             * @return Returns the getMapRequest.
104:             */
105:            public GetMapRequest getGetMapRequest() {
106:                return getMapRequest;
107:            }
108:
109:            /**
110:             * @param getMapRequest The getMapRequest to set.
111:             */
112:            public void setGetMapRequest(GetMapRequest getMapRequest) {
113:                this .getMapRequest = getMapRequest;
114:            }
115:
116:            /**
117:             * @return Returns the infoFormat.
118:             */
119:            public String getInfoFormat() {
120:                return infoFormat;
121:            }
122:
123:            /**
124:             * @param infoFormat The infoFormat to set.
125:             */
126:            public void setInfoFormat(String infoFormat) {
127:                this .infoFormat = infoFormat;
128:            }
129:
130:            /**
131:             * @return Returns the queryLayers.
132:             */
133:            public MapLayerInfo[] getQueryLayers() {
134:                return queryLayers;
135:            }
136:
137:            /**
138:             * @param queryLayers The queryLayers to set.
139:             */
140:            public void setQueryLayers(MapLayerInfo[] queryLayers) {
141:                this .queryLayers = queryLayers;
142:            }
143:
144:            /**
145:             * @return Returns the xPixel.
146:             */
147:            public int getXPixel() {
148:                return XPixel;
149:            }
150:
151:            /**
152:             * @param pixel The xPixel to set.
153:             */
154:            public void setXPixel(int pixel) {
155:                XPixel = pixel;
156:            }
157:
158:            /**
159:             * @return Returns the yPixel.
160:             */
161:            public int getYPixel() {
162:                return YPixel;
163:            }
164:
165:            /**
166:             * @param pixel The yPixel to set.
167:             */
168:            public void setYPixel(int pixel) {
169:                YPixel = pixel;
170:            }
171:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.