|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.ogcwebservices.wms.capabilities.Style
public class Style
Zero or more Styles may be advertised for a Layer or collection of layers using <Style> elements, each of which shall have <Name> and <Title> elements. The style's Name is used in the Map request STYLES parameter. The Title is a human-readable string. If only a single style is available, that style is known as the "default" style and need not be advertised by the server.
A Style may contain several other elements in the Capabilities XML DTD. In particular, <Abstract> provides a narrative description while <LegendURL> contains the location of an image of a map legend appropriate to the enclosing Style. A <Format> element in LegendURL indicates the MIME type of the logo image, and the attributes width and height state the size of the image in pixels.
Field Summary | |
---|---|
(package private) static Map<String,UserStyle> |
styles
|
Constructor Summary | |
---|---|
Style(String name,
String title,
String abstract_,
LegendURL[] legendURLs,
StyleSheetURL styleSheetURL,
StyleURL styleURL,
URL styleResource)
constructor initializing the class with the <Style> |
Method Summary | |
---|---|
String |
getAbstract()
|
LegendURL[] |
getLegendURL()
|
String |
getName()
|
UserStyle |
getStyleContent()
returns the content of the style as SLD style object |
URL |
getStyleResource()
|
StyleSheetURL |
getStyleSheetURL()
|
StyleURL |
getStyleURL()
A Style element lists the name by which a style is requested and a human-readable title for pick lists, optionally (and ideally) provides a human-readable description, and optionally gives a style URL. |
String |
getTitle()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
static Map<String,UserStyle> styles
Constructor Detail |
---|
public Style(String name, String title, String abstract_, LegendURL[] legendURLs, StyleSheetURL styleSheetURL, StyleURL styleURL, URL styleResource) throws XMLParsingException
name
- title
- abstract_
- legendURLs
- styleSheetURL
- styleURL
- styleResource
-
XMLParsingException
Method Detail |
---|
public String getName()
public String getTitle()
public String getAbstract()
public LegendURL[] getLegendURL()
public StyleSheetURL getStyleSheetURL()
public StyleURL getStyleURL()
public URL getStyleResource()
public UserStyle getStyleContent()
public String toString()
toString
in class Object
|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org