| Package | Description |
|---|---|
| org.gatein.common.xml.stax.writer |
| Modifier and Type | Class and Description |
|---|---|
protected static class |
WritableValueTypes.EnumType<E extends Enum<E>> |
| Modifier and Type | Field and Description |
|---|---|
static WritableValueType<Boolean> |
WritableValueTypes.BOOLEAN |
static WritableValueType<Date> |
WritableValueTypes.DATE |
static WritableValueType<Date> |
WritableValueTypes.DATE_TIME |
static WritableValueType<Integer> |
WritableValueTypes.INTEGER |
static WritableValueType<String> |
WritableValueTypes.STRING |
static WritableValueType<String> |
WritableValueTypes.TRIMMED_STRING |
| Modifier and Type | Method and Description |
|---|---|
static <E extends Enum<E>> |
WritableValueTypes.getEnumType()
Returns a value type for an enum class.
|
| Modifier and Type | Method and Description |
|---|---|
<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.
|
<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 |
static <N,V> void |
StaxWriterUtils.writeOptionalContent(StaxWriter<N> writer,
N element,
WritableValueType<V> valueType,
V value) |
static <N,V> void |
StaxWriterUtils.writeOptionalElement(StaxWriter<N> writer,
N element,
WritableValueType<V> valueType,
V value) |
Copyright © 2017 JBoss by Red Hat. All Rights Reserved.