| Package | Description |
|---|---|
| org.gatein.common.xml.stax | |
| org.gatein.common.xml.stax.writer | |
| org.gatein.common.xml.stax.writer.builder |
| Modifier and Type | Method and Description |
|---|---|
void |
CollectionXmlHandler.write(StaxWriter<N> writer,
Collection<T> collection) |
void |
XmlHandler.write(StaxWriter<N> writer,
T object) |
protected abstract void |
CollectionXmlHandler.writeElement(StaxWriter<N> writer,
T object) |
| Modifier and Type | Class and Description |
|---|---|
class |
StaxWriterImpl<N> |
| Modifier and Type | Method and Description |
|---|---|
static StaxWriter<QName> |
StaxWriterUtils.createQualifiedWriter(OutputStream outputStream) |
static StaxWriter<QName> |
StaxWriterUtils.createQualifiedWriter(Writer writer) |
static <E extends Enum<E> & org.staxnav.EnumElement<E>> |
StaxWriterUtils.createWriter(Class<E> enumeratedClass,
OutputStream outputStream) |
static <E extends Enum<E> & org.staxnav.EnumElement<E>> |
StaxWriterUtils.createWriter(Class<E> enumeratedClass,
Writer writer) |
static <N> StaxWriter<N> |
StaxWriterUtils.createWriter(org.staxnav.Naming<N> naming,
OutputStream outputStream) |
static <N> StaxWriter<N> |
StaxWriterUtils.createWriter(org.staxnav.Naming<N> naming,
Writer writer) |
static StaxWriter<String> |
StaxWriterUtils.createWriter(OutputStream outputStream) |
static StaxWriter<String> |
StaxWriterUtils.createWriter(Writer writer) |
StaxWriter<N> |
StaxWriterImpl.writeAttribute(QName name,
String value) |
StaxWriter<N> |
StaxWriter.writeAttribute(QName name,
String value)
Writes an attribute for an xml element.
|
StaxWriter<N> |
StaxWriterImpl.writeAttribute(String name,
String value) |
StaxWriter<N> |
StaxWriter.writeAttribute(String name,
String value)
Writes an attribute for an xml element.
|
StaxWriter<N> |
StaxWriterImpl.writeCData(String cdata) |
StaxWriter<N> |
StaxWriter.writeCData(String cdata)
Writes a cdata section
|
StaxWriter<N> |
StaxWriterImpl.writeComment(String comment) |
StaxWriter<N> |
StaxWriter.writeComment(String comment)
Writes an xml comment
|
StaxWriter<N> |
StaxWriterImpl.writeContent(String content) |
StaxWriter<N> |
StaxWriter.writeContent(String content)
Writes xml content.
|
<V> StaxWriter<N> |
StaxWriterImpl.writeContent(WritableValueType<V> valueType,
V content) |
<V> StaxWriter<N> |
StaxWriter.writeContent(WritableValueType<V> valueType,
V content)
Writes xml content based on the ValueType responsible for converting the content to string.
|
StaxWriter<N> |
StaxWriterImpl.writeDefaultNamespace(String uri) |
StaxWriter<N> |
StaxWriter.writeDefaultNamespace(String uri)
Writes the default namespace
|
<V> StaxWriter<N> |
StaxWriterImpl.writeElement(N element,
String content) |
<V> StaxWriter<N> |
StaxWriter.writeElement(N element,
String content)
Convenience method for calling
writeStartElement, writeContent, writeEndElement |
<V> StaxWriter<N> |
StaxWriterImpl.writeElement(N element,
WritableValueType<V> valueType,
V content) |
<V> StaxWriter<N> |
StaxWriter.writeElement(N element,
WritableValueType<V> valueType,
V content)
Convenience method for calling
writeStartElement, writeContent, writeEndElement |
StaxWriter<N> |
StaxWriterImpl.writeEndElement() |
StaxWriter<N> |
StaxWriter.writeEndElement()
Writes an end tag for the previously started element.
|
StaxWriter<N> |
StaxWriterImpl.writeNamespace(String prefix,
String uri) |
StaxWriter<N> |
StaxWriter.writeNamespace(String prefix,
String uri)
Writes the namespace.
|
StaxWriter<N> |
StaxWriterImpl.writeStartElement(N element) |
StaxWriter<N> |
StaxWriter.writeStartElement(N element)
Writes the start tag of an xml element.
|
| Modifier and Type | Method and Description |
|---|---|
static <N> void |
StaxWriterUtils.writeOptionalContent(StaxWriter<N> writer,
N element,
String content) |
static <N,V> void |
StaxWriterUtils.writeOptionalContent(StaxWriter<N> writer,
N element,
WritableValueType<V> valueType,
V value) |
static <N> void |
StaxWriterUtils.writeOptionalElement(StaxWriter<N> writer,
N element,
String content) |
static <N,V> void |
StaxWriterUtils.writeOptionalElement(StaxWriter<N> writer,
N element,
WritableValueType<V> valueType,
V value) |
| Modifier and Type | Method and Description |
|---|---|
<E extends Enum<E> & org.staxnav.EnumElement<E>> |
StaxWriterBuilderImpl.build(Class<E> enumeratedClass) |
<E extends Enum<E> & org.staxnav.EnumElement<E>> |
StaxWriterBuilder.build(Class<E> enumeratedType) |
<N> StaxWriter<N> |
StaxWriterBuilderImpl.build(org.staxnav.Naming<N> naming) |
<N> StaxWriter<N> |
StaxWriterBuilder.build(org.staxnav.Naming<N> naming) |
Copyright © 2017 JBoss by Red Hat. All Rights Reserved.