public final class TextContentMapping extends XmlNodeMapping<TextContentDescriptor>
Instances of this class are immutable and thread safe.
| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
TextMode |
getTextMode()
Returns the text mode.
|
getDataTypeName, getFieldDescriptor, getNodeDescriptor, getObjectType, getValidator, isIndirectMappingpublic TextContentMapping(QName dataTypeName, TextContentDescriptor textContentDescriptor, FieldDescriptor fieldDescriptor, Validator validator, TextMode textMode)
TextContentMapping for the given data type name, text content descriptor and
field descriptor.dataTypeName - the name of the data type.textContentDescriptor - the descriptor of the attribute nodefieldDescriptor - the descriptor of the fieldvalidator - the validator; may be nulltextMode - the text modepublic TextMode getTextMode()
Copyright © 2014. All rights reserved.