com.moximedia.ows.wms.capabilities
Class Layer

java.lang.Object
  extended bycom.moximedia.ows.wms.capabilities.Layer
All Implemented Interfaces:
java.io.Serializable

public class Layer
extends java.lang.Object
implements java.io.Serializable

Implementation of WMS layer. Used when parsing WMS capabilities responses to save the useful properties contained in the layer sections of the response.

Author:
Doug Cates - www.moximedia.com
See Also:
Serialized Form

Field Summary
 java.util.ArrayList c_layers
           
 Layer c_parentLayer
           
 java.util.HashSet c_srsList
           
 boolean cascaded
           
 java.lang.String description
           
 Envelope latLonBoundingBox
           
 java.lang.String name
           
 boolean queryable
           
 java.util.ArrayList styleList
           
 java.lang.String title
           
 
Constructor Summary
Layer()
          Creates a new instance of WmsLayer
 
Method Summary
 void addChildLayer(Layer layer)
           
 void addSrs(java.lang.String srs)
           
 void addStyle(Style style)
           
 java.util.ArrayList getChildLayers()
           
 Envelope getLatLonBoundingBox()
           
 Layer getParentLayer()
           
 java.util.HashSet getSrsList()
           
 java.lang.String getTitle()
           
 boolean isParent()
           
 void setParentLayer(Layer parent)
           
 void setXmlAttribute(java.lang.String path, java.lang.String tag, java.lang.String name, java.lang.String value)
          Sets one of the attributes of this object using a string value.
 java.lang.String toString()
          Display some information about this layer in a text string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

description

public java.lang.String description

cascaded

public boolean cascaded

latLonBoundingBox

public Envelope latLonBoundingBox

name

public java.lang.String name

queryable

public boolean queryable

title

public java.lang.String title

c_layers

public java.util.ArrayList c_layers

c_parentLayer

public Layer c_parentLayer

c_srsList

public java.util.HashSet c_srsList

styleList

public java.util.ArrayList styleList
Constructor Detail

Layer

public Layer()
Creates a new instance of WmsLayer

Method Detail

getTitle

public java.lang.String getTitle()

getLatLonBoundingBox

public Envelope getLatLonBoundingBox()

getSrsList

public java.util.HashSet getSrsList()

addChildLayer

public void addChildLayer(Layer layer)

addSrs

public void addSrs(java.lang.String srs)

addStyle

public void addStyle(Style style)

getChildLayers

public java.util.ArrayList getChildLayers()

getParentLayer

public Layer getParentLayer()

isParent

public boolean isParent()

setParentLayer

public void setParentLayer(Layer parent)

setXmlAttribute

public void setXmlAttribute(java.lang.String path,
                            java.lang.String tag,
                            java.lang.String name,
                            java.lang.String value)
Sets one of the attributes of this object using a string value. This method should only be called from the SAX event handler.

Parameters:
path - The full element tag.
tag - The element tag containing this attribute.
name - The attribute name.
value - The attribute value.

toString

public java.lang.String toString()
Display some information about this layer in a text string.

Returns:
A string describing the layer.


Internet Mapping Framework for OpenGIS Java Object Model API (v1.3.007)
Copyright © 2005 Moxi Media Inc. and Province of British Columbia. All Rights Reserved.