public class OGCAddress extends AbstractXMLEventParser
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
address |
protected javax.xml.namespace.QName |
ADDRESS |
protected javax.xml.namespace.QName |
ADDRESS_TYPE |
protected java.lang.String |
addressType |
protected java.lang.String |
city |
protected javax.xml.namespace.QName |
CITY |
protected java.lang.String |
country |
protected javax.xml.namespace.QName |
COUNTRY |
protected javax.xml.namespace.QName |
POST_CODE |
protected java.lang.String |
postCode |
protected javax.xml.namespace.QName |
STATE_OR_PROVINCE |
protected java.lang.String |
stateOrProvince |
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
OGCAddress(java.lang.String namespaceURI) |
Modifier and Type | Method and Description |
---|---|
protected void |
doParseEventContent(XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent event,
java.lang.Object... args)
Parse an event's sub-elements.
|
java.lang.String |
getAddress() |
java.lang.String |
getAddressType() |
java.lang.String |
getCity() |
java.lang.String |
getCountry() |
java.lang.String |
getPostCode() |
java.lang.String |
getStateOrProvince() |
protected void |
initialize() |
protected void |
setAddress(java.lang.String address) |
protected void |
setAddressType(java.lang.String addressType) |
protected void |
setCity(java.lang.String city) |
protected void |
setCountry(java.lang.String country) |
protected void |
setPostCode(java.lang.String postCode) |
protected void |
setStateOrProvince(java.lang.String stateOrProvince) |
java.lang.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 java.lang.String address
protected javax.xml.namespace.QName ADDRESS
protected javax.xml.namespace.QName ADDRESS_TYPE
protected java.lang.String addressType
protected java.lang.String city
protected javax.xml.namespace.QName CITY
protected java.lang.String country
protected javax.xml.namespace.QName COUNTRY
protected javax.xml.namespace.QName POST_CODE
protected java.lang.String postCode
protected javax.xml.namespace.QName STATE_OR_PROVINCE
protected java.lang.String stateOrProvince
protected void doParseEventContent(XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event, java.lang.Object... args) throws javax.xml.stream.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.javax.xml.stream.XMLStreamException
- if an exception occurs during event-stream reading.public java.lang.String getAddress()
public java.lang.String getAddressType()
public java.lang.String getCity()
public java.lang.String getCountry()
public java.lang.String getPostCode()
public java.lang.String getStateOrProvince()
protected void initialize()
protected void setAddress(java.lang.String address)
protected void setAddressType(java.lang.String addressType)
protected void setCity(java.lang.String city)
protected void setCountry(java.lang.String country)
protected void setPostCode(java.lang.String postCode)
protected void setStateOrProvince(java.lang.String stateOrProvince)
public java.lang.String toString()
toString
in class java.lang.Object