view src/share/classes/com/sun/xml/internal/txw2/annotation/package.html @ 0:0961a4a21176

Initial load
author duke
date Sat, 01 Dec 2007 00:00:00 +0000
children 31822b475baa
line wrap: on
line source
    Defines a set of annotations that can be used on TypedXmlWriter interfaces.

  <h3>Package-level Annotation</h3>
    {@link XmlNamespace} can be used on a package to designate the namespace URI for the
    whole package.

  <h3>Interface Annotation</h3>
    {@link XmlElement} can be used on TypedXmlWriter-derived interfaces to associate
    a tag name to that interface.

  <h3>Method Annotations</h3>
    {@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.