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.QNameLAYER_LIMITprotected intlayerLimitprotected javax.xml.namespace.QNameMAX_HEIGHTprotected javax.xml.namespace.QNameMAX_WIDTHprotected intmaxHeightprotected intmaxWidth-
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 voiddoParseEventContent(XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event, java.lang.Object... args)Parse an event's sub-elements.intgetMaxHeight()intgetMaxWidth()protected voidsetMaxHeight(int maxHeight)protected voidsetMaxWidth(int maxWidth)java.lang.StringtoString()-
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:AbstractXMLEventParserParse an event's sub-elements.- Overrides:
doParseEventContentin 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:
toStringin classOGCServiceInformation
-
-