Nuxeo Enterprise Platform 5.4

org.nuxeo.common.jndi
Class NamingContext.NamingContextNameParser

java.lang.Object
  extended by org.nuxeo.common.jndi.NamingContext.NamingContextNameParser
All Implemented Interfaces:
javax.naming.NameParser
Enclosing class:
NamingContext

public static class NamingContext.NamingContextNameParser
extends java.lang.Object
implements javax.naming.NameParser

NamingContext name parser.

Author:
Dimitar Gospodinov

Constructor Summary
NamingContext.NamingContextNameParser()
           
 
Method Summary
 javax.naming.Name parse(java.lang.String name)
          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.
 
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 javax.naming.Name parse(java.lang.String name)
                        throws javax.naming.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 javax.naming.NameParser
Parameters:
name - name to parse
Throws:
javax.naming.NamingException - if a naming error occurs

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.