Java Doc for ArcIMSService.java in  » GIS » geonetwork » org » wfp » vam » intermap » kernel » map » mapServices » arcims » 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 » geonetwork » org.wfp.vam.intermap.kernel.map.mapServices.arcims 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.wfp.vam.intermap.kernel.map.mapServices.MapService
      org.wfp.vam.intermap.kernel.map.mapServices.arcims.ArcIMSService

ArcIMSService
public class ArcIMSService extends MapService (Code)


Field Summary
final public static  intTYPE
    

Constructor Summary
public  ArcIMSService(String url, String name)
     Sets the ArcIMS map server URL and the service name.

Method Summary
public  intgetActiveLayer()
    
public  BoundingBoxgetBoundingBox()
    
public  BoundingBoxgetDefBoundingBox()
     Builds a Bounding Box from the envelope tag in the GET_SERVICE_INFO response.
public  StringgetErrorMsg()
    
public  StringgetGroupImageUrl(BoundingBox bBox, int width, int height, List imageNames)
    
public  StringgetImageUrl(BoundingBox bBox, int width, int height)
     Sends a GET_IMAGE request to the map server.
public  StringgetLegendUrl()
     Sends a GET_IMAGE request to the map server to get the legend.
public  StringgetShapefileUrl(BoundingBox bBox, int width, int height)
     Sends a GET_EXTRACT request to the map server.
public  intgetType()
    
public  VectorgetVisibleLayers()
    
public  voididentify(int layer, int x, int y, int width, int height, int tolerance, String reqFormat)
    
public  voidsetActiveLayer(int layer)
    
public  voidsetLayerVisible(String id, boolean visible)
    
public  ElementtoElement()
    

Field Detail
TYPE
final public static int TYPE(Code)




Constructor Detail
ArcIMSService
public ArcIMSService(String url, String name) throws Exception(Code)
Sets the ArcIMS map server URL and the service name.

Also sends a GET_SERVICE_INFO request to the map server and sets the starting visibility for the layers as specified in the response.

The GET_SERVICE_INFO response can be retrieved using the toElement method.
Parameters:
  url - the map server url
Parameters:
  name - the map service name





Method Detail
getActiveLayer
public int getActiveLayer()(Code)



getBoundingBox
public BoundingBox getBoundingBox()(Code)



getDefBoundingBox
public BoundingBox getDefBoundingBox() throws Exception(Code)
Builds a Bounding Box from the envelope tag in the GET_SERVICE_INFO response. The default service envelope



getErrorMsg
public String getErrorMsg()(Code)



getGroupImageUrl
public String getGroupImageUrl(BoundingBox bBox, int width, int height, List imageNames)(Code)
Method getGroupImageUrl



getImageUrl
public String getImageUrl(BoundingBox bBox, int width, int height) throws Exception, ServiceException(Code)
Sends a GET_IMAGE request to the map server.
Parameters:
  bBox - a BoundingBox the URL of the image on the server
throws:
  Exception -



getLegendUrl
public String getLegendUrl() throws Exception, ServiceException(Code)
Sends a GET_IMAGE request to the map server to get the legend.
Parameters:
  bBox - a BoundingBox the URL of the image on the server
throws:
  Exception -



getShapefileUrl
public String getShapefileUrl(BoundingBox bBox, int width, int height) throws Exception, ServiceException(Code)
Sends a GET_EXTRACT request to the map server.
Parameters:
  bBox - a BoundingBox the URL of the image on the server
throws:
  Exception -



getType
public int getType()(Code)



getVisibleLayers
public Vector getVisibleLayers()(Code)
Returns an array of all visible layers a Vector



identify
public void identify(int layer, int x, int y, int width, int height, int tolerance, String reqFormat) throws Exception, ServiceException(Code)



setActiveLayer
public void setActiveLayer(int layer) throws Exception(Code)



setLayerVisible
public void setLayerVisible(String id, boolean visible)(Code)
Sets layer visibility
Parameters:
  id - layer id
Parameters:
  visible - layer visibility



toElement
public Element toElement()(Code)
Returns an element represenation of the status of the map service an Element



Fields inherited from org.wfp.vam.intermap.kernel.map.mapServices.MapService
protected Element info(Code)(Java Doc)
protected Element lastResponse(Code)(Java Doc)
protected Hashtable layers(Code)(Java Doc)
protected String name(Code)(Java Doc)
protected String serverUrl(Code)(Java Doc)

Methods inherited from org.wfp.vam.intermap.kernel.map.mapServices.MapService
abstract public int getActiveLayer()(Code)(Java Doc)
abstract public BoundingBox getBoundingBox()(Code)(Java Doc)
abstract public BoundingBox getDefBoundingBox() throws Exception(Code)(Java Doc)
abstract public String getImageUrl(BoundingBox bBox, int width, int height) throws ServiceException, Exception(Code)(Java Doc)
public Element getInfo()(Code)(Java Doc)
public Element getLastResponse()(Code)(Java Doc)
abstract public String getLegendUrl() throws Exception(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public String getServerURL()(Code)(Java Doc)
public String getTitle()(Code)(Java Doc)
abstract public int getType()(Code)(Java Doc)
abstract public Vector getVisibleLayers()(Code)(Java Doc)
abstract public void identify(int layer, int x, int y, int width, int height, int tolerance, String reqFormat) throws Exception(Code)(Java Doc)
abstract public void setActiveLayer(int layer) throws Exception(Code)(Java Doc)
abstract public void setLayerVisible(String id, boolean visible)(Code)(Java Doc)
abstract public Element toElement()(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)

w___ww___.__j__ava_2s._co_m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.