public abstract class WMSStyle
extends java.lang.Object
Defines a OGC style. Theme that describes the appeareance of certain layer.
Modifier and Type | Class and Description |
---|---|
protected class |
WMSStyle.LegendURL
Inner class describing the Legend URL defined for styles in the OGC specifications in WMS
|
Constructor and Description |
---|
WMSStyle() |
Modifier and Type | Method and Description |
---|---|
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(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(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
|
public abstract void parse(KXmlParser parser) throws java.io.IOException, XmlPullParserException
Parses the STYLE tag in the WMS capabilities, filling the WMSStyle object loading the data in memory to be easily accesed
java.io.IOException
XmlPullParserException
protected void parseLegendURL(KXmlParser parser) throws java.io.IOException, XmlPullParserException
parser
- java.io.IOException
XmlPullParserException
public java.lang.String getLegendURLOnlineResourceType()
public java.lang.String getLegendURLOnlineResourceHRef()
public java.lang.String getLegendURLFormat()
public int getLegendURLWidth()
public int getLegendURLHeight()
protected void setLegendURL(WMSStyle.LegendURL legendURL)
public java.lang.String getName()
gets the style name
public void setName(java.lang.String _name)
sets the style name.
_name
- public java.lang.String getTitle()
gets the style title
public void setTitle(java.lang.String _title)
Sets style title
_title
- public java.lang.String getAbstract()
gets style abstract
public void setAbstract(java.lang.String _abstract)
sets style abstract
_abstract,
- style abstract