Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)


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:

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


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.
value - - The value to be marshalled
record - - The Record the value is being marshalled too.


boolean isWriteOnly()


void setIsWriteOnly(boolean b)

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.