Searched refs:UserData (Results 1 – 2 of 2) sorted by relevance
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | DocumentImpl.java | 74 private WeakHashMap<NodeImpl, Map<String, UserData>> nodeToUserData; 292 Map<String, UserData> userData = node.document.getUserDataMapForRead(node); in changeDocumentToThis() 495 Map<String, UserData> getUserDataMap(NodeImpl node) { in getUserDataMap() 497 nodeToUserData = new WeakHashMap<NodeImpl, Map<String, UserData>>(); in getUserDataMap() 499 Map<String, UserData> userDataMap = nodeToUserData.get(node); in getUserDataMap() 501 userDataMap = new HashMap<String, UserData>(); in getUserDataMap() 511 Map<String, UserData> getUserDataMapForRead(NodeImpl node) { in getUserDataMapForRead() 515 Map<String, UserData> userDataMap = nodeToUserData.get(node); in getUserDataMapForRead() 517 ? Collections.<String, UserData>emptyMap() in getUserDataMapForRead() 540 for (Map.Entry<String, UserData> entry in notifyUserDataHandlers() [all …]
|
D | NodeImpl.java | 702 Map<String, UserData> map = document.getUserDataMap(this); in setUserData() 703 UserData previous = data == null in setUserData() 705 : map.put(key, new UserData(data, handler)); in setUserData() 713 Map<String, UserData> map = document.getUserDataMapForRead(this); in getUserData() 714 UserData userData = map.get(key); in getUserData() 718 static class UserData { class in NodeImpl 721 UserData(Object value, UserDataHandler handler) { in UserData() method in NodeImpl.UserData
|