public abstract class WMSStyle extends 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 |
---|---|
String |
getAbstract()
gets style abstract
|
String |
getLegendURLFormat() |
int |
getLegendURLHeight() |
String |
getLegendURLOnlineResourceHRef()
gets the LegendURL OnlineResource href
|
String |
getLegendURLOnlineResourceType()
gets the LegendURL OnlineResource type
|
int |
getLegendURLWidth() |
String |
getName()
gets the style name
|
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(String _abstract)
sets style abstract
|
protected void |
setLegendURL(WMSStyle.LegendURL legendURL)
sets LegendURL
|
void |
setName(String _name)
sets the style name.
|
void |
setTitle(String _title)
Sets style title
|
public abstract void parse(KXmlParser parser) throws IOException, XmlPullParserException
Parses the STYLE tag in the WMS capabilities, filling the WMSStyle object loading the data in memory to be easily accesed
IOException
XmlPullParserException
protected void parseLegendURL(KXmlParser parser) throws IOException, XmlPullParserException
parser
- IOException
XmlPullParserException
public String getLegendURLOnlineResourceType()
public String getLegendURLOnlineResourceHRef()
public String getLegendURLFormat()
public int getLegendURLWidth()
public int getLegendURLHeight()
protected void setLegendURL(WMSStyle.LegendURL legendURL)
public String getName()
gets the style name
public void setName(String _name)
sets the style name.
_name
- public String getTitle()
gets the style title
public void setTitle(String _title)
Sets style title
_title
- public String getAbstract()
gets style abstract
public void setAbstract(String _abstract)
sets style abstract
_abstract,
- style abstract