1 22 package org.jnp.interfaces; 23 24 import javax.naming.NameParser ; 25 import javax.naming.Name ; 26 import javax.naming.CompoundName ; 27 import javax.naming.NamingException ; 28 import java.util.Properties ; 29 30 35 public class NamingParser 36 implements NameParser , java.io.Serializable 37 { 38 40 private static final long serialVersionUID = 2925203703371001031L; 41 42 44 47 static Properties syntax = new FastNamingProperties(); 48 49 public static Properties getSyntax() 50 { 51 return syntax; 52 } 53 54 56 58 public Name parse(String name) 60 throws NamingException 61 { 62 return new CompoundName (name, syntax); 63 } 64 65 67 69 71 73 } 75 | Popular Tags |