net.sf.jsefa.xml.mapping
Class XmlNodeMapping<T extends XmlNodeDescriptor>
java.lang.Object
net.sf.jsefa.common.mapping.NodeMapping<QName,T>
net.sf.jsefa.xml.mapping.XmlNodeMapping<T>
- Type Parameters:
T
- the type of the node descriptor
- Direct Known Subclasses:
- AttributeMapping, ElementMapping, TextContentMapping
public abstract class XmlNodeMapping<T extends XmlNodeDescriptor>
- extends NodeMapping<QName,T>
A mapping between an XML node and a java object. This mapping is used for serialization and deserialization.
The data type name may be:
a) the name of the implicit parent node of the node this mapping is for - if this node is an element of an
implicit list
b) the name of the node this mapping is for - in all other cases
- Author:
- Norman Lahme-Huetig
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlNodeMapping
protected XmlNodeMapping(QName dataTypeName,
T nodeDescriptor,
Class<?> objectType,
FieldDescriptor fieldDescriptor,
Validator validator)
- Constructs a new
NodeMapping
.
- Parameters:
dataTypeName
- the data type namenodeDescriptor
- the node descriptorobjectType
- the object typefieldDescriptor
- the field descriptorvalidator
- the validator; may be null
Copyright © 2014. All rights reserved.