public class Namespaces extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_NAMESPACE |
static String |
ENVIRONMENT_VARIABLES |
static String |
EXCHANGE_PROPERTY |
static String |
FUNCTION_NAMESPACE |
static String |
IN_NAMESPACE |
static String |
OUT_NAMESPACE |
static String |
SYSTEM_PROPERTIES_NAMESPACE |
Constructor and Description |
---|
Namespaces()
Creates an empty namespaces object
|
Namespaces(String prefix,
String uri)
Creates a namespace context with a single prefix and URI
|
Modifier and Type | Method and Description |
---|---|
Namespaces |
add(String prefix,
String uri) |
void |
configure(org.apache.camel.spi.NamespaceAware namespaceAware)
Configures the namespace aware object
|
Map<String,String> |
getNamespaces() |
static boolean |
isMatchingNamespaceOrEmptyNamespace(String namespaceURI,
String expectedNamespace)
Returns true if the given namespaceURI is empty or if it matches the given expected namespace
|
public static final String DEFAULT_NAMESPACE
public static final String IN_NAMESPACE
public static final String OUT_NAMESPACE
public static final String FUNCTION_NAMESPACE
public static final String SYSTEM_PROPERTIES_NAMESPACE
public static final String ENVIRONMENT_VARIABLES
public static final String EXCHANGE_PROPERTY
public static boolean isMatchingNamespaceOrEmptyNamespace(String namespaceURI, String expectedNamespace)
public Namespaces add(String prefix, String uri)
public void configure(org.apache.camel.spi.NamespaceAware namespaceAware)
Apache Camel