org.apache.xbean.spring.context.impl
Class NamespaceHelper

java.lang.Object
  extended by org.apache.xbean.spring.context.impl.NamespaceHelper

public class NamespaceHelper
extends Object

A helper class for turning namespaces into META-INF/services URIs

Version:
$Revision: 1.1 $

Field Summary
static String META_INF_PREFIX
           
static String OLD_META_INF_PREFIX
           
 
Constructor Summary
NamespaceHelper()
           
 
Method Summary
static String createDiscoveryOldPathName(String uri)
          Creates the old URI for backwards compatibility
static String createDiscoveryPathName(String uri)
          Converts the namespace and localName into a valid path name we can use on the classpath to discover a text file
static String createDiscoveryPathName(String uri, String localName)
          Converts the namespace and localName into a valid path name we can use on the classpath to discover a text file
static boolean isEmpty(String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

META_INF_PREFIX

public static final String META_INF_PREFIX
See Also:
Constant Field Values

OLD_META_INF_PREFIX

public static final String OLD_META_INF_PREFIX
See Also:
Constant Field Values
Constructor Detail

NamespaceHelper

public NamespaceHelper()
Method Detail

createDiscoveryPathName

public static String createDiscoveryPathName(String uri,
                                             String localName)
Converts the namespace and localName into a valid path name we can use on the classpath to discover a text file


createDiscoveryPathName

public static String createDiscoveryPathName(String uri)
Converts the namespace and localName into a valid path name we can use on the classpath to discover a text file


createDiscoveryOldPathName

public static String createDiscoveryOldPathName(String uri)
Creates the old URI for backwards compatibility


isEmpty

public static boolean isEmpty(String uri)


Copyright © 2005-2012. All Rights Reserved.