📄 name.html
字号:
<CODE> boolean</CODE></FONT></TD><TD><CODE><B>CompositeName.</B><B><A HREF="../../../javax/naming/CompositeName.html#startsWith(javax.naming.Name)">startsWith</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> n)</CODE><BR> Determines whether a composite name is a prefix of this composite name.</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>CompositeName.</B><B><A HREF="../../../javax/naming/CompositeName.html#endsWith(javax.naming.Name)">endsWith</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> n)</CODE><BR> Determines whether a composite name is a suffix of this composite name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>CompositeName.</B><B><A HREF="../../../javax/naming/CompositeName.html#addAll(javax.naming.Name)">addAll</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> suffix)</CODE><BR> Adds the components of a composite name -- in order -- to the end of this composite name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>CompositeName.</B><B><A HREF="../../../javax/naming/CompositeName.html#addAll(int, javax.naming.Name)">addAll</A></B>(int posn, <A HREF="../../../javax/naming/Name.html">Name</A> n)</CODE><BR> Adds the components of a composite name -- in order -- at a specified position within this composite name.</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>Context.</B><B><A HREF="../../../javax/naming/Context.html#lookup(javax.naming.Name)">lookup</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> name)</CODE><BR> Retrieves the named object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>Context.</B><B><A HREF="../../../javax/naming/Context.html#bind(javax.naming.Name, java.lang.Object)">bind</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> name, <A HREF="../../../java/lang/Object.html">Object</A> obj)</CODE><BR> Binds a name to an object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>Context.</B><B><A HREF="../../../javax/naming/Context.html#rebind(javax.naming.Name, java.lang.Object)">rebind</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> name, <A HREF="../../../java/lang/Object.html">Object</A> obj)</CODE><BR> Binds a name to an object, overwriting any existing binding.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>Context.</B><B><A HREF="../../../javax/naming/Context.html#unbind(javax.naming.Name)">unbind</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> name)</CODE><BR> Unbinds the named object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>Context.</B><B><A HREF="../../../javax/naming/Context.html#rename(javax.naming.Name, javax.naming.Name)">rename</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> oldName, <A HREF="../../../javax/naming/Name.html">Name</A> newName)</CODE><BR> Binds a new name to the object bound to an old name, and unbinds the old name.</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>Context.</B><B><A HREF="../../../javax/naming/Context.html#list(javax.naming.Name)">list</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> name)</CODE><BR> Enumerates the names bound in the named context, along with the class names of objects bound to them.</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>Context.</B><B><A HREF="../../../javax/naming/Context.html#listBindings(javax.naming.Name)">listBindings</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> name)</CODE><BR> Enumerates the names bound in the named context, along with the objects bound to them.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>Context.</B><B><A HREF="../../../javax/naming/Context.html#destroySubcontext(javax.naming.Name)">destroySubcontext</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> name)</CODE><BR> Destroys the named context and removes it from the namespace.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Context.html">Context</A></CODE></FONT></TD><TD><CODE><B>Context.</B><B><A HREF="../../../javax/naming/Context.html#createSubcontext(javax.naming.Name)">createSubcontext</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> name)</CODE><BR> Creates and binds a new context.</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>Context.</B><B><A HREF="../../../javax/naming/Context.html#lookupLink(javax.naming.Name)">lookupLink</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> name)</CODE><BR> Retrieves the named object, following links except for the terminal atomic component of the name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/NameParser.html">NameParser</A></CODE></FONT></TD><TD><CODE><B>Context.</B><B><A HREF="../../../javax/naming/Context.html#getNameParser(javax.naming.Name)">getNameParser</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> name)</CODE><BR> Retrieves the parser associated with the named context.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>Context.</B><B><A HREF="../../../javax/naming/Context.html#composeName(javax.naming.Name, javax.naming.Name)">composeName</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> name, <A HREF="../../../javax/naming/Name.html">Name</A> prefix)</CODE><BR> Composes the name of this context with a name relative to this context.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../javax/naming/package-summary.html">javax.naming</A> with parameters of type <A HREF="../../../javax/naming/Name.html">Name</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/naming/LinkRef.html#LinkRef(javax.naming.Name)">LinkRef</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> linkName)</CODE><BR> Constructs a LinkRef for a name.</TD></TR></TABLE> <P><A NAME="javax.naming.directory"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../javax/naming/Name.html">Name</A> in <A HREF="../../../javax/naming/directory/package-summary.html">javax.naming.directory</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../javax/naming/directory/package-summary.html">javax.naming.directory</A> with parameters of type <A HREF="../../../javax/naming/Name.html">Name</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A></CODE></FONT></TD><TD><CODE><B>DirContext.</B><B><A HREF="../../../javax/naming/directory/DirContext.html#getAttributes(javax.naming.Name)">getAttributes</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> name)</CODE><BR> 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> <A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A></CODE></FONT></TD><TD><CODE><B>DirContext.</B><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> name, <A HREF="../../../java/lang/String.html">String</A>[] attrIds)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B>DirContext.</B><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> name, int mod_op, <A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A> attrs)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B>DirContext.</B><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> name, <A HREF="../../../javax/naming/directory/ModificationItem.html">ModificationItem</A>[] mods)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B>DirContext.</B><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> name, <A HREF="../../../java/lang/Object.html">Object</A> obj, <A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A> attrs)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B>DirContext.</B><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> name, <A HREF="../../../java/lang/Object.html">Object</A> obj, <A HREF="../../../javax/naming/directory/Attributes.html">Attributes</A> attrs)</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -