Package com.sun.xml.txw2.annotation
Annotation Type XmlValue
-
@Retention(RUNTIME) @Target(METHOD) public @interface XmlValue
Specifies that the invocation of the method will produce a textThe method signature has to match the form
R foo(DT1,DT2,..)
R is either
void
or the type to which the interface that declares this method is assignable. In the case of the latter, the method will returnthis
object, allowing you to chain the multiple method invocations likeStringBuffer
.DTi must be datatype objects.
When this method is called, whitespace-separated text data is added from each of the datatype objects.
- Author:
- Kohsuke Kawaguchi