Class AssociationMap<XmlNode>


  • public final class AssociationMap<XmlNode>
    extends Object
    Bi-directional map between elements, inner peers, and outer peers.

    TODO: this should be rewritten for efficiency.

    Since:
    2.0
    Author:
    Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
    • Constructor Detail

      • AssociationMap

        public AssociationMap()
    • Method Detail

      • addInner

        public void addInner​(XmlNode element,
                             Object inner)
        Records the new element <->inner peer association.
      • addOuter

        public void addOuter​(XmlNode element,
                             Object outer)
        Records the new element <-> outer peer association.
      • addUsed

        public void addUsed​(XmlNode n)
      • byElement

        public com.sun.xml.bind.v2.runtime.AssociationMap.Entry<XmlNode> byElement​(Object e)
      • byPeer

        public com.sun.xml.bind.v2.runtime.AssociationMap.Entry<XmlNode> byPeer​(Object o)