Package gov.nasa.worldwind.ogc
Class OGCBoundingBox
- java.lang.Object
-
- gov.nasa.worldwind.util.xml.AbstractXMLEventParser
-
- gov.nasa.worldwind.ogc.OGCBoundingBox
-
- All Implemented Interfaces:
XMLEventParser
public class OGCBoundingBox extends AbstractXMLEventParser
Parses an OGC BoundingBox element.
-
-
Field Summary
-
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
-
-
Constructor Summary
Constructors Constructor Description OGCBoundingBox(java.lang.String namespaceURI)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OGCBoundingBox
createFromStrings(java.lang.String crs, java.lang.String minx, java.lang.String maxx, java.lang.String miny, java.lang.String maxy, java.lang.String resx, java.lang.String resy)
protected void
doParseEventAttributes(XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event, java.lang.Object... args)
Parse an event's attributes.java.lang.String
getCRS()
double
getMaxx()
double
getMaxy()
double
getMinx()
double
getMiny()
double
getResx()
double
getResy()
protected void
setCRS(java.lang.String crs)
protected void
setMaxx(double maxx)
protected void
setMaxy(double maxy)
protected void
setMinx(double minx)
protected void
setMiny(double miny)
protected void
setResx(double resx)
protected void
setResy(double resy)
java.lang.String
toString()
-
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, setNamespaceURI, setParent
-
-
-
-
Method Detail
-
createFromStrings
public static OGCBoundingBox createFromStrings(java.lang.String crs, java.lang.String minx, java.lang.String maxx, java.lang.String miny, java.lang.String maxy, java.lang.String resx, java.lang.String resy)
-
doParseEventAttributes
protected void doParseEventAttributes(XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event, java.lang.Object... args)
Description copied from class:AbstractXMLEventParser
Parse an event's attributes.- Overrides:
doParseEventAttributes
in classAbstractXMLEventParser
- Parameters:
ctx
- a current parser context.event
- the event to parse.args
- an optional list of arguments that may by used by subclasses.
-
getCRS
public java.lang.String getCRS()
-
setCRS
protected void setCRS(java.lang.String crs)
-
getMinx
public double getMinx()
-
setMinx
protected void setMinx(double minx)
-
getMaxx
public double getMaxx()
-
setMaxx
protected void setMaxx(double maxx)
-
getMiny
public double getMiny()
-
setMiny
protected void setMiny(double miny)
-
getMaxy
public double getMaxy()
-
setMaxy
protected void setMaxy(double maxy)
-
getResx
public double getResx()
-
setResx
protected void setResx(double resx)
-
getResy
public double getResy()
-
setResy
protected void setResy(double resy)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-