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:03 GMT-08:00 2008 -->
7
PXRecord (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="PXRecord (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/PTRRecord.html" title="class in org.xbill.DNS"><B>PREV CLASS</B></A>
58
<A HREF="../../../org/xbill/DNS/Rcode.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/PXRecord.html" target="_top"><B>FRAMES</B></A>
61
<A HREF="PXRecord.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 | <A HREF="#fields_inherited_from_class_org.xbill.DNS.Record">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
79
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 ======== -->
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 "><A HREF="../../../org/xbill/DNS/Record.html" title="class in org.xbill.DNS">org.xbill.DNS.Record</A>
96
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.xbill.DNS.PXRecord</B>
99
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A></DD>
103
<DT><PRE>public class <B>PXRecord</B><DT>extends <A HREF="../../../org/xbill/DNS/Record.html" title="class in org.xbill.DNS">Record</A></DL>
107
X.400 mail mapping record.
112
<DT><B>Author:</B></DT>
113
<DD>Brian Wellington</DD>
118
<!-- =========== FIELD SUMMARY =========== -->
120
<A NAME="field_summary"><!-- --></A>
121
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
122
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
123
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
124
<B>Field Summary</B></FONT></TH>
127
<A NAME="fields_inherited_from_class_org.xbill.DNS.Record"><!-- --></A>
128
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
129
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
130
<TH ALIGN="left"><B>Fields inherited from class org.xbill.DNS.<A HREF="../../../org/xbill/DNS/Record.html" title="class in org.xbill.DNS">Record</A></B></TH>
132
<TR BGCOLOR="white" CLASS="TableRowColor">
133
<TD><CODE><A HREF="../../../org/xbill/DNS/Record.html#dclass">dclass</A>, <A HREF="../../../org/xbill/DNS/Record.html#name">name</A>, <A HREF="../../../org/xbill/DNS/Record.html#ttl">ttl</A>, <A HREF="../../../org/xbill/DNS/Record.html#type">type</A></CODE></TD>
137
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
139
<A NAME="constructor_summary"><!-- --></A>
140
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
141
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
142
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
143
<B>Constructor Summary</B></FONT></TH>
145
<TR BGCOLOR="white" CLASS="TableRowColor">
146
<TD><CODE><B><A HREF="../../../org/xbill/DNS/PXRecord.html#PXRecord(org.xbill.DNS.Name, int, long, int, org.xbill.DNS.Name, org.xbill.DNS.Name)">PXRecord</A></B>(<A HREF="../../../org/xbill/DNS/Name.html" title="class in org.xbill.DNS">Name</A> name,
150
<A HREF="../../../org/xbill/DNS/Name.html" title="class in org.xbill.DNS">Name</A> map822,
151
<A HREF="../../../org/xbill/DNS/Name.html" title="class in org.xbill.DNS">Name</A> mapX400)</CODE>
154
Creates an PX Record from the given data</TD>
158
<!-- ========== METHOD SUMMARY =========== -->
160
<A NAME="method_summary"><!-- --></A>
161
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
162
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
163
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
164
<B>Method Summary</B></FONT></TH>
166
<TR BGCOLOR="white" CLASS="TableRowColor">
167
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
168
<CODE> <A HREF="../../../org/xbill/DNS/Name.html" title="class in org.xbill.DNS">Name</A></CODE></FONT></TD>
169
<TD><CODE><B><A HREF="../../../org/xbill/DNS/PXRecord.html#getMap822()">getMap822</A></B>()</CODE>
172
Gets the RFC 822 component of the mail address.</TD>
174
<TR BGCOLOR="white" CLASS="TableRowColor">
175
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
176
<CODE> <A HREF="../../../org/xbill/DNS/Name.html" title="class in org.xbill.DNS">Name</A></CODE></FONT></TD>
177
<TD><CODE><B><A HREF="../../../org/xbill/DNS/PXRecord.html#getMapX400()">getMapX400</A></B>()</CODE>
180
Gets the X.400 component of the mail address.</TD>
182
<TR BGCOLOR="white" CLASS="TableRowColor">
183
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
184
<CODE> int</CODE></FONT></TD>
185
<TD><CODE><B><A HREF="../../../org/xbill/DNS/PXRecord.html#getPreference()">getPreference</A></B>()</CODE>
188
Gets the preference of the route.</TD>
191
<A NAME="methods_inherited_from_class_org.xbill.DNS.Record"><!-- --></A>
192
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
193
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
194
<TH ALIGN="left"><B>Methods inherited from class org.xbill.DNS.<A HREF="../../../org/xbill/DNS/Record.html" title="class in org.xbill.DNS">Record</A></B></TH>
196
<TR BGCOLOR="white" CLASS="TableRowColor">
197
<TD><CODE><A HREF="../../../org/xbill/DNS/Record.html#byteArrayFromString(java.lang.String)">byteArrayFromString</A>, <A HREF="../../../org/xbill/DNS/Record.html#byteArrayToString(byte[], boolean)">byteArrayToString</A>, <A HREF="../../../org/xbill/DNS/Record.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../org/xbill/DNS/Record.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../org/xbill/DNS/Record.html#fromString(org.xbill.DNS.Name, int, int, long, java.lang.String, org.xbill.DNS.Name)">fromString</A>, <A HREF="../../../org/xbill/DNS/Record.html#fromString(org.xbill.DNS.Name, int, int, long, org.xbill.DNS.Tokenizer, org.xbill.DNS.Name)">fromString</A>, <A HREF="../../../org/xbill/DNS/Record.html#fromWire(byte[], int)">fromWire</A>, <A HREF="../../../org/xbill/DNS/Record.html#getAdditionalName()">getAdditionalName</A>, <A HREF="../../../org/xbill/DNS/Record.html#getDClass()">getDClass</A>, <A HREF="../../../org/xbill/DNS/Record.html#getName()">getName</A>, <A HREF="../../../org/xbill/DNS/Record.html#getRRsetType()">getRRsetType</A>, <A HREF="../../../org/xbill/DNS/Record.html#getTTL()">getTTL</A>, <A HREF="../../../org/xbill/DNS/Record.html#getType()">getType</A>, <A HREF="../../../org/xbill/DNS/Record.html#hashCode()">hashCode</A>, <A HREF="../../../org/xbill/DNS/Record.html#newRecord(org.xbill.DNS.Name, int, int)">newRecord</A>, <A HREF="../../../org/xbill/DNS/Record.html#newRecord(org.xbill.DNS.Name, int, int, long)">newRecord</A>, <A HREF="../../../org/xbill/DNS/Record.html#newRecord(org.xbill.DNS.Name, int, int, long, byte[])">newRecord</A>, <A HREF="../../../org/xbill/DNS/Record.html#newRecord(org.xbill.DNS.Name, int, int, long, int, byte[])">newRecord</A>, <A HREF="../../../org/xbill/DNS/Record.html#rdataToString()">rdataToString</A>, <A HREF="../../../org/xbill/DNS/Record.html#rdataToWireCanonical()">rdataToWireCanonical</A>, <A HREF="../../../org/xbill/DNS/Record.html#sameRRset(org.xbill.DNS.Record)">sameRRset</A>, <A HREF="../../../org/xbill/DNS/Record.html#toString()">toString</A>, <A HREF="../../../org/xbill/DNS/Record.html#toWire(int)">toWire</A>, <A HREF="../../../org/xbill/DNS/Record.html#toWireCanonical()">toWireCanonical</A>, <A HREF="../../../org/xbill/DNS/Record.html#unknownToString(byte[])">unknownToString</A>, <A HREF="../../../org/xbill/DNS/Record.html#withName(org.xbill.DNS.Name)">withName</A></CODE></TD>
200
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
201
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
202
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
203
<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>
205
<TR BGCOLOR="white" CLASS="TableRowColor">
206
<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#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#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>
212
<!-- ========= CONSTRUCTOR DETAIL ======== -->
214
<A NAME="constructor_detail"><!-- --></A>
215
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
216
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
217
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
218
<B>Constructor Detail</B></FONT></TH>
222
<A NAME="PXRecord(org.xbill.DNS.Name, int, long, int, org.xbill.DNS.Name, org.xbill.DNS.Name)"><!-- --></A><H3>
225
public <B>PXRecord</B>(<A HREF="../../../org/xbill/DNS/Name.html" title="class in org.xbill.DNS">Name</A> name,
229
<A HREF="../../../org/xbill/DNS/Name.html" title="class in org.xbill.DNS">Name</A> map822,
230
<A HREF="../../../org/xbill/DNS/Name.html" title="class in org.xbill.DNS">Name</A> mapX400)</PRE>
232
<DD>Creates an PX Record from the given data
235
<DT><B>Parameters:</B><DD><CODE>preference</CODE> - The preference of this mail address.<DD><CODE>map822</CODE> - The RFC 822 component of the mail address.<DD><CODE>mapX400</CODE> - The X.400 component of the mail address.</DL>
238
<!-- ============ METHOD DETAIL ========== -->
240
<A NAME="method_detail"><!-- --></A>
241
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
242
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
243
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
244
<B>Method Detail</B></FONT></TH>
248
<A NAME="getPreference()"><!-- --></A><H3>
251
public int <B>getPreference</B>()</PRE>
253
<DD>Gets the preference of the route.
261
<A NAME="getMap822()"><!-- --></A><H3>
264
public <A HREF="../../../org/xbill/DNS/Name.html" title="class in org.xbill.DNS">Name</A> <B>getMap822</B>()</PRE>
266
<DD>Gets the RFC 822 component of the mail address.
274
<A NAME="getMapX400()"><!-- --></A><H3>
277
public <A HREF="../../../org/xbill/DNS/Name.html" title="class in org.xbill.DNS">Name</A> <B>getMapX400</B>()</PRE>
279
<DD>Gets the X.400 component of the mail address.
285
<!-- ========= END OF CLASS DATA ========= -->
289
<!-- ======= START OF BOTTOM NAVBAR ====== -->
290
<A NAME="navbar_bottom"><!-- --></A>
291
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
292
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
294
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
295
<A NAME="navbar_bottom_firstrow"><!-- --></A>
296
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
297
<TR ALIGN="center" VALIGN="top">
298
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
299
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
300
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
301
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
302
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
303
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
304
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
308
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
314
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
315
<A HREF="../../../org/xbill/DNS/PTRRecord.html" title="class in org.xbill.DNS"><B>PREV CLASS</B></A>
316
<A HREF="../../../org/xbill/DNS/Rcode.html" title="class in org.xbill.DNS"><B>NEXT CLASS</B></A></FONT></TD>
317
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
318
<A HREF="../../../index.html?org/xbill/DNS/PXRecord.html" target="_top"><B>FRAMES</B></A>
319
<A HREF="PXRecord.html" target="_top"><B>NO FRAMES</B></A>
320
<SCRIPT type="text/javascript">
323
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
328
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
335
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
336
SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.xbill.DNS.Record">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
337
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
338
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
341
<A NAME="skip-navbar_bottom"></A>
342
<!-- ======== END OF BOTTOM NAVBAR ======= -->