gistoolkit.datasources.webservice
Class Layer

java.lang.Object
  extended bygistoolkit.datasources.webservice.Layer

public class Layer
extends java.lang.Object

Represents an available layer in a web service.


Constructor Summary
Layer()
          Creates new Capability
Layer(Node inNode)
          Create the layer and populate it with the node
Layer(Node inNode, Layer inParent)
          Create the layer and populate it with the node
 
Method Summary
 java.lang.String getAbstract()
          Return the abstract of the layer
 java.lang.String[] getAvailableSRS()
          Return the SRS of this layer
 BoundingBox[] getBoundingBoxes()
          Retireve all the bounding boxes for this layer except EPSG:4326
 BoundingBox getBoundingBoxLatLong()
          return the bounding box in Lat Long
 java.lang.String getDataURL()
          Return the DataURL of the layer
 java.lang.String getKeywords()
          Return the keywords of the layer
 java.lang.String getName()
          Return the name of the layer
 java.lang.String getSelectedSRS()
          Return the selected SRS
 Style getSelectedStyle()
          Return the selected style for this layer
 Style[] getStyles()
          return the styles available for this layer
 java.lang.String getTitle()
          Return the title of the layer
 void setSelectedSRS(java.lang.String inSRS)
          Set the selected STS
 void setSelectedStyle(Style inStyle)
          Set the selected style for this layer
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Layer

public Layer()
Creates new Capability


Layer

public Layer(Node inNode)
      throws java.lang.Exception
Create the layer and populate it with the node


Layer

public Layer(Node inNode,
             Layer inParent)
      throws java.lang.Exception
Create the layer and populate it with the node

Method Detail

getName

public java.lang.String getName()
Return the name of the layer


getTitle

public java.lang.String getTitle()
Return the title of the layer


getAbstract

public java.lang.String getAbstract()
Return the abstract of the layer


getKeywords

public java.lang.String getKeywords()
Return the keywords of the layer


getAvailableSRS

public java.lang.String[] getAvailableSRS()
Return the SRS of this layer


getSelectedSRS

public java.lang.String getSelectedSRS()
Return the selected SRS


setSelectedSRS

public void setSelectedSRS(java.lang.String inSRS)
                    throws java.lang.Exception
Set the selected STS

Throws:
java.lang.Exception

getBoundingBoxLatLong

public BoundingBox getBoundingBoxLatLong()
return the bounding box in Lat Long


getSelectedStyle

public Style getSelectedStyle()
Return the selected style for this layer


setSelectedStyle

public void setSelectedStyle(Style inStyle)
Set the selected style for this layer


getBoundingBoxes

public BoundingBox[] getBoundingBoxes()
Retireve all the bounding boxes for this layer except EPSG:4326


getDataURL

public java.lang.String getDataURL()
Return the DataURL of the layer


getStyles

public Style[] getStyles()
return the styles available for this layer


toString

public java.lang.String toString()