public abstract class NamespaceAwareExpression extends ExpressionDefinition implements org.apache.camel.spi.NamespaceAware
XPathExpression
or XQueryExpression
Constructor and Description |
---|
NamespaceAwareExpression() |
NamespaceAwareExpression(String expression) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureExpression(org.apache.camel.CamelContext camelContext,
org.apache.camel.Expression expression) |
protected void |
configureNamespaceAware(Object builder) |
protected void |
configurePredicate(org.apache.camel.CamelContext camelContext,
org.apache.camel.Predicate predicate) |
Map<String,String> |
getNamespaces() |
void |
setNamespaces(Map<String,String> namespaces)
Injects the XML Namespaces of prefix -> uri mappings
|
assertMatches, createExpression, createExpression, createPredicate, createPredicate, evaluate, evaluate, getExpression, getExpressionType, getExpressionValue, getId, getLabel, getLabel, getLanguage, getOtherAttributes, getPredicate, getTrim, matches, setExpression, setExpressionType, setExpressionValue, setId, setOtherAttributes, setProperty, setTrim, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getReadPropertyPlaceholderOptions, getWritePropertyPlaceholderOptions
public NamespaceAwareExpression()
public NamespaceAwareExpression(String expression)
public Map<String,String> getNamespaces()
getNamespaces
in interface org.apache.camel.spi.NamespaceAware
public void setNamespaces(Map<String,String> namespaces)
setNamespaces
in interface org.apache.camel.spi.NamespaceAware
namespaces
- the XML namespaces with the key of prefixes and the
value the URIsprotected void configureExpression(org.apache.camel.CamelContext camelContext, org.apache.camel.Expression expression)
configureExpression
in class ExpressionDefinition
protected void configurePredicate(org.apache.camel.CamelContext camelContext, org.apache.camel.Predicate predicate)
configurePredicate
in class ExpressionDefinition
protected void configureNamespaceAware(Object builder)
Apache Camel