org.gvsig.remoteclient.wms
Class WMSStyle

java.lang.Object
  extended by org.gvsig.remoteclient.wms.WMSStyle
Direct Known Subclasses:
WMSStyle1_1_0, WMSStyle1_1_1, WMSStyle1_3_0

public abstract class WMSStyle
extends java.lang.Object

Defines a OGC style. Theme that describes the appeareance of certain layer.


Nested Class Summary
protected  class WMSStyle.LegendURL
          Inner class describing the Legend URL defined for styles in the OGC specifications in WMS
 
Constructor Summary
WMSStyle()
           
 
Method Summary
 java.lang.String getAbstract()
          gets style abstract
 java.lang.String getLegendURLFormat()
           
 int getLegendURLHeight()
           
 java.lang.String getLegendURLOnlineResourceHRef()
          gets the LegendURL OnlineResource href
 java.lang.String getLegendURLOnlineResourceType()
          gets the LegendURL OnlineResource type
 int getLegendURLWidth()
           
 java.lang.String getName()
          gets the style name
 java.lang.String getTitle()
          gets the style title
abstract  void parse(org.kxml2.io.KXmlParser parser)
          Parses the STYLE tag in the WMS capabilities, filling the WMSStyle object loading the data in memory to be easily accesed
protected  void parseLegendURL(org.kxml2.io.KXmlParser parser)
          Parses the legendURL tag.
 void setAbstract(java.lang.String _abstract)
          sets style abstract
protected  void setLegendURL(WMSStyle.LegendURL legendURL)
          sets LegendURL
 void setName(java.lang.String _name)
          sets the style name.
 void setTitle(java.lang.String _title)
          Sets style title
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMSStyle

public WMSStyle()
Method Detail

getAbstract

public java.lang.String getAbstract()

gets style abstract

Returns:
style abstract

getLegendURLFormat

public java.lang.String getLegendURLFormat()

getLegendURLHeight

public int getLegendURLHeight()

getLegendURLOnlineResourceHRef

public java.lang.String getLegendURLOnlineResourceHRef()
gets the LegendURL OnlineResource href


getLegendURLOnlineResourceType

public java.lang.String getLegendURLOnlineResourceType()
gets the LegendURL OnlineResource type


getLegendURLWidth

public int getLegendURLWidth()

getName

public java.lang.String getName()

gets the style name

Returns:
style name

getTitle

public java.lang.String getTitle()

gets the style title

Returns:
style title

parse

public abstract void parse(org.kxml2.io.KXmlParser parser)
                    throws java.io.IOException,
                           org.xmlpull.v1.XmlPullParserException

Parses the STYLE tag in the WMS capabilities, filling the WMSStyle object loading the data in memory to be easily accesed

Throws:
java.io.IOException
org.xmlpull.v1.XmlPullParserException

parseLegendURL

protected void parseLegendURL(org.kxml2.io.KXmlParser parser)
                       throws java.io.IOException,
                              org.xmlpull.v1.XmlPullParserException
Parses the legendURL tag.

Parameters:
parser -
Throws:
java.io.IOException
org.xmlpull.v1.XmlPullParserException

setAbstract

public void setAbstract(java.lang.String _abstract)

sets style abstract

Parameters:
_abstract, - style abstract

setLegendURL

protected void setLegendURL(WMSStyle.LegendURL legendURL)
sets LegendURL


setName

public void setName(java.lang.String _name)

sets the style name.

Parameters:
_name -

setTitle

public void setTitle(java.lang.String _title)

Sets style title

Parameters:
_title -


Copyright © 2014 gvSIG Association. All Rights Reserved.