com. can be used on a package to designate the namespace URI for the
whole package.
com. can be used on TypedXmlWriter-derived interfaces to associate
a tag name to that interface.
com., com., or com. can be used on a method
declared on a TypedXmLWriter-derived interface. Those annotations are mutually-exclusive.
See their javadoc for details. If none of the above three annotations are specified,
com. is assumed.
| Modifier and Type | Annotation and Description |
|---|---|
| public @interface | XmlAttribute
Specifies that the invocation of the method will produce an attribute. |
| public @interface | XmlCDATA
Used along with |
| public @interface | XmlElement
Specifies the name of the XML element. |
| public @interface | XmlNamespace
Declares the namespace URI of the |
| public @interface | XmlValue
Specifies that the invocation of the method will produce a text
The method signature has to match the form
R is either |