com.sun.xml.bind.v2.runtime
Class AssociationMap<XmlNode>
java.lang.Object
com.sun.xml.bind.v2.runtime.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 ([email protected])
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssociationMap
public AssociationMap()
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)
getInnerPeer
public Object getInnerPeer(XmlNode element)
getOuterPeer
public Object getOuterPeer(XmlNode element)
Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.