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

📄 dircontext.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/DirContext.html#ADD_ATTRIBUTE">ADD_ATTRIBUTE</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This constant specifies to add an attribute with the specified values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/DirContext.html#REMOVE_ATTRIBUTE">REMOVE_ATTRIBUTE</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This constant specifies to delete the specified attribute values from the attribute.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/DirContext.html#REPLACE_ATTRIBUTE">REPLACE_ATTRIBUTE</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This constant specifies to replace an attribute with specified values.</TD></TR></TABLE>&nbsp;<A NAME="fields_inherited_from_class_javax.naming.Context"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from interface javax.naming.<A HREF="../../../javax/naming/Context.html">Context</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/naming/Context.html#APPLET">APPLET</A>, <A HREF="../../../javax/naming/Context.html#AUTHORITATIVE">AUTHORITATIVE</A>, <A HREF="../../../javax/naming/Context.html#BATCHSIZE">BATCHSIZE</A>, <A HREF="../../../javax/naming/Context.html#DNS_URL">DNS_URL</A>, <A HREF="../../../javax/naming/Context.html#INITIAL_CONTEXT_FACTORY">INITIAL_CONTEXT_FACTORY</A>, <A HREF="../../../javax/naming/Context.html#LANGUAGE">LANGUAGE</A>, <A HREF="../../../javax/naming/Context.html#OBJECT_FACTORIES">OBJECT_FACTORIES</A>, <A HREF="../../../javax/naming/Context.html#PROVIDER_URL">PROVIDER_URL</A>, <A HREF="../../../javax/naming/Context.html#REFERRAL">REFERRAL</A>, <A HREF="../../../javax/naming/Context.html#SECURITY_AUTHENTICATION">SECURITY_AUTHENTICATION</A>, <A HREF="../../../javax/naming/Context.html#SECURITY_CREDENTIALS">SECURITY_CREDENTIALS</A>, <A HREF="../../../javax/naming/Context.html#SECURITY_PRINCIPAL">SECURITY_PRINCIPAL</A>, <A HREF="../../../javax/naming/Context.html#SECURITY_PROTOCOL">SECURITY_PROTOCOL</A>, <A HREF="../../../javax/naming/Context.html#STATE_FACTORIES">STATE_FACTORIES</A>, <A HREF="../../../javax/naming/Context.html#URL_PKG_PREFIXES">URL_PKG_PREFIXES</A></CODE></TD></TR></TABLE>&nbsp;<!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/DirContext.html#bind(javax.naming.Name, java.lang.Object, javax.naming.directory.Attributes)">bind</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A>&nbsp;name,     <A HREF="../../../java/lang/Object.html">Object</A>&nbsp;obj,     <A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A>&nbsp;attrs)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Binds a name to an object, along with associated attributes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/DirContext.html#bind(java.lang.String, java.lang.Object, javax.naming.directory.Attributes)">bind</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;name,     <A HREF="../../../java/lang/Object.html">Object</A>&nbsp;obj,     <A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A>&nbsp;attrs)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Binds a name to an object, along with associated attributes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../javax/naming/directory/DirContext.html">DirContext</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/DirContext.html#createSubcontext(javax.naming.Name, javax.naming.directory.Attributes)">createSubcontext</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A>&nbsp;name,                 <A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A>&nbsp;attrs)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and binds a new context, along with associated attributes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../javax/naming/directory/DirContext.html">DirContext</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/DirContext.html#createSubcontext(java.lang.String, javax.naming.directory.Attributes)">createSubcontext</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;name,                 <A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A>&nbsp;attrs)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and binds a new context, along with associated attributes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/DirContext.html#getAttributes(javax.naming.Name)">getAttributes</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A>&nbsp;name)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves all of the attributes associated with a named object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/DirContext.html#getAttributes(javax.naming.Name, java.lang.String[])">getAttributes</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A>&nbsp;name,              <A HREF="../../../java/lang/String.html">String</A>[]&nbsp;attrIds)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves selected attributes associated with a named object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/DirContext.html#getAttributes(java.lang.String)">getAttributes</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;name)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves all of the attributes associated with a named object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/DirContext.html#getAttributes(java.lang.String, java.lang.String[])">getAttributes</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;name,              <A HREF="../../../java/lang/String.html">String</A>[]&nbsp;attrIds)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves selected attributes associated with a named object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../javax/naming/directory/DirContext.html">DirContext</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/DirContext.html#getSchema(javax.naming.Name)">getSchema</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A>&nbsp;name)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the schema associated with the named object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../javax/naming/directory/DirContext.html">DirContext</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/DirContext.html#getSchema(java.lang.String)">getSchema</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;name)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the schema associated with the named object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../javax/naming/directory/DirContext.html">DirContext</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/DirContext.html#getSchemaClassDefinition(javax.naming.Name)">getSchemaClassDefinition</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A>&nbsp;name)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a context containing the schema objects of the named object's class definitions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../javax/naming/directory/DirContext.html">DirContext</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/DirContext.html#getSchemaClassDefinition(java.lang.String)">getSchemaClassDefinition</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;name)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a context containing the schema objects of the named object's class definitions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/DirContext.html#modifyAttributes(javax.naming.Name, int, javax.naming.directory.Attributes)">modifyAttributes</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A>&nbsp;name,                 int&nbsp;mod_op,                 <A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A>&nbsp;attrs)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Modifies the attributes associated with a named object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/DirContext.html#modifyAttributes(javax.naming.Name, javax.naming.directory.ModificationItem[])">modifyAttributes</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A>&nbsp;name,                 <A HREF="../../../javax/naming/directory/ModificationItem.html">ModificationItem</A>[]&nbsp;mods)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Modifies the attributes associated with a named object using an an ordered list of modifications.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/DirContext.html#modifyAttributes(java.lang.String, int, javax.naming.directory.Attributes)">modifyAttributes</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;name,                 int&nbsp;mod_op,                 <A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A>&nbsp;attrs)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Modifies the attributes associated with a named object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/DirContext.html#modifyAttributes(java.lang.String, javax.naming.directory.ModificationItem[])">modifyAttributes</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;name,                 <A HREF="../../../javax/naming/directory/ModificationItem.html">ModificationItem</A>[]&nbsp;mods)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Modifies the attributes associated with a named object using an an ordered list of modifications.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/directory/DirContext.html#rebind(javax.naming.Name, java.lang.Object, javax.naming.directory.Attributes)">rebind</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A>&nbsp;name,

⌨️ 快捷键说明

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