public class OGCAddress extends AbstractXMLEventParser
Modifier and Type | Field and Description |
---|---|
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 |
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
OGCAddress(String namespaceURI) |
Modifier and Type | Method and Description |
---|---|
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() |
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, setNamespaceURI, setParent
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
public OGCAddress(String namespaceURI)
protected void doParseEventContent(XMLEventParserContext ctx, XMLEvent event, Object... args) throws XMLStreamException
AbstractXMLEventParser
doParseEventContent
in class AbstractXMLEventParser
ctx
- a current parser context.event
- the event to parse.args
- an optional list of arguments that may by used by subclasses.XMLStreamException
- if an exception occurs during event-stream reading.public String getAddress()
public String getAddressType()
public String getCity()
public String getCountry()
public String getPostCode()
public 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)