Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.common.jndi
Class NamingContext.NamingContextNameParser

java.lang.Object
  extended by 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

Constructor Summary
NamingContext.NamingContextNameParser()
           
 
Method Summary
 Name parse(String name)
          Parses name into CompoundName using the following CompoundName properties:
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamingContext.NamingContextNameParser

public NamingContext.NamingContextNameParser()
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.