com.sun.xml.txw2.annotation.package.html Maven / Gradle / Ivy
Defines a set of annotations that can be used on TypedXmlWriter interfaces.
Package-level Annotation
{@link XmlNamespace} can be used on a package to designate the namespace URI for the
whole package.
Interface Annotation
{@link XmlElement} can be used on TypedXmlWriter-derived interfaces to associate
a tag name to that interface.
Method Annotations
{@link XmlElement}, {@link XmlAttribute}, or {@link XmlValue} 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,
{@link XmlElement} is assumed.