NASA World Wind

gov.nasa.worldwind.ogc.wms
Class WMSLogoURL

java.lang.Object
  extended by gov.nasa.worldwind.util.xml.AbstractXMLEventParser
      extended by gov.nasa.worldwind.ogc.wms.WMSLayerInfoURL
          extended by 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
protected  Integer height
           
protected  Integer width
           
 
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
WMSLogoURL(String namespaceURI)
           
 
Method Summary
protected  void doParseEventAttributes(XMLEventParserContext ctx, XMLEvent event, Object... args)
          Parse an event's attributes.
 Integer getHeight()
           
 Integer getWidth()
           
protected  void setHeight(Integer height)
           
protected  void setWidth(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, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

height

protected Integer height

width

protected Integer width
Constructor Detail

WMSLogoURL

public WMSLogoURL(String namespaceURI)
Method Detail

doParseEventAttributes

protected void doParseEventAttributes(XMLEventParserContext ctx,
                                      XMLEvent event,
                                      Object... args)
Description copied from class: AbstractXMLEventParser
Parse an event's attributes.

Overrides:
doParseEventAttributes in class WMSLayerInfoURL
Parameters:
ctx - a current parser context.
event - the event to parse.
args - an optional list of arguments that may by used by subclasses.

getHeight

public Integer getHeight()

getWidth

public Integer getWidth()

setHeight

protected void setHeight(Integer height)

setWidth

protected void setWidth(Integer width)

NASA World Wind