Package org.xbill.DNS
Class SingleCompressedNameBase
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.SingleNameBase
org.xbill.DNS.SingleCompressedNameBase
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Record>
- Direct Known Subclasses:
CNAMERecord,NSRecord,PTRRecord
Implements common functionality for the many record types whose format is a single compressed
name.
-
Field Summary
Fields inherited from class org.xbill.DNS.SingleNameBase
singleName -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedSingleCompressedNameBase(Name name, int type, int dclass, long ttl, Name singleName, String description) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidrrToWire(DNSOutput out, Compression c, boolean canonical) Converts the type-specific RR to wire format - must be overridden.Methods inherited from class org.xbill.DNS.SingleNameBase
getSingleName, rdataFromString, rrFromWire, rrToStringMethods inherited from class org.xbill.DNS.Record
byteArrayFromString, byteArrayToString, checkByteArrayLength, checkName, checkU16, checkU32, checkU8, cloneRecord, compareTo, equals, fromString, fromString, fromWire, fromWire, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, sameRRset, setTTL, toString, toWire, toWire, toWireCanonical, unknownToString, withDClass, withName, writeReplace
-
Constructor Details
-
SingleCompressedNameBase
protected SingleCompressedNameBase() -
SingleCompressedNameBase
-
-
Method Details
-
rrToWire
Description copied from class:RecordConverts the type-specific RR to wire format - must be overridden.- Overrides:
rrToWirein classSingleNameBase
-