Package | Description |
---|---|
org.jsefa.xml.lowlevel | |
org.jsefa.xml.mapping |
Modifier and Type | Method and Description |
---|---|
static TextMode |
TextMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextMode[] |
TextMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
XmlPullBasedXmlLowLevelSerializer.writeText(String text,
TextMode textMode)
Writes the given text as the content of the current element if the text is not empty.
|
void |
XmlLowLevelSerializer.writeText(String text,
TextMode textMode)
Writes the given text as the content of the current element if the text is not empty.
|
void |
StaxBasedXmlLowLevelSerializer.writeText(String text,
TextMode textMode)
Writes the given text as the content of the current element if the text is not empty.
|
Modifier and Type | Method and Description |
---|---|
TextMode |
TextContentMapping.getTextMode()
Returns the text mode.
|
TextMode |
ElementMapping.getTextMode() |
Modifier and Type | Method and Description |
---|---|
void |
ElementMappingsBuilder.addMapping(QName dataTypeName,
ElementDescriptor elementDescriptor,
Class<?> objectType,
FieldDescriptor fieldDescriptor,
Validator validator,
TextMode textMode)
Adds an element mapping to be build.
|
void |
ElementMappingsBuilder.addMapping(QName dataTypeName,
ElementDescriptor elementDescriptor,
FieldDescriptor fieldDescriptor,
Validator validator,
TextMode textMode)
Adds an element mapping to be build.
|
Constructor and Description |
---|
ElementMapping(QName dataTypeName,
ElementDescriptor elementDescriptor,
Class<?> objectType,
FieldDescriptor fieldDescriptor,
Validator validator,
boolean elementNameIsAmbiguous,
TextMode textMode)
Constructs a new
ElementMapping . |
TextContentMapping(QName dataTypeName,
TextContentDescriptor textContentDescriptor,
FieldDescriptor fieldDescriptor,
Validator validator,
TextMode textMode)
Constructs a new
TextContentMapping for the given data type name, text content descriptor and
field descriptor. |
Copyright © 2014. All rights reserved.