⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 basicattributes.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../javax/naming/directory/Attribute.html">Attribute</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/BasicAttributes.html#put(javax.naming.directory.Attribute)">put</A></B>(<A HREF="../../../javax/naming/directory/Attribute.html">Attribute</A>&nbsp;attr)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a new attribute to the attribute set.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../javax/naming/directory/Attribute.html">Attribute</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/BasicAttributes.html#put(java.lang.String, java.lang.Object)">put</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;attrID,    <A HREF="../../../java/lang/Object.html">Object</A>&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a new attribute to the attribute set.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../javax/naming/directory/Attribute.html">Attribute</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/BasicAttributes.html#remove(java.lang.String)">remove</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;attrID)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the attribute with the attribute id 'attrID' from the attribute set.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/BasicAttributes.html#size()">size</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the number of attributes in the attribute set.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/BasicAttributes.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Generates the string representation of this attribute set.</TD></TR></TABLE>&nbsp;<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>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="BasicAttributes()"><!-- --></A><H3>BasicAttributes</H3><PRE>public <B>BasicAttributes</B>()</PRE><DL><DD>Constructs a new instance of Attributes. The character case of attribute identifiers is significant when subsequently retrieving or adding attributes.</DL><HR><A NAME="BasicAttributes(boolean)"><!-- --></A><H3>BasicAttributes</H3><PRE>public <B>BasicAttributes</B>(boolean&nbsp;ignoreCase)</PRE><DL><DD>Constructs a new instance of Attributes. If <code>ignoreCase</code> is true, the character case of attribute identifiers is ignored; otherwise the case is significant.<DD><DL><DT><B>Parameters:</B><DD><CODE>ignoreCase</CODE> - true means this attribute set will ignore        		  the case of its attribute identifiers			  when retrieving or adding attributes;			  false means case is respected.</DL></DD></DL><HR><A NAME="BasicAttributes(java.lang.String, java.lang.Object)"><!-- --></A><H3>BasicAttributes</H3><PRE>public <B>BasicAttributes</B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;attrID,                       <A HREF="../../../java/lang/Object.html">Object</A>&nbsp;val)</PRE><DL><DD>Constructs a new instance of Attributes with one attribute. The attribute specified by attrID and val are added to the newly created attribute. The character case of attribute identifiers is significant when subsequently retrieving or adding attributes.<DD><DL><DT><B>Parameters:</B><DD><CODE>attrID</CODE> - non-null The id of the attribute to add.<DD><CODE>val</CODE> - The value of the attribute to add. If null, a null        value is added to the attribute.</DL></DD></DL><HR><A NAME="BasicAttributes(java.lang.String, java.lang.Object, boolean)"><!-- --></A><H3>BasicAttributes</H3><PRE>public <B>BasicAttributes</B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;attrID,                       <A HREF="../../../java/lang/Object.html">Object</A>&nbsp;val,                       boolean&nbsp;ignoreCase)</PRE><DL><DD>Constructs a new instance of Attributes with one attribute. The attribute specified by attrID and val are added to the newly created attribute. If <code>ignoreCase</code> is true, the character case of attribute identifiers is ignored; otherwise the case is significant.<DD><DL><DT><B>Parameters:</B><DD><CODE>attrID</CODE> - non-null The id of the attribute to add. 	  If this attribute set ignores the character		  case of its attribute ids, the case of attrID		  is ignored.<DD><CODE>val</CODE> - The value of the attribute to add. If null, a null        value is added to the attribute.<DD><CODE>ignoreCase</CODE> - true means this attribute set will ignore        		  the case of its attribute identifiers			  when retrieving or adding attributes;			  false means case is respected.</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></TABLE><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public <A HREF="../../../java/lang/Object.html">Object</A> <B>clone</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A></CODE></B></DD><DD>Makes a copy of the attribute set. The new set contains the same attributes as the original set: the attributes are not themselves cloned. Changes to the copy will not affect the original and vice versa.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../javax/naming/directory/Attributes.html#clone()">clone</A></CODE> in interface <CODE><A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../java/lang/Object.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../../java/lang/Object.html">Object</A></CODE></DL></DD><DD>Following copied from interface: <CODE>javax.naming.directory.Attributes</CODE></DD><DD><DL><DT><B>Returns:</B><DD>A non-null copy of this attribute set.</DL></DD></DL><HR><A NAME="isCaseIgnored()"><!-- --></A><H3>isCaseIgnored</H3><PRE>public boolean <B>isCaseIgnored</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A></CODE></B></DD><DD>Determines whether the attribute set ignores the case of attribute identifiers when retrieving or adding attributes.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../javax/naming/directory/Attributes.html#isCaseIgnored()">isCaseIgnored</A></CODE> in interface <CODE><A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A></CODE></DL></DD><DD>Following copied from interface: <CODE>javax.naming.directory.Attributes</CODE></DD><DD><DL><DT><B>Returns:</B><DD>true if case is ignored; false otherwise.</DL></DD></DL><HR><A NAME="size()"><!-- --></A><H3>size</H3><PRE>public int <B>size</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A></CODE></B></DD><DD>Retrieves the number of attributes in the attribute set.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../javax/naming/directory/Attributes.html#size()">size</A></CODE> in interface <CODE><A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A></CODE></DL></DD><DD>Following copied from interface: <CODE>javax.naming.directory.Attributes</CODE></DD><DD><DL><DT><B>Returns:</B><DD>The nonnegative number of attributes in this attribute set.</DL></DD></DL><HR><A NAME="get(java.lang.String)"><!-- --></A><H3>get</H3><PRE>public <A HREF="../../../javax/naming/directory/Attribute.html">Attribute</A> <B>get</B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;attrID)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A></CODE></B></DD><DD>Retrieves the attribute with the given attribute id from the attribute set.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../javax/naming/directory/Attributes.html#get(java.lang.String)">get</A></CODE> in interface <CODE><A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A></CODE></DL></DD><DD>Following copied from interface: <CODE>javax.naming.directory.Attributes</CODE></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>attrID</CODE> - The non-null id of the attribute to retrieve. 	  If this attribute set ignores the character		  case of its attribute ids, the case of attrID		  is ignored.<DT><B>Returns:</B><DD>The attribute identified by attrID; null if not found.<DT><B>See Also: </B><DD><A HREF="../../../javax/naming/directory/Attributes.html#put(java.lang.String, java.lang.Object)"><CODE>Attributes.put(java.lang.String, java.lang.Object)</CODE></A>, <A HREF="../../../javax/naming/directory/Attributes.html#remove(java.lang.String)"><CODE>Attributes.remove(java.lang.String)</CODE></A></DL></DD></DL><HR><A NAME="getAll()"><!-- --></A><H3>getAll</H3>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -