Class NamespaceHelper
- java.lang.Object
-
- org.apache.xbean.spring.context.impl.NamespaceHelper
-
public class NamespaceHelper extends java.lang.Object
A helper class for turning namespaces into META-INF/services URIs- Version:
- $Revision: 1.1 $
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
META_INF_PREFIX
static java.lang.String
OLD_META_INF_PREFIX
-
Constructor Summary
Constructors Constructor Description NamespaceHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
createDiscoveryOldPathName(java.lang.String uri)
Creates the old URI for backwards compatibilitystatic java.lang.String
createDiscoveryPathName(java.lang.String uri)
Converts the namespace and localName into a valid path name we can use on the classpath to discover a text filestatic java.lang.String
createDiscoveryPathName(java.lang.String uri, java.lang.String localName)
Converts the namespace and localName into a valid path name we can use on the classpath to discover a text filestatic boolean
isEmpty(java.lang.String uri)
-
-
-
Field Detail
-
META_INF_PREFIX
public static final java.lang.String META_INF_PREFIX
- See Also:
- Constant Field Values
-
OLD_META_INF_PREFIX
public static final java.lang.String OLD_META_INF_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
createDiscoveryPathName
public static java.lang.String createDiscoveryPathName(java.lang.String uri, java.lang.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 java.lang.String createDiscoveryPathName(java.lang.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 java.lang.String createDiscoveryOldPathName(java.lang.String uri)
Creates the old URI for backwards compatibility
-
isEmpty
public static boolean isEmpty(java.lang.String uri)
-
-