org.nuxeo.common.jndi
Class NamingContext.NamingContextNameParser
java.lang.Object
org.nuxeo.common.jndi.NamingContext.NamingContextNameParser
- All Implemented Interfaces:
- NameParser
- Enclosing class:
- NamingContext
public static class NamingContext.NamingContextNameParser
- extends Object
- implements NameParser
NamingContext name parser.
- Author:
- Dimitar Gospodinov
Method Summary |
Name |
parse(String name)
Parses name into CompoundName
using the following CompoundName properties: |
NamingContext.NamingContextNameParser
public NamingContext.NamingContextNameParser()
parse
public Name parse(String name)
throws NamingException
- Parses
name
into CompoundName
using the following CompoundName
properties:
jndi.syntax.direction = "left_to_right"
jndi.syntax.separator = "/"
jndi.syntax.ignorecase = "false"
jndi.syntax.trimblanks = "yes"
Any characters '.' in the name name
will be replaced with the
separator character specified above, before parsing.
- Specified by:
parse
in interface NameParser
- Parameters:
name
- name to parse
- Throws:
NamingException
- if a naming error occurs
Copyright © 2011 Nuxeo SAS. All Rights Reserved.