| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static < an instance of T extends TypedXmlWriter> TTypedXmlWriter | Returns: always return non-nullTypedXmlWriter that can be used
to write the contents of the root element.The rootElement, XmlSerializer TypedXmlWriter interface that declares the content model of the root element.
This interface must have XmlElement annotation on it to designate the tag name
of the root element.The target of the writing. out)Creates a new |
| public static < an instance of T extends TypedXmlWriter> TTypedXmlWriter | Returns: always return non-nullTypedXmlWriter that can be used
to write the contents of the root element.The tag name of the root document. tagName, Class<T> The rootElement, XmlSerializer TypedXmlWriter interface that declares the content model of the root element.
This interface must have XmlElement annotation on it to designate the tag name
of the root element.The target of the writing. out)Creates a new |
| pack-priv static QName |
| TXW | back to summary |
|---|---|
| private TXW() | |
| create | back to summary |
|---|---|
| public static <T extends TypedXmlWriter> T create(Class<T> rootElement, XmlSerializer out) Creates a new
| |
| create | back to summary |
|---|---|
| public static <T extends TypedXmlWriter> T create(QName tagName, Class<T> rootElement, XmlSerializer out) Creates a new Similar to the other method, but this version allows the caller to set the tag name at the run-time.
| |
| getTagName | back to summary |
|---|---|
| pack-priv static QName getTagName(Class<?> c) | |