java.lang.Object
org.eclipse.persistence.oxm.documentpreservation.DocumentPreservationPolicy
org.eclipse.persistence.internal.oxm.documentpreservation.XMLBinderPolicy

public class XMLBinderPolicy extends DocumentPreservationPolicy
INTERNAL:

Purpose:Provide an implementation of DocumentPreservationPolicy that maintains bidirectional relationships between Java Objects and the XMLNodes they originated from.

Responsibilities:

  • Implement abstract methods from DocumentPreservationPolicy
  • Maintain a map of objects to nodes
  • Maintain the reverse map of nodes to objects