1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5
<!-- Generated by javadoc (build 1.7.0) on Thu Jan 24 21:19:04 GMT-08:00 2008 -->
7
SetResponse (dnsjava documentation)
10
<META NAME="date" CONTENT="2008-01-24">
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
14
<SCRIPT type="text/javascript">
15
function windowTitle()
17
if (location.href.indexOf('is-external=true') == -1) {
18
parent.document.title="SetResponse (dnsjava documentation)";
27
<BODY BGCOLOR="white" onload="windowTitle();">
31
<!-- ========= START OF TOP NAVBAR ======= -->
32
<A NAME="navbar_top"><!-- --></A>
33
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
<A NAME="navbar_top_firstrow"><!-- --></A>
38
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
<TR ALIGN="center" VALIGN="top">
40
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
41
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
42
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
43
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
44
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
45
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
46
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
50
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
56
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57
<A HREF="../../../org/xbill/DNS/Serial.html" title="class in org.xbill.DNS"><B>PREV CLASS</B></A>
58
<A HREF="../../../org/xbill/DNS/SIGRecord.html" title="class in org.xbill.DNS"><B>NEXT CLASS</B></A></FONT></TD>
59
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60
<A HREF="../../../index.html?org/xbill/DNS/SetResponse.html" target="_top"><B>FRAMES</B></A>
61
<A HREF="SetResponse.html" target="_top"><B>NO FRAMES</B></A>
62
<SCRIPT type="text/javascript">
65
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
70
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
77
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
79
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
83
<A NAME="skip-navbar_top"></A>
84
<!-- ========= END OF TOP NAVBAR ========= -->
87
<!-- ======== START OF CLASS DATA ======== -->
92
Class SetResponse</H2>
94
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
95
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.xbill.DNS.SetResponse</B>
99
<DT><PRE>public class <B>SetResponse</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
103
The Response from a query to Cache.lookupRecords() or Zone.findRecords()
108
<DT><B>Author:</B></DT>
109
<DD>Brian Wellington</DD>
110
<DT><B>See Also:</B><DD><A HREF="../../../org/xbill/DNS/Cache.html" title="class in org.xbill.DNS"><CODE>Cache</CODE></A>,
111
<A HREF="../../../org/xbill/DNS/Zone.html" title="class in org.xbill.DNS"><CODE>Zone</CODE></A></DL>
116
<!-- ========== METHOD SUMMARY =========== -->
118
<A NAME="method_summary"><!-- --></A>
119
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
120
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
121
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
122
<B>Method Summary</B></FONT></TH>
124
<TR BGCOLOR="white" CLASS="TableRowColor">
125
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
126
<CODE> <A HREF="../../../org/xbill/DNS/RRset.html" title="class in org.xbill.DNS">RRset</A>[]</CODE></FONT></TD>
127
<TD><CODE><B><A HREF="../../../org/xbill/DNS/SetResponse.html#answers()">answers</A></B>()</CODE>
130
If the query was successful, return the answers</TD>
132
<TR BGCOLOR="white" CLASS="TableRowColor">
133
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
134
<CODE> <A HREF="../../../org/xbill/DNS/CNAMERecord.html" title="class in org.xbill.DNS">CNAMERecord</A></CODE></FONT></TD>
135
<TD><CODE><B><A HREF="../../../org/xbill/DNS/SetResponse.html#getCNAME()">getCNAME</A></B>()</CODE>
138
If the query encountered a CNAME, return it.</TD>
140
<TR BGCOLOR="white" CLASS="TableRowColor">
141
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
142
<CODE> <A HREF="../../../org/xbill/DNS/DNAMERecord.html" title="class in org.xbill.DNS">DNAMERecord</A></CODE></FONT></TD>
143
<TD><CODE><B><A HREF="../../../org/xbill/DNS/SetResponse.html#getDNAME()">getDNAME</A></B>()</CODE>
146
If the query encountered a DNAME, return it.</TD>
148
<TR BGCOLOR="white" CLASS="TableRowColor">
149
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
150
<CODE> <A HREF="../../../org/xbill/DNS/RRset.html" title="class in org.xbill.DNS">RRset</A></CODE></FONT></TD>
151
<TD><CODE><B><A HREF="../../../org/xbill/DNS/SetResponse.html#getNS()">getNS</A></B>()</CODE>
154
If the query hit a delegation point, return the NS set.</TD>
156
<TR BGCOLOR="white" CLASS="TableRowColor">
157
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158
<CODE> boolean</CODE></FONT></TD>
159
<TD><CODE><B><A HREF="../../../org/xbill/DNS/SetResponse.html#isCNAME()">isCNAME</A></B>()</CODE>
162
Is the result of the lookup a CNAME?</TD>
164
<TR BGCOLOR="white" CLASS="TableRowColor">
165
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
166
<CODE> boolean</CODE></FONT></TD>
167
<TD><CODE><B><A HREF="../../../org/xbill/DNS/SetResponse.html#isDelegation()">isDelegation</A></B>()</CODE>
170
Is the result of the lookup that the name is below a delegation?</TD>
172
<TR BGCOLOR="white" CLASS="TableRowColor">
173
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
174
<CODE> boolean</CODE></FONT></TD>
175
<TD><CODE><B><A HREF="../../../org/xbill/DNS/SetResponse.html#isDNAME()">isDNAME</A></B>()</CODE>
178
Is the result of the lookup a DNAME?</TD>
180
<TR BGCOLOR="white" CLASS="TableRowColor">
181
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
182
<CODE> boolean</CODE></FONT></TD>
183
<TD><CODE><B><A HREF="../../../org/xbill/DNS/SetResponse.html#isNXDOMAIN()">isNXDOMAIN</A></B>()</CODE>
186
Is the answer to the query that the name does not exist?</TD>
188
<TR BGCOLOR="white" CLASS="TableRowColor">
189
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
190
<CODE> boolean</CODE></FONT></TD>
191
<TD><CODE><B><A HREF="../../../org/xbill/DNS/SetResponse.html#isNXRRSET()">isNXRRSET</A></B>()</CODE>
194
Is the answer to the query that the name exists, but the type does not?</TD>
196
<TR BGCOLOR="white" CLASS="TableRowColor">
197
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
198
<CODE> boolean</CODE></FONT></TD>
199
<TD><CODE><B><A HREF="../../../org/xbill/DNS/SetResponse.html#isSuccessful()">isSuccessful</A></B>()</CODE>
202
Was the query successful?</TD>
204
<TR BGCOLOR="white" CLASS="TableRowColor">
205
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
206
<CODE> boolean</CODE></FONT></TD>
207
<TD><CODE><B><A HREF="../../../org/xbill/DNS/SetResponse.html#isUnknown()">isUnknown</A></B>()</CODE>
210
Is the answer to the query unknown?</TD>
212
<TR BGCOLOR="white" CLASS="TableRowColor">
213
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
214
<CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
215
<TD><CODE><B><A HREF="../../../org/xbill/DNS/SetResponse.html#toString()">toString</A></B>()</CODE>
218
Prints the value of the SetResponse</TD>
221
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
222
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
223
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
224
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
226
<TR BGCOLOR="white" CLASS="TableRowColor">
227
<TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
233
<!-- ============ METHOD DETAIL ========== -->
235
<A NAME="method_detail"><!-- --></A>
236
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
237
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
238
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
239
<B>Method Detail</B></FONT></TH>
243
<A NAME="isUnknown()"><!-- --></A><H3>
246
public boolean <B>isUnknown</B>()</PRE>
248
<DD>Is the answer to the query unknown?
256
<A NAME="isNXDOMAIN()"><!-- --></A><H3>
259
public boolean <B>isNXDOMAIN</B>()</PRE>
261
<DD>Is the answer to the query that the name does not exist?
269
<A NAME="isNXRRSET()"><!-- --></A><H3>
272
public boolean <B>isNXRRSET</B>()</PRE>
274
<DD>Is the answer to the query that the name exists, but the type does not?
282
<A NAME="isDelegation()"><!-- --></A><H3>
285
public boolean <B>isDelegation</B>()</PRE>
287
<DD>Is the result of the lookup that the name is below a delegation?
295
<A NAME="isCNAME()"><!-- --></A><H3>
298
public boolean <B>isCNAME</B>()</PRE>
300
<DD>Is the result of the lookup a CNAME?
308
<A NAME="isDNAME()"><!-- --></A><H3>
311
public boolean <B>isDNAME</B>()</PRE>
313
<DD>Is the result of the lookup a DNAME?
321
<A NAME="isSuccessful()"><!-- --></A><H3>
324
public boolean <B>isSuccessful</B>()</PRE>
326
<DD>Was the query successful?
334
<A NAME="answers()"><!-- --></A><H3>
337
public <A HREF="../../../org/xbill/DNS/RRset.html" title="class in org.xbill.DNS">RRset</A>[] <B>answers</B>()</PRE>
339
<DD>If the query was successful, return the answers
347
<A NAME="getCNAME()"><!-- --></A><H3>
350
public <A HREF="../../../org/xbill/DNS/CNAMERecord.html" title="class in org.xbill.DNS">CNAMERecord</A> <B>getCNAME</B>()</PRE>
352
<DD>If the query encountered a CNAME, return it.
360
<A NAME="getDNAME()"><!-- --></A><H3>
363
public <A HREF="../../../org/xbill/DNS/DNAMERecord.html" title="class in org.xbill.DNS">DNAMERecord</A> <B>getDNAME</B>()</PRE>
365
<DD>If the query encountered a DNAME, return it.
373
<A NAME="getNS()"><!-- --></A><H3>
376
public <A HREF="../../../org/xbill/DNS/RRset.html" title="class in org.xbill.DNS">RRset</A> <B>getNS</B>()</PRE>
378
<DD>If the query hit a delegation point, return the NS set.
386
<A NAME="toString()"><!-- --></A><H3>
389
public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
391
<DD>Prints the value of the SetResponse
394
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
400
<!-- ========= END OF CLASS DATA ========= -->
404
<!-- ======= START OF BOTTOM NAVBAR ====== -->
405
<A NAME="navbar_bottom"><!-- --></A>
406
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
407
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
409
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
410
<A NAME="navbar_bottom_firstrow"><!-- --></A>
411
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
412
<TR ALIGN="center" VALIGN="top">
413
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
414
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
415
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
416
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
417
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
418
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
419
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
423
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
429
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
430
<A HREF="../../../org/xbill/DNS/Serial.html" title="class in org.xbill.DNS"><B>PREV CLASS</B></A>
431
<A HREF="../../../org/xbill/DNS/SIGRecord.html" title="class in org.xbill.DNS"><B>NEXT CLASS</B></A></FONT></TD>
432
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
433
<A HREF="../../../index.html?org/xbill/DNS/SetResponse.html" target="_top"><B>FRAMES</B></A>
434
<A HREF="SetResponse.html" target="_top"><B>NO FRAMES</B></A>
435
<SCRIPT type="text/javascript">
438
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
443
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
450
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
451
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
452
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
453
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
456
<A NAME="skip-navbar_bottom"></A>
457
<!-- ======== END OF BOTTOM NAVBAR ======= -->