gov.nasa.worldwind.ogc.wms
Class WMSLayerAttribution
java.lang.Object
gov.nasa.worldwind.util.xml.AbstractXMLEventParser
gov.nasa.worldwind.ogc.wms.WMSLayerAttribution
- All Implemented Interfaces:
- XMLEventParser
public class WMSLayerAttribution
- extends AbstractXMLEventParser
Parses a WMS layer Attribution element.
| Methods inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser |
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, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGO_URL
protected QName LOGO_URL
logoURL
protected WMSLogoURL logoURL
ONLINE_RESOURCE
protected QName ONLINE_RESOURCE
onlineResource
protected OGCOnlineResource onlineResource
title
protected String title
TITLE
protected QName TITLE
WMSLayerAttribution
public WMSLayerAttribution(String namespaceURI)
allocate
public XMLEventParser allocate(XMLEventParserContext ctx,
XMLEvent event)
- Description copied from class:
AbstractXMLEventParser
- Create a parser for a specified event.
- Overrides:
allocate in class AbstractXMLEventParser
- Parameters:
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.
- Returns:
- the new parser.
doParseEventContent
protected void doParseEventContent(XMLEventParserContext ctx,
XMLEvent event,
Object... args)
throws XMLStreamException
- Description copied from class:
AbstractXMLEventParser
- Parse an event's sub-elements.
- Overrides:
doParseEventContent in class AbstractXMLEventParser
- Parameters:
ctx - a current parser context.event - the event to parse.args - an optional list of arguments that may by used by subclasses.
- Throws:
XMLStreamException - if an exception occurs during event-stream reading.
getLogoURL
public WMSLogoURL getLogoURL()
getOnlineResource
public OGCOnlineResource getOnlineResource()
getTitle
public String getTitle()
setLogoURL
protected void setLogoURL(WMSLogoURL logoURL)
setOnlineResource
protected void setOnlineResource(OGCOnlineResource onlineResource)
setTitle
protected void setTitle(String title)