public final class XmlMapTypeMapping extends MapTypeMapping<QName,AttributeMapping,ElementDescriptor,ElementMapping>
Instances of this class are immutable and thread safe.
TypeMapping
Constructor and Description |
---|
XmlMapTypeMapping(QName dataTypeName,
boolean implicit,
AttributeMapping keyMapping,
Collection<ElementMapping> valueMappings,
ObjectAccessor objectAccessor)
Constructs a new
XmlMapTypeMapping . |
Modifier and Type | Method and Description |
---|---|
protected Map<ElementDescriptor,ElementMapping> |
createValueNodeMappingsByNodeDescriptorMap(Collection<ElementMapping> nodeMappings)
Creates a map of value node mappings by node descriptors.
|
boolean |
isImplicit() |
getKeyNodeMapping, getObjectAccessor, getValueNodeMapping, getValueNodeMapping, getValueNodeMappings
getDataTypeName, getObjectType
public XmlMapTypeMapping(QName dataTypeName, boolean implicit, AttributeMapping keyMapping, Collection<ElementMapping> valueMappings, ObjectAccessor objectAccessor)
XmlMapTypeMapping
.dataTypeName
- the data type nameimplicit
- true, if there is no embracing element around the map entries; false otherwisekeyMapping
- the mapping for the keys of the mapvalueMappings
- the mappings for the values of the mapobjectAccessor
- the object accessorpublic boolean isImplicit()
protected Map<ElementDescriptor,ElementMapping> createValueNodeMappingsByNodeDescriptorMap(Collection<ElementMapping> nodeMappings)
createValueNodeMappingsByNodeDescriptorMap
in class MapTypeMapping<QName,AttributeMapping,ElementDescriptor,ElementMapping>
nodeMappings
- the value node mappings for the map valuesCopyright © 2014. All rights reserved.