NASA World Wind

gov.nasa.worldwind.ogc
Class OGCBoundingBox

java.lang.Object
  extended by gov.nasa.worldwind.util.xml.AbstractXMLEventParser
      extended by 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
OGCBoundingBox(String namespaceURI)
           
 
Method Summary
static OGCBoundingBox createFromStrings(String crs, String minx, String maxx, String miny, String maxy, String resx, String resy)
           
protected  void doParseEventAttributes(XMLEventParserContext ctx, XMLEvent event, Object... args)
          Parse an event's attributes.
 String getCRS()
           
 double getMaxx()
           
 double getMaxy()
           
 double getMinx()
           
 double getMiny()
           
 double getResx()
           
 double getResy()
           
protected  void setCRS(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)
           
 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, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OGCBoundingBox

public OGCBoundingBox(String namespaceURI)
Method Detail

createFromStrings

public static OGCBoundingBox createFromStrings(String crs,
                                               String minx,
                                               String maxx,
                                               String miny,
                                               String maxy,
                                               String resx,
                                               String resy)

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.

getCRS

public String getCRS()

getMaxx

public double getMaxx()

getMaxy

public double getMaxy()

getMinx

public double getMinx()

getMiny

public double getMiny()

getResx

public double getResx()

getResy

public double getResy()

setCRS

protected void setCRS(String crs)

setMaxx

protected void setMaxx(double maxx)

setMaxy

protected void setMaxy(double maxy)

setMinx

protected void setMinx(double minx)

setMiny

protected void setMiny(double miny)

setResx

protected void setResx(double resx)

setResy

protected void setResy(double resy)

toString

public String toString()
Overrides:
toString in class Object

NASA World Wind