org.xmldb.xupdate.unittests
Class XhiveNodeMatcher
java.lang.Object
org.xmldb.xupdate.unittests.XhiveNodeMatcher
- public class XhiveNodeMatcher
- extends java.lang.Object
Method Summary |
static void |
compareDocTypes(org.w3c.dom.DocumentType origin,
org.w3c.dom.DocumentType target,
boolean clone,
boolean deep)
Compare two doctype nodes. |
static void |
compareNamedNodeMaps(org.w3c.dom.NamedNodeMap origin,
org.w3c.dom.NamedNodeMap target,
boolean clone,
boolean deep)
|
static void |
compareNodeLists(org.w3c.dom.NodeList origin,
org.w3c.dom.NodeList target,
boolean clone,
boolean deep)
|
static void |
compareNodes(org.w3c.dom.Node origin,
org.w3c.dom.Node target,
boolean clone,
boolean deep)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XhiveNodeMatcher
public XhiveNodeMatcher()
compareNodes
public static void compareNodes(org.w3c.dom.Node origin,
org.w3c.dom.Node target,
boolean clone,
boolean deep)
compareNodeLists
public static void compareNodeLists(org.w3c.dom.NodeList origin,
org.w3c.dom.NodeList target,
boolean clone,
boolean deep)
compareNamedNodeMaps
public static void compareNamedNodeMaps(org.w3c.dom.NamedNodeMap origin,
org.w3c.dom.NamedNodeMap target,
boolean clone,
boolean deep)
compareDocTypes
public static void compareDocTypes(org.w3c.dom.DocumentType origin,
org.w3c.dom.DocumentType target,
boolean clone,
boolean deep)
- Compare two doctype nodes.
Presently, this matching is only used from TreeDiffTest, maybe this should be enabled in
compareNodes in this method as well (but this may lead to problems with Xerces documents, which probably
have slightly different information).
Copyright (c) 2002 The XML:DB Initiative All rights reserved