EclipseLink 2.3.2, build 'v20111125-r10461' 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
 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

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.3.2, build 'v20111125-r10461' API Reference