org.apache.directory.server.dns.io.encoder
Class PointerRecordEncoder

java.lang.Object
  extended by org.apache.directory.server.dns.io.encoder.ResourceRecordEncoder
      extended by org.apache.directory.server.dns.io.encoder.PointerRecordEncoder
All Implemented Interfaces:
RecordEncoder

public class PointerRecordEncoder
extends ResourceRecordEncoder

3.3.12. PTR RDATA format +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ / PTRDNAME / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ where: PTRDNAME A which points to some location in the domain name space. PTR records cause no additional section processing. These RRs are used in special domains to point to some other location in the domain space. These records are simple data, and don't imply any special processing similar to that performed by CNAME, which identifies aliases. See the description of the IN-ADDR.ARPA domain for an example.


Constructor Summary
PointerRecordEncoder()
           
 
Method Summary
protected  byte[] encodeResourceData(ResourceRecord record)
           
 
Methods inherited from class org.apache.directory.server.dns.io.encoder.ResourceRecordEncoder
encode, encodeCharacterString, encodeDomainName, encodeDomainName, encodeRecordClass, encodeRecordType, putUnsignedByte, putUnsignedByte, putUnsignedInt, putUnsignedInt, putUnsignedShort, putUnsignedShort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointerRecordEncoder

public PointerRecordEncoder()
Method Detail

encodeResourceData

protected byte[] encodeResourceData(ResourceRecord record)
Specified by:
encodeResourceData in class ResourceRecordEncoder