Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package com.sun.xml.txw2.annotation

Defines a set of annotations that can be used on TypedXmlWriter interfaces.

See:
Description

Annotation Types Summary
XmlAttribute | Specifies that the invocation of the method will produce an attribute.
XmlCDATA | Used along with `XmlElement` to write a CDATA section, instead of the normal PCDATA.
XmlElement | Specifies the name of the XML element.
XmlNamespace | Declares the namespace URI of the `TypedXmlWriter`s in a package.
XmlValue | Specifies that the invocation of the method will produce a text

## Package com.sun.xml.txw2.annotation Description

Defines a set of annotations that can be used on TypedXmlWriter interfaces.

### Package-level Annotation

`XmlNamespace` can be used on a package to designate the namespace URI for the whole package.

### Interface Annotation

`XmlElement` can be used on TypedXmlWriter-derived interfaces to associate a tag name to that interface.

### Method Annotations

`XmlElement`, `XmlAttribute`, or `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, `XmlElement` is assumed.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES