public class ServiceLocation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
city
This is the city where the service is located.
|
private java.lang.String |
latitude
This is the latitude of the service location.
|
private java.lang.String |
longitude
This is the longitude of the service location.
|
private java.lang.String |
m_commonName |
private java.lang.String |
m_country
This is the country where the service is located.
|
private java.lang.String |
state
This is the state where the service is located.
|
static java.lang.String |
XML_ELEMENT_CITY |
static java.lang.String |
XML_ELEMENT_COUNTRY |
static java.lang.String |
XML_ELEMENT_GEO |
static java.lang.String |
XML_ELEMENT_LATITUDE |
static java.lang.String |
XML_ELEMENT_LONGITUDE |
static java.lang.String |
XML_ELEMENT_NAME |
static java.lang.String |
XML_ELEMENT_POSITION |
static java.lang.String |
XML_ELEMENT_STATE |
Constructor and Description |
---|
ServiceLocation(org.w3c.dom.Node locationNode,
JAPCertificate mixCertificate)
Creates a new ServiceLocation from XML description (Location node).
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCity()
Returns the city where the service is located.
|
java.lang.String |
getCommonName() |
java.lang.String |
getCountryCode()
Returns the country where the service is located.
|
java.lang.String |
getLatitude()
Returns the latitude of the service location.
|
java.lang.String |
getLongitude()
Returns the longitude of the service location.
|
java.lang.String |
getState()
Returns the state where the service is located.
|
org.w3c.dom.Element |
toXMLElement(org.w3c.dom.Document ownerDocument) |
public static final java.lang.String XML_ELEMENT_NAME
public static final java.lang.String XML_ELEMENT_CITY
public static final java.lang.String XML_ELEMENT_STATE
public static final java.lang.String XML_ELEMENT_COUNTRY
public static final java.lang.String XML_ELEMENT_POSITION
public static final java.lang.String XML_ELEMENT_GEO
public static final java.lang.String XML_ELEMENT_LONGITUDE
public static final java.lang.String XML_ELEMENT_LATITUDE
private java.lang.String city
private java.lang.String state
private java.lang.String m_country
private java.lang.String m_commonName
private java.lang.String longitude
private java.lang.String latitude
public ServiceLocation(org.w3c.dom.Node locationNode, JAPCertificate mixCertificate)
locationNode
- The Location node from an XML document.public java.lang.String getCity()
public java.lang.String getState()
public java.lang.String getCountryCode()
public java.lang.String getCommonName()
public java.lang.String getLongitude()
public java.lang.String getLatitude()
public org.w3c.dom.Element toXMLElement(org.w3c.dom.Document ownerDocument)
Copyright © 2023. All rights reserved.