blob: f5e61e898c8e87bca83b0c15f97231b59960b501 [file] [log] [blame]
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org)
package org.xbill.DNS;
import java.io.*;
/**
* A class implementing Records with no data; that is, records used in
* the question section of messages and meta-records in dynamic update.
*
* @author Brian Wellington
*/
class EmptyRecord extends Record {
private static final long serialVersionUID = 3601852050646429582L;
EmptyRecord() {}
Record
getObject() {
return new EmptyRecord();
}
void
rrFromWire(DNSInput in) throws IOException {
}
void
rdataFromString(Tokenizer st, Name origin) throws IOException {
}
String
rrToString() {
return "";
}
void
rrToWire(DNSOutput out, Compression c, boolean canonical) {
}
}