Package gov.nasa.worldwind.ogc.wms
Class WMSServiceInformation
- java.lang.Object
-
- gov.nasa.worldwind.util.xml.AbstractXMLEventParser
-
- gov.nasa.worldwind.ogc.OGCServiceInformation
-
- gov.nasa.worldwind.ogc.wms.WMSServiceInformation
-
- All Implemented Interfaces:
XMLEventParser
public class WMSServiceInformation extends OGCServiceInformation
Parses a WMS Service element.
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.xml.namespace.QName
LAYER_LIMIT
protected int
layerLimit
protected javax.xml.namespace.QName
MAX_HEIGHT
protected javax.xml.namespace.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
Constructors Constructor Description WMSServiceInformation(java.lang.String namespaceURI)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doParseEventContent(XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event, java.lang.Object... args)
Parse an event's sub-elements.int
getMaxHeight()
int
getMaxWidth()
protected void
setMaxHeight(int maxHeight)
protected void
setMaxWidth(int maxWidth)
java.lang.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, setNamespaceURI, setParent
-
-
-
-
Method Detail
-
doParseEventContent
protected void doParseEventContent(XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event, java.lang.Object... args) throws javax.xml.stream.XMLStreamException
Description copied from class:AbstractXMLEventParser
Parse an event's sub-elements.- Overrides:
doParseEventContent
in classOGCServiceInformation
- Parameters:
ctx
- a current parser context.event
- the event to parse.args
- an optional list of arguments that may by used by subclasses.- Throws:
javax.xml.stream.XMLStreamException
- if an exception occurs during event-stream reading.
-
getMaxWidth
public int getMaxWidth()
-
setMaxWidth
protected void setMaxWidth(int maxWidth)
-
getMaxHeight
public int getMaxHeight()
-
setMaxHeight
protected void setMaxHeight(int maxHeight)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classOGCServiceInformation
-
-