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

📄 attributes.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="isCaseIgnored()"><!-- --></A><H3>isCaseIgnored</H3><PRE>public boolean <B>isCaseIgnored</B>()</PRE><DL><DD>Determines whether the attribute set ignores the case of attribute identifiers when retrieving or adding attributes.<DD><DL></DL></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>Retrieves the number of attributes in the attribute set.<DD><DL></DL></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>Retrieves the attribute with the given attribute id from the attribute set.<DD><DL></DL></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>put(java.lang.String, java.lang.Object)</CODE></A>, <A HREF="../../../javax/naming/directory/Attributes.html#remove(java.lang.String)"><CODE>remove(java.lang.String)</CODE></A></DL></DD></DL><HR><A NAME="getAll()"><!-- --></A><H3>getAll</H3><PRE>public <A HREF="../../../javax/naming/NamingEnumeration.html">NamingEnumeration</A> <B>getAll</B>()</PRE><DL><DD>Retrieves an enumeration of the attributes in the attribute set. The effects of updates to this attribute set on this enumeration are undefined.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A non-null enumeration of the attributes in this attribute set.		Each element of the enumeration is of class <tt>Attribute</tt>. 	If attribute set has zero attributes, an empty enumeration  	is returned.</DL></DD></DL><HR><A NAME="getIDs()"><!-- --></A><H3>getIDs</H3><PRE>public <A HREF="../../../javax/naming/NamingEnumeration.html">NamingEnumeration</A> <B>getIDs</B>()</PRE><DL><DD>Retrieves an enumeration of the ids of the attributes in the attribute set. The effects of updates to this attribute set on this enumeration are undefined.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A non-null enumeration of the attributes' ids in 	this attribute set. Each element of the enumeration is		of class String. 	If attribute set has zero attributes, an empty enumeration  	is returned.</DL></DD></DL><HR><A NAME="put(java.lang.String, java.lang.Object)"><!-- --></A><H3>put</H3><PRE>public <A HREF="../../../javax/naming/directory/Attribute.html">Attribute</A> <B>put</B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;attrID,                     <A HREF="../../../java/lang/Object.html">Object</A>&nbsp;val)</PRE><DL><DD>Adds a new attribute to the attribute set.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>attrID</CODE> - non-null The id of the attribute to add. 	  If the attribute set ignores the character		  case of its attribute ids, the case of attrID		  is ignored.<DD><CODE>val</CODE> - The possibly null value of the attribute to add.			If null, the attribute does not have any values.<DT><B>Returns:</B><DD>The Attribute with attrID that was previous in this attribute set; 	null if no such attribute existed.<DT><B>See Also: </B><DD><A HREF="../../../javax/naming/directory/Attributes.html#remove(java.lang.String)"><CODE>remove(java.lang.String)</CODE></A></DL></DD></DL><HR><A NAME="put(javax.naming.directory.Attribute)"><!-- --></A><H3>put</H3><PRE>public <A HREF="../../../javax/naming/directory/Attribute.html">Attribute</A> <B>put</B>(<A HREF="../../../javax/naming/directory/Attribute.html">Attribute</A>&nbsp;attr)</PRE><DL><DD>Adds a new attribute to the attribute set.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>attr</CODE> - The non-null attribute to add. 		If the attribute set ignores the character		  	case of its attribute ids, the case of 		attr's identifier is ignored.<DT><B>Returns:</B><DD>The Attribute with the same ID as attr that was previous  	in this attribute set; 	null if no such attribute existed.<DT><B>See Also: </B><DD><A HREF="../../../javax/naming/directory/Attributes.html#remove(java.lang.String)"><CODE>remove(java.lang.String)</CODE></A></DL></DD></DL><HR><A NAME="remove(java.lang.String)"><!-- --></A><H3>remove</H3><PRE>public <A HREF="../../../javax/naming/directory/Attribute.html">Attribute</A> <B>remove</B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;attrID)</PRE><DL><DD>Removes the attribute with the attribute id 'attrID' from the attribute set. If the attribute does not exist, ignore.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>attrID</CODE> - The non-null id of the attribute to remove. 		If the attribute set ignores the character		  	case of its attribute ids, the case of                	attrID is ignored.<DT><B>Returns:</B><DD>The Attribute with the same ID as attr that was previous  	in the attribute set; 	null if no such attribute existed.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public <A HREF="../../../java/lang/Object.html">Object</A> <B>clone</B>()</PRE><DL><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>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><DL><DT><B>Returns:</B><DD>A non-null copy of this attribute set.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Attributes.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Std.&nbsp;Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../javax/naming/directory/Attribute.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/naming/directory/DirContext.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Attributes.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation  contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font></BODY></HTML>

⌨️ 快捷键说明

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