NASA World Wind

gov.nasa.worldwind.ogc
Class OGCAddress

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

public class OGCAddress
extends AbstractXMLEventParser

Parses an OGC Address element.


Field Summary
protected  String address
           
protected  QName ADDRESS
           
protected  QName ADDRESS_TYPE
           
protected  String addressType
           
protected  String city
           
protected  QName CITY
           
protected  String country
           
protected  QName COUNTRY
           
protected  QName POST_CODE
           
protected  String postCode
           
protected  QName STATE_OR_PROVINCE
           
protected  String stateOrProvince
           
 
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
 
Constructor Summary
OGCAddress(String namespaceURI)
           
 
Method Summary
protected  void doParseEventContent(XMLEventParserContext ctx, XMLEvent event, Object... args)
          Parse an event's sub-elements.
 String getAddress()
           
 String getAddressType()
           
 String getCity()
           
 String getCountry()
           
 String getPostCode()
           
 String getStateOrProvince()
           
protected  void initialize()
           
protected  void setAddress(String address)
           
protected  void setAddressType(String addressType)
           
protected  void setCity(String city)
           
protected  void setCountry(String country)
           
protected  void setPostCode(String postCode)
           
protected  void setStateOrProvince(String stateOrProvince)
           
 String toString()
           
 
Methods inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
allocate, 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

address

protected String address

ADDRESS

protected QName ADDRESS

ADDRESS_TYPE

protected QName ADDRESS_TYPE

addressType

protected String addressType

city

protected String city

CITY

protected QName CITY

country

protected String country

COUNTRY

protected QName COUNTRY

POST_CODE

protected QName POST_CODE

postCode

protected String postCode

STATE_OR_PROVINCE

protected QName STATE_OR_PROVINCE

stateOrProvince

protected String stateOrProvince
Constructor Detail

OGCAddress

public OGCAddress(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 AbstractXMLEventParser
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.

getAddress

public String getAddress()

getAddressType

public String getAddressType()

getCity

public String getCity()

getCountry

public String getCountry()

getPostCode

public String getPostCode()

getStateOrProvince

public String getStateOrProvince()

initialize

protected void initialize()

setAddress

protected void setAddress(String address)

setAddressType

protected void setAddressType(String addressType)

setCity

protected void setCity(String city)

setCountry

protected void setCountry(String country)

setPostCode

protected void setPostCode(String postCode)

setStateOrProvince

protected void setStateOrProvince(String stateOrProvince)

toString

public String toString()
Overrides:
toString in class Object

NASA World Wind