EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.oxm.mappings
Interface XMLMapping

All Known Implementing Classes:
XMLAnyAttributeMapping, XMLAnyCollectionMapping, XMLAnyObjectMapping, XMLBinaryDataCollectionMapping, XMLBinaryDataMapping, XMLChoiceCollectionMapping, XMLChoiceObjectMapping, XMLCollectionReferenceMapping, XMLCompositeCollectionMapping, XMLCompositeDirectCollectionMapping, XMLCompositeObjectMapping, XMLDirectMapping, XMLFragmentCollectionMapping, XMLFragmentMapping, XMLObjectReferenceMapping, XMLTransformationMapping

public interface XMLMapping

INTERNAL All mappings which can be added to org.eclipse.persistence.oxm.XMLDescriptor must implement this interface.

See Also:
org.eclipse.persistence.oxm.mappings

Method Summary
 void convertClassNamesToClasses(java.lang.ClassLoader classLoader)
           
 boolean isWriteOnly()
           
 void setIsWriteOnly(boolean b)
           
 void writeSingleValue(java.lang.Object value, java.lang.Object parent, XMLRecord record, org.eclipse.persistence.internal.sessions.AbstractSession session)
          INTERNAL: A method that marshals a single value to the provided Record based on this mapping's XPath.
 

Method Detail

convertClassNamesToClasses

void convertClassNamesToClasses(java.lang.ClassLoader classLoader)

writeSingleValue

void writeSingleValue(java.lang.Object value,
                      java.lang.Object parent,
                      XMLRecord record,
                      org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL: A method that marshals a single value to the provided Record based on this mapping's XPath. Used for Sequenced marshalling.

Parameters:
value - - The value to be marshalled
record - - The Record the value is being marshalled too.

isWriteOnly

boolean isWriteOnly()

setIsWriteOnly

void setIsWriteOnly(boolean b)

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference