public class SimpleNameParser extends Object implements NameParser
| Modifier and Type | Field and Description |
|---|---|
private Context |
parent |
private Properties |
props |
| Constructor and Description |
|---|
SimpleNameParser(Context parent)
Creates a ThreadNameParser.
|
| Modifier and Type | Method and Description |
|---|---|
Name |
parse(String name)
Parses a name into its components.
(Copied from NameParser.parse(java.lang.String) |
private Context parent
private Properties props
public SimpleNameParser(Context parent) throws NamingException
CompoundName
objects that are created.parent - ThreadContext that utilizes the name parser.NamingException - if a naming exception is found.public Name parse(String name) throws NamingException
NameParser.parse(java.lang.String)parse in interface NameParsername - The non-null string name to parse.InvalidNameException - If the name does not conform to syntax
defined for the namespace.NamingException - If a naming exception was encountered.Copyright © 2020. All rights reserved.