/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XmlNode.java
if ( getUserData( node) != null) {
if ( getUserData ( node ) == null ) {
node.setUserData(USER_DATA_XMLNODE_KEY, wrap, wrap.events); } } private static XmlNode createImpl(Node node) { if (node instanceof Document) throw new IllegalArgumentException(); XmlNode rv = null; <extra_id_0> rv = new XmlNode(); rv.dom = node; setUserData(node, rv); } else { rv = getUserData(node); }