|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object anon.infoservice.ServiceLocation
public class ServiceLocation
Holds the information of the location of a service.
Field Summary | |
---|---|
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 Summary | |
---|---|
ServiceLocation(org.w3c.dom.Node locationNode,
JAPCertificate mixCertificate)
Creates a new ServiceLocation from XML description (Location node). |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public ServiceLocation(org.w3c.dom.Node locationNode, JAPCertificate mixCertificate)
locationNode
- The Location node from an XML document.Method Detail |
---|
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |