1// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org) 2 3package org.xbill.DNS; 4 5import java.io.*; 6 7/** 8 * A class implementing Records with no data; that is, records used in 9 * the question section of messages and meta-records in dynamic update. 10 * 11 * @author Brian Wellington 12 */ 13 14class EmptyRecord extends Record { 15 16private static final long serialVersionUID = 3601852050646429582L; 17 18EmptyRecord() {} 19 20Record 21getObject() { 22 return new EmptyRecord(); 23} 24 25void 26rrFromWire(DNSInput in) throws IOException { 27} 28 29void 30rdataFromString(Tokenizer st, Name origin) throws IOException { 31} 32 33String 34rrToString() { 35 return ""; 36} 37 38void 39rrToWire(DNSOutput out, Compression c, boolean canonical) { 40} 41 42} 43