Class XMLBinderCacheEntry


  • public class XMLBinderCacheEntry
    extends Object
    INTERNAL:

    Purpose:Provide an object to be used as a cache entry in the XML Binder cache. This entry holds on to the root object mapped to a given XML node as well as any self-mapping objects, keyed on Mapping.

    Responsibilities:

    • Hold onto a rootObject associated with a given node
    • Maintain a map of any selfMapping objects keyed on mapping
    Author:
    mmacivor
    • Constructor Detail

      • XMLBinderCacheEntry

        public XMLBinderCacheEntry​(Object root)
    • Method Detail

      • getRootObject

        public Object getRootObject()
      • addSelfMappingObject

        public void addSelfMappingObject​(Mapping mapping,
                                         Object obj)
        Since:
        EclipseLink 2.5.0
      • getSelfMappingObject

        public Object getSelfMappingObject​(Mapping mapping)
        Since:
        EclipseLink 2.5.0