public final class AttributeMapping extends XmlNodeMapping<AttributeDescriptor>
Instances of this class are immutable and thread safe.
| Constructor and Description |
|---|
AttributeMapping(QName dataTypeName,
AttributeDescriptor attributeDescriptor,
Class<?> objectType,
FieldDescriptor fieldDescriptor,
Validator validator)
Constructs a new
AttributeMapping for the given data type name, attribute descriptor and
field descriptor. |
getDataTypeName, getFieldDescriptor, getNodeDescriptor, getObjectType, getValidator, isIndirectMappingpublic AttributeMapping(QName dataTypeName, AttributeDescriptor attributeDescriptor, Class<?> objectType, FieldDescriptor fieldDescriptor, Validator validator)
AttributeMapping for the given data type name, attribute descriptor and
field descriptor.dataTypeName - the name of the data type.attributeDescriptor - the descriptor of the attribute nodeobjectType - the type of the object. May be different from the object type contained in the field
descriptor.fieldDescriptor - the descriptor of the fieldvalidator - the validator; may be nullCopyright © 2014. All rights reserved.