public class WMSLayerStyle extends AbstractXMLEventParser
| Modifier and Type | Field and Description |
|---|---|
protected QName |
ABSTRACT |
protected QName |
LEGEND_URL |
protected Set<WMSLogoURL> |
legendURLs |
protected String |
name |
protected QName |
NAME |
protected QName |
STYLE_SHEET_URL |
protected QName |
STYLE_URL |
protected String |
styleAbstract |
protected WMSLayerInfoURL |
styleSheetURL |
protected WMSLayerInfoURL |
styleURL |
protected String |
title |
protected QName |
TITLE |
CHARACTERS_CONTENT, fields, namespaceURI, parent| Constructor and Description |
|---|
WMSLayerStyle(String namespaceURI) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addLegendURL(WMSLogoURL url) |
XMLEventParser |
allocate(XMLEventParserContext ctx,
XMLEvent event)
Create a parser for a specified event.
|
protected void |
doParseEventContent(XMLEventParserContext ctx,
XMLEvent event,
Object... args)
Parse an event's sub-elements.
|
Set<WMSLogoURL> |
getLegendURLs() |
String |
getName() |
String |
getStyleAbstract() |
WMSLayerInfoURL |
getStyleSheetURL() |
WMSLayerInfoURL |
getStyleURL() |
String |
getTitle() |
protected void |
setLegendURLs(Set<WMSLogoURL> legendURLs) |
protected void |
setName(String name) |
protected void |
setStyleAbstract(String styleAbstract) |
protected void |
setStyleSheetURL(WMSLayerInfoURL styleSheetURL) |
protected void |
setStyleURL(WMSLayerInfoURL styleURL) |
protected void |
setTitle(String title) |
doAddCharacters, doAddEventAttribute, doAddEventContent, doParseEventAttributes, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, getRoot, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setField, setFields, setNamespaceURI, setParentprotected QName ABSTRACT
protected QName LEGEND_URL
protected Set<WMSLogoURL> legendURLs
protected String name
protected QName NAME
protected QName STYLE_SHEET_URL
protected QName STYLE_URL
protected String styleAbstract
protected WMSLayerInfoURL styleSheetURL
protected WMSLayerInfoURL styleURL
protected String title
protected QName TITLE
public WMSLayerStyle(String namespaceURI)
protected void addLegendURL(WMSLogoURL url)
public XMLEventParser allocate(XMLEventParserContext ctx, XMLEvent event)
AbstractXMLEventParserallocate in class AbstractXMLEventParserctx - the current parser context.event - the event for which the parser is created. Only the event type is used; the new parser can operate
on any event of that type.protected void doParseEventContent(XMLEventParserContext ctx, XMLEvent event, Object... args) throws XMLStreamException
AbstractXMLEventParserdoParseEventContent in class AbstractXMLEventParserctx - a current parser context.event - the event to parse.args - an optional list of arguments that may by used by subclasses.XMLStreamException - if an exception occurs during event-stream reading.public Set<WMSLogoURL> getLegendURLs()
public String getName()
public String getStyleAbstract()
public WMSLayerInfoURL getStyleSheetURL()
public WMSLayerInfoURL getStyleURL()
public String getTitle()
protected void setLegendURLs(Set<WMSLogoURL> legendURLs)
protected void setName(String name)
protected void setStyleAbstract(String styleAbstract)
protected void setStyleSheetURL(WMSLayerInfoURL styleSheetURL)
protected void setStyleURL(WMSLayerInfoURL styleURL)
protected void setTitle(String title)