gov.nasa.worldwind.ogc
Class OGCAddress
java.lang.Object
gov.nasa.worldwind.util.xml.AbstractXMLEventParser
gov.nasa.worldwind.ogc.OGCAddress
- All Implemented Interfaces:
- XMLEventParser
public class OGCAddress
- extends AbstractXMLEventParser
Parses an OGC Address element.
| 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 |
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
OGCAddress
public OGCAddress(String namespaceURI)
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