org.mule.api.annotations.expression
Annotation Type XPath


@Target(value=PARAMETER)
@Retention(value=RUNTIME)
@Documented
public @interface XPath

An expression annotation that allows developers to control how method parameter values are injected on a service component or transformer. This parameter level annotation enables an XPath expression to be execute on an Xml payload of a message. The annotation uses the standard JAXP api and this dictates what method parameter types the annotaiton can be used with. The follonig parameter types are supported

See XPathConstants for further information.


Required Element Summary
 String value
           
 
Optional Element Summary
 boolean optional
           
 

Element Detail

value

public abstract String value

optional

public abstract boolean optional
Default:
false


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.