Module org.eclipse.persistence.core
Interface XMLMapping
- All Superinterfaces:
Mapping<AbstractSession,
AttributeAccessor, ContainerPolicy, ClassDescriptor, DatabaseField, XMLRecord>
- All Known Implementing Classes:
XMLAnyAttributeMapping
,XMLAnyCollectionMapping
,XMLAnyObjectMapping
,XMLBinaryDataCollectionMapping
,XMLBinaryDataMapping
,XMLChoiceCollectionMapping
,XMLChoiceObjectMapping
,XMLCollectionReferenceMapping
,XMLCompositeCollectionMapping
,XMLCompositeDirectCollectionMapping
,XMLCompositeObjectMapping
,XMLDirectMapping
,XMLFragmentCollectionMapping
,XMLFragmentMapping
,XMLObjectReferenceMapping
,XMLTransformationMapping
,XMLVariableXPathCollectionMapping
,XMLVariableXPathObjectMapping
public interface XMLMapping
extends Mapping<AbstractSession,AttributeAccessor,ContainerPolicy,ClassDescriptor,DatabaseField,XMLRecord>
INTERNAL
All mappings which can be added to org.eclipse.persistence.oxm.XMLDescriptor must
implement this interface.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
convertClassNamesToClasses
(ClassLoader classLoader) boolean
void
setIsWriteOnly
(boolean b) void
writeSingleValue
(Object value, Object parent, XMLRecord record, AbstractSession session) INTERNAL: A method that marshals a single value to the provided Record based on this mapping's XPath.Methods inherited from interface org.eclipse.persistence.internal.oxm.mappings.Mapping
getAttributeAccessor, getAttributeClassification, getAttributeName, getAttributeValueFromObject, getContainerPolicy, getDescriptor, getField, getReferenceDescriptor, isAbstractCompositeCollectionMapping, isAbstractCompositeDirectCollectionMapping, isAbstractCompositeObjectMapping, isAbstractDirectMapping, isCollectionMapping, isReadOnly, isReferenceMapping, isTransformationMapping, setAttributeAccessor, setAttributeName, setAttributeValueInObject, setGetMethodName, setIsReadOnly, setProperties, setSetMethodName
-
Method Details
-
convertClassNamesToClasses
- Specified by:
convertClassNamesToClasses
in interfaceMapping<AbstractSession,
AttributeAccessor, ContainerPolicy, ClassDescriptor, DatabaseField, XMLRecord>
-
writeSingleValue
INTERNAL: A method that marshals a single value to the provided Record based on this mapping's XPath. Used for Sequenced marshalling.- Specified by:
writeSingleValue
in interfaceMapping<AbstractSession,
AttributeAccessor, ContainerPolicy, ClassDescriptor, DatabaseField, XMLRecord> - Parameters:
value
- - The value to be marshalledrecord
- - The Record the value is being marshalled too.
-
isWriteOnly
boolean isWriteOnly() -
setIsWriteOnly
void setIsWriteOnly(boolean b)
-