public class WMSLayerStyle extends AbstractXMLEventParser
Modifier and Type | Field and Description |
---|---|
protected javax.xml.namespace.QName |
ABSTRACT |
protected javax.xml.namespace.QName |
LEGEND_URL |
protected java.util.Set<WMSLogoURL> |
legendURLs |
protected java.lang.String |
name |
protected javax.xml.namespace.QName |
NAME |
protected javax.xml.namespace.QName |
STYLE_SHEET_URL |
protected javax.xml.namespace.QName |
STYLE_URL |
protected java.lang.String |
styleAbstract |
protected WMSLayerInfoURL |
styleSheetURL |
protected WMSLayerInfoURL |
styleURL |
protected java.lang.String |
title |
protected javax.xml.namespace.QName |
TITLE |
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
WMSLayerStyle(java.lang.String namespaceURI) |
Modifier and Type | Method and Description |
---|---|
protected void |
addLegendURL(WMSLogoURL url) |
XMLEventParser |
allocate(XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent event)
Create a parser for a specified event.
|
protected void |
doParseEventContent(XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent event,
java.lang.Object... args)
Parse an event's sub-elements.
|
java.util.Set<WMSLogoURL> |
getLegendURLs() |
java.lang.String |
getName() |
java.lang.String |
getStyleAbstract() |
WMSLayerInfoURL |
getStyleSheetURL() |
WMSLayerInfoURL |
getStyleURL() |
java.lang.String |
getTitle() |
protected void |
setLegendURLs(java.util.Set<WMSLogoURL> legendURLs) |
protected void |
setName(java.lang.String name) |
protected void |
setStyleAbstract(java.lang.String styleAbstract) |
protected void |
setStyleSheetURL(WMSLayerInfoURL styleSheetURL) |
protected void |
setStyleURL(WMSLayerInfoURL styleURL) |
protected void |
setTitle(java.lang.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, setParent
protected javax.xml.namespace.QName ABSTRACT
protected javax.xml.namespace.QName LEGEND_URL
protected java.util.Set<WMSLogoURL> legendURLs
protected java.lang.String name
protected javax.xml.namespace.QName NAME
protected javax.xml.namespace.QName STYLE_SHEET_URL
protected javax.xml.namespace.QName STYLE_URL
protected java.lang.String styleAbstract
protected WMSLayerInfoURL styleSheetURL
protected WMSLayerInfoURL styleURL
protected java.lang.String title
protected javax.xml.namespace.QName TITLE
protected void addLegendURL(WMSLogoURL url)
public XMLEventParser allocate(XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event)
AbstractXMLEventParser
allocate
in class AbstractXMLEventParser
ctx
- 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, javax.xml.stream.events.XMLEvent event, java.lang.Object... args) throws javax.xml.stream.XMLStreamException
AbstractXMLEventParser
doParseEventContent
in class AbstractXMLEventParser
ctx
- a current parser context.event
- the event to parse.args
- an optional list of arguments that may by used by subclasses.javax.xml.stream.XMLStreamException
- if an exception occurs during event-stream reading.public java.util.Set<WMSLogoURL> getLegendURLs()
public java.lang.String getName()
public java.lang.String getStyleAbstract()
public WMSLayerInfoURL getStyleSheetURL()
public WMSLayerInfoURL getStyleURL()
public java.lang.String getTitle()
protected void setLegendURLs(java.util.Set<WMSLogoURL> legendURLs)
protected void setName(java.lang.String name)
protected void setStyleAbstract(java.lang.String styleAbstract)
protected void setStyleSheetURL(WMSLayerInfoURL styleSheetURL)
protected void setStyleURL(WMSLayerInfoURL styleURL)
protected void setTitle(java.lang.String title)