View Javadoc

1   /*
2    * Copyright 2007 the original author or authors.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
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.Documented;
20  import java.lang.annotation.ElementType;
21  import java.lang.annotation.Retention;
22  import java.lang.annotation.RetentionPolicy;
23  import java.lang.annotation.Target;
24  
25  /**
26   * Indicates that a method parameter should be bound to an XPath expression. The annotation value signifies the XPath
27   * expression to use. The parameter can be of the following types: <ul> <li><code>boolean</code>, or [email protected]
28   * Boolean}</li> <li><code>double</code>, or [email protected] Double}</li> <li>[email protected] String}</li> <li>[email protected]
29   * org.w3c.dom.Node}</li> <li>[email protected] org.w3c.dom.NodeList}</li> </ul>
30   *
31   * @author Arjen Poutsma
32   * @see org.springframework.ws.server.endpoint.adapter.XPathParamAnnotationMethodEndpointAdapter
33   * @since 1.0.0
34   */
35  @Target(ElementType.PARAMETER)
36  @Retention(RetentionPolicy.RUNTIME)
37  @Documented
38  public @interface XPathParam {
39  
40      String value();
41  }