aboutsummaryrefslogtreecommitdiff
path: root/src/org/xbill/DNS/EmptyRecord.java
blob: f5e61e898c8e87bca83b0c15f97231b59960b501 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// 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) {
}

}