NASA World Wind

gov.nasa.worldwind.ogc.wms
Class WMSServiceInformation

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

public class WMSServiceInformation
extends OGCServiceInformation

Parses a WMS Service element.


Field Summary
protected  QName LAYER_LIMIT
           
protected  int layerLimit
           
protected  QName MAX_HEIGHT
           
protected  QName MAX_WIDTH
           
protected  int maxHeight
           
protected  int maxWidth
           
 
Fields inherited from class gov.nasa.worldwind.ogc.OGCServiceInformation
ABSTRACT, ACCESS_CONSTRAINTS, accessConstraints, CONTACT_INFORMATION, contactInformation, fees, FEES, KEYWORD, KEYWORD_LIST, keywords, NAME, ONLINE_RESOURCE, onlineResource, serviceAbstract, serviceName, serviceTitle, TITLE
 
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
 
Constructor Summary
WMSServiceInformation(String namespaceURI)
           
 
Method Summary
protected  void doParseEventContent(XMLEventParserContext ctx, XMLEvent event, Object... args)
          Parse an event's sub-elements.
 int getMaxHeight()
           
 int getMaxWidth()
           
protected  void setMaxHeight(int maxHeight)
           
protected  void setMaxWidth(int maxWidth)
           
 String toString()
           
 
Methods inherited from class gov.nasa.worldwind.ogc.OGCServiceInformation
allocate, getAccessConstraints, getContactInformation, getFees, getKeywords, getOnlineResource, getServiceAbstract, getServiceName, getServiceTitle, keywordsToString, setAccessConstraints, setContactInformation, setFees, setKeywords, setOnlineResource, setServiceAbstract, setServiceName, setServiceTitle
 
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, wait, wait, wait
 

Field Detail

LAYER_LIMIT

protected QName LAYER_LIMIT

layerLimit

protected int layerLimit

MAX_HEIGHT

protected QName MAX_HEIGHT

MAX_WIDTH

protected QName MAX_WIDTH

maxHeight

protected int maxHeight

maxWidth

protected int maxWidth
Constructor Detail

WMSServiceInformation

public WMSServiceInformation(String namespaceURI)
Method Detail

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 OGCServiceInformation
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.

getMaxHeight

public int getMaxHeight()

getMaxWidth

public int getMaxWidth()

setMaxHeight

protected void setMaxHeight(int maxHeight)

setMaxWidth

protected void setMaxWidth(int maxWidth)

toString

public String toString()
Overrides:
toString in class OGCServiceInformation

NASA World Wind