public class OGCContactInformation extends AbstractXMLEventParser
Modifier and Type | Field and Description |
---|---|
protected javax.xml.namespace.QName |
CONTACT_ADDRESS |
protected javax.xml.namespace.QName |
CONTACT_ELECTRONIC_MAIL_ADDRESS |
protected javax.xml.namespace.QName |
CONTACT_FACSIMILE_TELEPHONE |
protected javax.xml.namespace.QName |
CONTACT_ORGANIZATION |
protected javax.xml.namespace.QName |
CONTACT_PERSON |
protected javax.xml.namespace.QName |
CONTACT_PERSON_PRIMARY |
protected javax.xml.namespace.QName |
CONTACT_POSITION |
protected javax.xml.namespace.QName |
CONTACT_VOICE_TELEPHONE |
protected OGCAddress |
contactAddress |
protected java.lang.String |
electronicMailAddress |
protected java.lang.String |
facsimileTelephone |
protected java.lang.String |
organization |
protected java.lang.String |
personPrimary |
protected java.lang.String |
position |
protected java.lang.String |
voiceTelephone |
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
OGCContactInformation(java.lang.String namespaceURI) |
Modifier and Type | Method and Description |
---|---|
XMLEventParser |
allocate(XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent event)
Create a parser for a specified event.
|
protected void |
doParseEventContent(XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent event,
java.lang.Object... args)
Parse an event's sub-elements.
|
OGCAddress |
getContactAddress() |
java.lang.String |
getElectronicMailAddress() |
java.lang.String |
getFacsimileTelephone() |
java.lang.String |
getOrganization() |
java.lang.String |
getPersonPrimary() |
java.lang.String |
getPosition() |
java.lang.String |
getVoiceTelephone() |
protected java.lang.String[] |
parseContactPersonPrimary(XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent cppEvent) |
protected void |
setContactAddress(OGCAddress contactAddress) |
protected void |
setElectronicMailAddress(java.lang.String electronicMailAddress) |
protected void |
setFacsimileTelephone(java.lang.String facsimileTelephone) |
protected void |
setOrganization(java.lang.String organization) |
protected void |
setPersonPrimary(java.lang.String personPrimary) |
protected void |
setPosition(java.lang.String position) |
protected void |
setVoiceTelephone(java.lang.String voiceTelephone) |
java.lang.String |
toString() |
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 javax.xml.namespace.QName CONTACT_ADDRESS
protected javax.xml.namespace.QName CONTACT_ELECTRONIC_MAIL_ADDRESS
protected javax.xml.namespace.QName CONTACT_FACSIMILE_TELEPHONE
protected javax.xml.namespace.QName CONTACT_ORGANIZATION
protected javax.xml.namespace.QName CONTACT_PERSON
protected javax.xml.namespace.QName CONTACT_PERSON_PRIMARY
protected javax.xml.namespace.QName CONTACT_POSITION
protected javax.xml.namespace.QName CONTACT_VOICE_TELEPHONE
protected OGCAddress contactAddress
protected java.lang.String electronicMailAddress
protected java.lang.String facsimileTelephone
protected java.lang.String organization
protected java.lang.String personPrimary
protected java.lang.String position
protected java.lang.String voiceTelephone
public OGCContactInformation(java.lang.String namespaceURI)
public XMLEventParser allocate(XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event)
AbstractXMLEventParser
allocate
in class AbstractXMLEventParser
ctx
- the current parser context.event
- the event for which the parser is created. Only the event type is used; the new parser can operate
on any event of that type.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 OGCAddress getContactAddress()
public java.lang.String getElectronicMailAddress()
public java.lang.String getFacsimileTelephone()
public java.lang.String getOrganization()
public java.lang.String getPersonPrimary()
public java.lang.String getPosition()
public java.lang.String getVoiceTelephone()
protected java.lang.String[] parseContactPersonPrimary(XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent cppEvent) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
protected void setContactAddress(OGCAddress contactAddress)
protected void setElectronicMailAddress(java.lang.String electronicMailAddress)
protected void setFacsimileTelephone(java.lang.String facsimileTelephone)
protected void setOrganization(java.lang.String organization)
protected void setPersonPrimary(java.lang.String personPrimary)
protected void setPosition(java.lang.String position)
protected void setVoiceTelephone(java.lang.String voiceTelephone)
public java.lang.String toString()
toString
in class java.lang.Object