NASA World Wind

gov.nasa.worldwind.ogc.wms
Class WMSLayerExtent

java.lang.Object
  extended by gov.nasa.worldwind.util.xml.AbstractXMLEventParser
      extended by gov.nasa.worldwind.ogc.wms.WMSLayerExtent
All Implemented Interfaces:
XMLEventParser

public class WMSLayerExtent
extends AbstractXMLEventParser

Parses a WMS layer Extent element. These elements are defined only in WMS 1.1.1.


Field Summary
protected  String defaultValue
           
protected  String extent
           
protected  String name
           
protected  Boolean nearestValue
           
 
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
 
Constructor Summary
WMSLayerExtent(String namespaceURI)
           
 
Method Summary
protected  void doParseEventAttributes(XMLEventParserContext ctx, XMLEvent event, Object... args)
          Parse an event's attributes.
 String getDefaultValue()
           
 String getExtent()
           
 String getName()
           
 Boolean isNearestValue()
           
protected  void setDefaultValue(String defaultValue)
           
protected  void setName(String name)
           
protected  void setNearestValue(Boolean nearestValue)
           
 
Methods inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
allocate, doAddCharacters, doAddEventAttribute, doAddEventContent, doParseEventContent, 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

defaultValue

protected String defaultValue

extent

protected String extent

name

protected String name

nearestValue

protected Boolean nearestValue
Constructor Detail

WMSLayerExtent

public WMSLayerExtent(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 AbstractXMLEventParser
Parameters:
ctx - a current parser context.
event - the event to parse.
args - an optional list of arguments that may by used by subclasses.

getDefaultValue

public String getDefaultValue()

getExtent

public String getExtent()

getName

public String getName()

isNearestValue

public Boolean isNearestValue()

setDefaultValue

protected void setDefaultValue(String defaultValue)

setName

protected void setName(String name)

setNearestValue

protected void setNearestValue(Boolean nearestValue)

NASA World Wind