|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xbill.DNS.Record
org.xbill.DNS.LOCRecord
public class LOCRecord
Location - describes the physical location of hosts, networks, subnets.
Field Summary |
---|
Fields inherited from class org.xbill.DNS.Record |
---|
dclass, name, ttl, type |
Constructor Summary | |
---|---|
LOCRecord(Name name,
int dclass,
long ttl,
double latitude,
double longitude,
double altitude,
double size,
double hPrecision,
double vPrecision)
Creates an LOC Record from the given data |
Method Summary | |
---|---|
double |
getAltitude()
Returns the altitude |
double |
getHPrecision()
Returns the horizontal precision |
double |
getLatitude()
Returns the latitude |
double |
getLongitude()
Returns the longitude |
double |
getSize()
Returns the diameter of the enclosing sphere |
double |
getVPrecision()
Returns the horizontal precision |
Methods inherited from class org.xbill.DNS.Record |
---|
byteArrayFromString, byteArrayToString, compareTo, equals, fromString, fromString, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, toString, toWire, toWireCanonical, unknownToString, withName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LOCRecord(Name name, int dclass, long ttl, double latitude, double longitude, double altitude, double size, double hPrecision, double vPrecision)
latitude
- The latitude of the center of the spherelongitude
- The longitude of the center of the spherealtitude
- The altitude of the center of the sphere, in msize
- The diameter of a sphere enclosing the described entity, in m.hPrecision
- The horizontal precision of the data, in m.vPrecision
- The vertical precision of the data, in m.Method Detail |
---|
public double getLatitude()
public double getLongitude()
public double getAltitude()
public double getSize()
public double getHPrecision()
public double getVPrecision()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |