Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## 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

- `Boolean`
- `String`
- `Double`
- `Node`
- `NodeList`
- `Element`
- `Document`

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

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