📄 name.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Thu Apr 27 23:25:13 PDT 2000 --><TITLE>Java 2 Platform SE v1.3: Uses of Interface javax.naming.Name</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../javax/naming/Name.html"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV NEXT</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="Name.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><CENTER><H2><B>Uses of Interface<br>javax.naming.Name</B></H2></CENTER><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Packages that use <A HREF="../../../javax/naming/Name.html">Name</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="#javax.naming"><B>javax.naming</B></A></TD><TD>Provides the classes and interfaces for accessing naming services. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="#javax.naming.directory"><B>javax.naming.directory</B></A></TD><TD>Extends the <tt>javax.naming</tt> package to provide functionalityfor accessing directory services. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="#javax.naming.event"><B>javax.naming.event</B></A></TD><TD>Provides support for event notification when accessing naming anddirectory services. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="#javax.naming.spi"><B>javax.naming.spi</B></A></TD><TD>Provides the means for dynamically plugging in support for accessingnaming and directory services through the <tt>javax.naming</tt> and related packages. </TD></TR></TABLE> <P><A NAME="javax.naming"><!-- --></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/package-summary.html">javax.naming</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Classes in <A HREF="../../../javax/naming/package-summary.html">javax.naming</A> that implement <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> class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/CompositeName.html">CompositeName</A></B></CODE><BR> This class represents a composite name -- a sequence of component names spanning multiple namespaces.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/naming/CompoundName.html">CompoundName</A></B></CODE><BR> This class represents a compound name -- a name from a hierarchical name space.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Fields in <A HREF="../../../javax/naming/package-summary.html">javax.naming</A> declared as <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>protected <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>NamingException.</B><B><A HREF="../../../javax/naming/NamingException.html#resolvedName">resolvedName</A></B></CODE><BR> Contains the part of the name that has been successfully resolved.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>NamingException.</B><B><A HREF="../../../javax/naming/NamingException.html#remainingName">remainingName</A></B></CODE><BR> Contains the remaining name that has not been resolved yet.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>LinkException.</B><B><A HREF="../../../javax/naming/LinkException.html#linkResolvedName">linkResolvedName</A></B></CODE><BR> Contains the part of the link that has been successfully resolved.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>LinkException.</B><B><A HREF="../../../javax/naming/LinkException.html#linkRemainingName">linkRemainingName</A></B></CODE><BR> Contains the remaining link name that has not been resolved yet.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>CannotProceedException.</B><B><A HREF="../../../javax/naming/CannotProceedException.html#remainingNewName">remainingNewName</A></B></CODE><BR> Contains the remaining unresolved part of the second "name" argument to Context.rename().</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>CannotProceedException.</B><B><A HREF="../../../javax/naming/CannotProceedException.html#altName">altName</A></B></CODE><BR> Contains the name of the resolved object, relative to the context <code>altNameCtx</code>.</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/package-summary.html">javax.naming</A> that return <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/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>NamingException.</B><B><A HREF="../../../javax/naming/NamingException.html#getResolvedName()">getResolvedName</A></B>()</CODE><BR> Retrieves the leading portion of the name that was resolved successfully.</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>NamingException.</B><B><A HREF="../../../javax/naming/NamingException.html#getRemainingName()">getRemainingName</A></B>()</CODE><BR> Retrieves the remaining unresolved portion 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/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>LinkException.</B><B><A HREF="../../../javax/naming/LinkException.html#getLinkResolvedName()">getLinkResolvedName</A></B>()</CODE><BR> Retrieves the leading portion of the link name that was resolved successfully.</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>LinkException.</B><B><A HREF="../../../javax/naming/LinkException.html#getLinkRemainingName()">getLinkRemainingName</A></B>()</CODE><BR> Retrieves the remaining unresolved portion of the link 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>Name.</B><B><A HREF="../../../javax/naming/Name.html#getPrefix(int)">getPrefix</A></B>(int posn)</CODE><BR> Creates a name whose components consist of a prefix of the components of this name.</TD></TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -