Package org.apache.camel.spi
Interface NamespaceAware
public interface NamespaceAware
Represents an object which is aware of the namespaces in which its used such as XPath and XQuery type expressions so
that the current namespace context can be injected
-
Method Summary
Modifier and TypeMethodDescriptionGets the XML Namespacesvoid
setNamespaces
(Map<String, String> namespaces) Injects the XML Namespaces of prefix -> uri mappings
-
Method Details
-
setNamespaces
Injects the XML Namespaces of prefix -> uri mappings- Parameters:
namespaces
- the XML namespaces with the key of prefixes and the value the URIs
-
getNamespaces
Gets the XML Namespaces
-