Search in sources :

Example 6 with NamespaceAware

use of org.apache.camel.spi.NamespaceAware in project camel by apache.

the class NamespaceAwareExpression method configureNamespaceAware.

protected void configureNamespaceAware(Object builder) {
    if (namespaces != null && builder instanceof NamespaceAware) {
        NamespaceAware namespaceAware = (NamespaceAware) builder;
        namespaceAware.setNamespaces(namespaces);
    }
}
Also used : NamespaceAware(org.apache.camel.spi.NamespaceAware)

Aggregations

NamespaceAware (org.apache.camel.spi.NamespaceAware)6 Expression (org.apache.camel.Expression)3 Namespaces (org.apache.camel.builder.xml.Namespaces)2 ExpressionNode (org.apache.camel.model.ExpressionNode)2 ExpressionDefinition (org.apache.camel.model.language.ExpressionDefinition)2 Element (org.w3c.dom.Element)2 Node (org.w3c.dom.Node)2 NodeList (org.w3c.dom.NodeList)2 Endpoint (org.apache.camel.Endpoint)1 RouteDefinition (org.apache.camel.model.RouteDefinition)1