public class OGCContactInformation extends AbstractXMLEventParser
Modifier and Type | Field and Description |
---|---|
protected QName |
CONTACT_ADDRESS |
protected QName |
CONTACT_ELECTRONIC_MAIL_ADDRESS |
protected QName |
CONTACT_FACSIMILE_TELEPHONE |
protected QName |
CONTACT_ORGANIZATION |
protected QName |
CONTACT_PERSON |
protected QName |
CONTACT_PERSON_PRIMARY |
protected QName |
CONTACT_POSITION |
protected QName |
CONTACT_VOICE_TELEPHONE |
protected OGCAddress |
contactAddress |
protected String |
electronicMailAddress |
protected String |
facsimileTelephone |
protected String |
organization |
protected String |
personPrimary |
protected String |
position |
protected String |
voiceTelephone |
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
OGCContactInformation(String namespaceURI) |
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 QName CONTACT_ADDRESS
protected QName CONTACT_ELECTRONIC_MAIL_ADDRESS
protected QName CONTACT_FACSIMILE_TELEPHONE
protected QName CONTACT_ORGANIZATION
protected QName CONTACT_PERSON
protected QName CONTACT_PERSON_PRIMARY
protected QName CONTACT_POSITION
protected QName CONTACT_VOICE_TELEPHONE
protected OGCAddress contactAddress
protected String electronicMailAddress
protected String facsimileTelephone
protected String organization
protected String personPrimary
protected String position
protected String voiceTelephone
public OGCContactInformation(String namespaceURI)
public XMLEventParser allocate(XMLEventParserContext ctx, 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, 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 OGCAddress getContactAddress()
public String getElectronicMailAddress()
public String getFacsimileTelephone()
public String getOrganization()
public String getPersonPrimary()
public String getPosition()
public String getVoiceTelephone()
protected String[] parseContactPersonPrimary(XMLEventParserContext ctx, XMLEvent cppEvent) throws XMLStreamException
XMLStreamException
protected void setContactAddress(OGCAddress contactAddress)
protected void setElectronicMailAddress(String electronicMailAddress)
protected void setFacsimileTelephone(String facsimileTelephone)
protected void setOrganization(String organization)
protected void setPersonPrimary(String personPrimary)
protected void setPosition(String position)
protected void setVoiceTelephone(String voiceTelephone)