Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

javax::naming::NameParser Class Reference

This interface is used for parsing names from a hierarchical namespace. More...

#include <javax_naming_NameParser.h>

Inheritance diagram for javax::naming::NameParser:

Inheritance graph
[legend]
Collaboration diagram for javax::naming::NameParser:

Collaboration graph
[legend]
List of all members.

Public Types

enum  {
  xmogDefaultFlags = xmog_base::GLOBAL, xmogMajorVersion = 3, xmogMinorVersion = 2, xmogPatchVersion = 9,
  xmogBuildNumber = 2047
}
typedef ::xmog_java_array_template<
::javax::naming::NameParser
array1D
typedef ::xmog_java_array_template<
::xmog_java_array_template<
::javax::naming::NameParser > > 
array2D

Public Member Functions

virtual ::javax::naming::Name parse (const ::java::lang::String &name,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 Parses a name into its components.

Detailed Description

This interface is used for parsing names from a hierarchical namespace.

The NameParser contains knowledge of the syntactic information (like left-to-right orientation, name separator, etc.) needed to parse names.

The equals() method, when used to compare two NameParsers, returns true if and only if they serve the same namespace.

Author:
Rosanna Lee

Scott Seligman


Member Function Documentation

virtual ::javax::naming::Name javax::naming::NameParser::parse const ::java::lang::String name,
::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Parses a name into its components.

Parameters:
name The non-null string name to parse.
p_xenv the local call environment. The default value is NULL.
f_xflags the flags that allow control over the reference type and other internal matters. The default value is xmog_base::GLOBAL.
Returns:
A non-null parsed form of the name using the naming convention of this parser.


The documentation for this class was generated from the following file:
Generated on Fri Jun 16 10:20:09 2006 for JMS Courier for C++ by  doxygen 1.4.1