public class WMSLayerAttribution extends AbstractXMLEventParser
Modifier and Type | Field and Description |
---|---|
protected QName |
LOGO_URL |
protected WMSLogoURL |
logoURL |
protected QName |
ONLINE_RESOURCE |
protected OGCOnlineResource |
onlineResource |
protected String |
title |
protected QName |
TITLE |
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
WMSLayerAttribution(String namespaceURI) |
Modifier and Type | Method and Description |
---|---|
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.
|
WMSLogoURL |
getLogoURL() |
OGCOnlineResource |
getOnlineResource() |
String |
getTitle() |
protected void |
setLogoURL(WMSLogoURL logoURL) |
protected void |
setOnlineResource(OGCOnlineResource onlineResource) |
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, setParent
protected QName LOGO_URL
protected WMSLogoURL logoURL
protected QName ONLINE_RESOURCE
protected OGCOnlineResource onlineResource
protected String title
protected QName TITLE
public WMSLayerAttribution(String namespaceURI)
public XMLEventParser allocate(XMLEventParserContext ctx, 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, XMLEvent event, Object... args) throws 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.XMLStreamException
- if an exception occurs during event-stream reading.public WMSLogoURL getLogoURL()
public OGCOnlineResource getOnlineResource()
public String getTitle()
protected void setLogoURL(WMSLogoURL logoURL)
protected void setOnlineResource(OGCOnlineResource onlineResource)
protected void setTitle(String title)