basicattribute.html
来自「API資料大全」· HTML 代码 · 共 949 行 · 第 1/4 页
HTML
949 行
<TD><CODE><B><A HREF="../../../javax/naming/directory/BasicAttribute.html#contains(java.lang.Object)">contains</A></B>(<A HREF="../../../java/lang/Object.html">Object</A> attrVal)</CODE><BR> Determines whether a value is in this attribute.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/BasicAttribute.html#equals(java.lang.Object)">equals</A></B>(<A HREF="../../../java/lang/Object.html">Object</A> obj)</CODE><BR> Determines whether obj is equal to this attribute.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/lang/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/BasicAttribute.html#get()">get</A></B>()</CODE><BR> Retrieves one of this attribute's values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/lang/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/BasicAttribute.html#get(int)">get</A></B>(int ix)</CODE><BR> Retrieves the attribute value from the ordered list of attribute values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/NamingEnumeration.html">NamingEnumeration</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/BasicAttribute.html#getAll()">getAll</A></B>()</CODE><BR> Retrieves an enumeration of this attribute's values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/directory/DirContext.html">DirContext</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/BasicAttribute.html#getAttributeDefinition()">getAttributeDefinition</A></B>()</CODE><BR> Retrieves this attribute's schema definition.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/directory/DirContext.html">DirContext</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/BasicAttribute.html#getAttributeSyntaxDefinition()">getAttributeSyntaxDefinition</A></B>()</CODE><BR> Retrieves the syntax definition associated with this attribute.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/BasicAttribute.html#getID()">getID</A></B>()</CODE><BR> Retrieves the id of this attribute.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/BasicAttribute.html#hashCode()">hashCode</A></B>()</CODE><BR> Calculates the hash code of this attribute.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/BasicAttribute.html#isOrdered()">isOrdered</A></B>()</CODE><BR> Determines whether this attribute's values are ordered.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/lang/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/BasicAttribute.html#remove(int)">remove</A></B>(int ix)</CODE><BR> Removes an attribute value from the ordered list of attribute values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/BasicAttribute.html#remove(java.lang.Object)">remove</A></B>(<A HREF="../../../java/lang/Object.html">Object</A> attrval)</CODE><BR> Removes a specified value from this attribute.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/lang/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/BasicAttribute.html#set(int, java.lang.Object)">set</A></B>(int ix, <A HREF="../../../java/lang/Object.html">Object</A> attrVal)</CODE><BR> Sets an attribute value in the ordered list of attribute values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/BasicAttribute.html#size()">size</A></B>()</CODE><BR> Retrieves the number of values in this attribute.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/BasicAttribute.html#toString()">toString</A></B>()</CODE><BR> Generates the string representation of this attribute.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="attrID"><!-- --></A><H3>attrID</H3><PRE>protected <A HREF="../../../java/lang/String.html">String</A> <B>attrID</B></PRE><DL><DD>Holds the attribute's id. It is initialized by the public constructor and cannot be null unless methods in Attribute that use attrID have been overridden.</DL><HR><A NAME="values"><!-- --></A><H3>values</H3><PRE>protected transient <A HREF="../../../java/util/Vector.html">Vector</A> <B>values</B></PRE><DL><DD>Holds the attribute's values. Initialized by public constructors. Cannot be null unless methods in Attribute that use values have been overridden.</DL><HR><A NAME="ordered"><!-- --></A><H3>ordered</H3><PRE>protected boolean <B>ordered</B></PRE><DL><DD>A flag for recording whether this attribute's values are ordered.</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="BasicAttribute(java.lang.String)"><!-- --></A><H3>BasicAttribute</H3><PRE>public <B>BasicAttribute</B>(<A HREF="../../../java/lang/String.html">String</A> id)</PRE><DL><DD>Constructs a new instance of an unordered attribute with no value.<DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - The attribute's id. It cannot be null.</DL></DD></DL><HR><A NAME="BasicAttribute(java.lang.String, java.lang.Object)"><!-- --></A><H3>BasicAttribute</H3><PRE>public <B>BasicAttribute</B>(<A HREF="../../../java/lang/String.html">String</A> id, <A HREF="../../../java/lang/Object.html">Object</A> value)</PRE><DL><DD>Constructs a new instance of an unordered attribute with a single value.<DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - The attribute's id. It cannot be null.<DD><CODE>value</CODE> - The attribute's value. If null, a null value is added to the attribute.</DL></DD></DL><HR><A NAME="BasicAttribute(java.lang.String, boolean)"><!-- --></A><H3>BasicAttribute</H3><PRE>public <B>BasicAttribute</B>(<A HREF="../../../java/lang/String.html">String</A> id, boolean ordered)</PRE><DL><DD>Constructs a new instance of a possibly ordered attribute with no value.<DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - The attribute's id. It cannot be null.<DD><CODE>ordered</CODE> - true means the attribute's values will be ordered; false otherwise.</DL></DD></DL><HR><A NAME="BasicAttribute(java.lang.String, java.lang.Object, boolean)"><!-- --></A><H3>BasicAttribute</H3><PRE>public <B>BasicAttribute</B>(<A HREF="../../../java/lang/String.html">String</A> id, <A HREF="../../../java/lang/Object.html">Object</A> value, boolean ordered)</PRE><DL><DD>Constructs a new instance of a possibly ordered attribute with a single value.<DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - The attribute's id. It cannot be null.<DD><CODE>value</CODE> - The attribute's value. If null, a null value is added to the attribute.<DD><CODE>ordered</CODE> - true means the attribute's values will be ordered; false otherwise.</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?