Package com.sun.xml.bind.v2.runtime
Class AssociationMap<XmlNode>
java.lang.Object
com.sun.xml.bind.v2.runtime.AssociationMap<XmlNode>
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRecords the newelement <->innerpeer association.voidRecords the newelement <-> outerpeer association.voidcom.sun.xml.bind.v2.runtime.AssociationMap.Entry<XmlNode>com.sun.xml.bind.v2.runtime.AssociationMap.Entry<XmlNode>getInnerPeer(XmlNode element) getOuterPeer(XmlNode element)
-
Constructor Details
-
AssociationMap
public AssociationMap()
-
-
Method Details
-
addInner
Records the newelement <->innerpeer association. -
addOuter
Records the newelement <-> outerpeer association. -
addUsed
-
byElement
-
byPeer
-
getInnerPeer
-
getOuterPeer
-