NamingConstants.JavaColonNamespace getJavaNamespaceFromName(Name name) throws NamingException {
        if (name instanceof JavaURLName)
            return ((JavaURLName) name).getNamespace();
        else
            return parse(name).getNamespace();
    }
NamingConstants . JavaColonNamespace getJavaNamespaceFromName ( Name name ) throws NamingException { if ( name instanceof JavaURLName ) return ( ( JavaURLName ) name ) . getNamespace ( ) ; else return parse ( name ) . getNamespace ( ) ; }
@param name
@return {@link NamingConstants.JavaColonNamespace} for the specified Name
@throws NamingException
if the Name cannot be coerced to a {@link JavaURLName} or
does not satisfy the parser.