Package gov.nasa.worldwind.ogc.wms
Class WMSLogoURL
- java.lang.Object
-
- gov.nasa.worldwind.util.xml.AbstractXMLEventParser
-
- gov.nasa.worldwind.ogc.wms.WMSLayerInfoURL
-
- gov.nasa.worldwind.ogc.wms.WMSLogoURL
-
- All Implemented Interfaces:
XMLEventParser
public class WMSLogoURL extends WMSLayerInfoURL
Parses a WMS layer LogoURL element. Also used for WMS layer LegendURL elements.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Integerheightprotected java.lang.Integerwidth-
Fields inherited from class gov.nasa.worldwind.ogc.wms.WMSLayerInfoURL
format, FORMAT, name, ONLINE_RESOURCE, onlineResource
-
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
-
-
Constructor Summary
Constructors Constructor Description WMSLogoURL(java.lang.String namespaceURI)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoParseEventAttributes(XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event, java.lang.Object... args)Parse an event's attributes.java.lang.IntegergetHeight()java.lang.IntegergetWidth()protected voidsetHeight(java.lang.Integer height)protected voidsetWidth(java.lang.Integer width)-
Methods inherited from class gov.nasa.worldwind.ogc.wms.WMSLayerInfoURL
allocate, doParseEventContent, getFormat, getName, getOnlineResource, setFormat, setName, setOnlineResource
-
Methods inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
doAddCharacters, doAddEventAttribute, doAddEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, getRoot, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setField, setFields, setNamespaceURI, setParent
-
-
-
-
Method Detail
-
doParseEventAttributes
protected void doParseEventAttributes(XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event, java.lang.Object... args)
Description copied from class:AbstractXMLEventParserParse an event's attributes.- Overrides:
doParseEventAttributesin classWMSLayerInfoURL- Parameters:
ctx- a current parser context.event- the event to parse.args- an optional list of arguments that may by used by subclasses.
-
getWidth
public java.lang.Integer getWidth()
-
setWidth
protected void setWidth(java.lang.Integer width)
-
getHeight
public java.lang.Integer getHeight()
-
setHeight
protected void setHeight(java.lang.Integer height)
-
-