01: /*
02: * Copyright 2007 the original author or authors.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16:
17: package org.springframework.ws.server.endpoint.annotation;
18:
19: import java.lang.annotation.ElementType;
20: import java.lang.annotation.Retention;
21: import java.lang.annotation.RetentionPolicy;
22: import java.lang.annotation.Target;
23:
24: /**
25: * Indicates that a method parameter should be bound to an XPath expression. The annotation value signifies the XPath
26: * expression to use. The parameter can be of the following types: <ul> <li><code>boolean</code>, or {@link
27: * Boolean}</li> <li><code>double</code>, or {@link Double}</li> <li>{@link String}</li> <li>{@link
28: * org.w3c.dom.Node}</li> <li>{@link org.w3c.dom.NodeList}</li> </ul>
29: *
30: * @author Arjen Poutsma
31: * @see org.springframework.ws.server.endpoint.adapter.XPathParamAnnotationMethodEndpointAdapter
32: * @since 1.0.0
33: */
34: @Target(ElementType.PARAMETER)
35: @Retention(RetentionPolicy.RUNTIME)
36: public @interface XPathParam {
37:
38: String value();
39: }
|