Package org.custommonkey.xmlunit
Interface DifferenceConstants
- All Known Implementing Classes:
DifferenceEngine
,NewDifferenceEngine
public interface DifferenceConstants
Constants for describing differences between DOM Nodes.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Difference
Comparing 2 elements and one has an attribute the other does notstatic final int
Comparing 2 elements and one has an attribute the other does notstatic final Difference
Comparing 2 attribute lists with the same attributes in different sequencestatic final int
Comparing 2 attribute lists with the same attributes in different sequencestatic final Difference
Comparing 2 attributes with the same name but different valuesstatic final Difference
Comparing an implied attribute value against an explicit valuestatic final int
Comparing an implied attribute value against an explicit valuestatic final int
Comparing 2 attributes with the same name but different valuesstatic final Difference
Comparing 2 CDATA sections with different valuesstatic final int
Comparing 2 CDATA sections with different valuesstatic final Difference
Comparing 2 nodes and one holds more childnodes than can be matched against child nodes of the other.static final int
Comparing 2 nodes and one holds more childnodes than can be matched against child nodes of the other.static final Difference
Comparing 2 nodes with different numbers of childrenstatic final int
Comparing 2 nodes with different numbers of childrenstatic final Difference
Comparing 2 nodes with children whose nodes are in different sequencestatic final int
Comparing 2 nodes with children whose nodes are in different sequencestatic final Difference
Comparing 2 comments with different valuesstatic final int
Comparing 2 comments with different valuesstatic final Difference
Comparing 2 document types with different namesstatic final int
Comparing 2 document types with different namesstatic final Difference
Comparing 2 document types with different public identifiersstatic final int
Comparing 2 document types with different public identifiersstatic final Difference
Comparing 2 document types with different system identifiersstatic final int
Comparing 2 document types with different system identifiersstatic final Difference
Comparing 2 elements with different number of attributesstatic final int
Comparing 2 elements with different number of attributesstatic final Difference
Comparing 2 elements with different tag namesstatic final int
Comparing 2 elements with different tag namesstatic final Difference
Comparing 2 nodes but only one has any childrenstatic final int
Comparing 2 nodes but only one has any childrenstatic final Difference
Comparing 2 Documents only one of which has a doctypestatic final int
Comparing 2 Documents only one of which has a doctypestatic final Difference
Comparing 2 nodes with different namespace prefixesstatic final int
Comparing 2 nodes with different namespace prefixesstatic final Difference
Comparing 2 nodes with different namespace URIsstatic final int
Comparing 2 nodes with different namespace URIsstatic final Difference
Comparing 2 nodes with different xsi:noNamespaceSchemaLocation attributes, potentially only one of the two provides such an attribute at all.static final int
Comparing 2 nodes with different xsi:noNamespaceSchemaLocation attributes, potentially only one of the two provides such an attribute at all.static final Difference
Comparing 2 nodes with different node typesstatic final int
Comparing 2 nodes with different node typesstatic final Difference
Comparing 2 processing instructions with different instructionsstatic final int
Comparing 2 processing instructions with different instructionsstatic final Difference
Comparing 2 processing instructions with different targetsstatic final int
Comparing 2 processing instructions with different targetsstatic final Difference
Comparing 2 nodes with different xsi:schemaLocation attributes, potentially only one of the two provides such an attribute at all.static final int
Comparing 2 nodes with different xsi:schemaLocation attributes, potentially only one of the two provides such an attribute at all.static final Difference
Comparing 2 different text valuesstatic final int
Comparing 2 different text values
-
Field Details
-
ATTR_VALUE_EXPLICITLY_SPECIFIED_ID
static final int ATTR_VALUE_EXPLICITLY_SPECIFIED_IDComparing an implied attribute value against an explicit value- See Also:
-
ATTR_NAME_NOT_FOUND_ID
static final int ATTR_NAME_NOT_FOUND_IDComparing 2 elements and one has an attribute the other does not- See Also:
-
ATTR_VALUE_ID
static final int ATTR_VALUE_IDComparing 2 attributes with the same name but different values- See Also:
-
ATTR_SEQUENCE_ID
static final int ATTR_SEQUENCE_IDComparing 2 attribute lists with the same attributes in different sequence- See Also:
-
CDATA_VALUE_ID
static final int CDATA_VALUE_IDComparing 2 CDATA sections with different values- See Also:
-
COMMENT_VALUE_ID
static final int COMMENT_VALUE_IDComparing 2 comments with different values- See Also:
-
DOCTYPE_NAME_ID
static final int DOCTYPE_NAME_IDComparing 2 document types with different names- See Also:
-
DOCTYPE_PUBLIC_ID_ID
static final int DOCTYPE_PUBLIC_ID_IDComparing 2 document types with different public identifiers- See Also:
-
DOCTYPE_SYSTEM_ID_ID
static final int DOCTYPE_SYSTEM_ID_IDComparing 2 document types with different system identifiers- See Also:
-
ELEMENT_TAG_NAME_ID
static final int ELEMENT_TAG_NAME_IDComparing 2 elements with different tag names- See Also:
-
ELEMENT_NUM_ATTRIBUTES_ID
static final int ELEMENT_NUM_ATTRIBUTES_IDComparing 2 elements with different number of attributes- See Also:
-
PROCESSING_INSTRUCTION_TARGET_ID
static final int PROCESSING_INSTRUCTION_TARGET_IDComparing 2 processing instructions with different targets- See Also:
-
PROCESSING_INSTRUCTION_DATA_ID
static final int PROCESSING_INSTRUCTION_DATA_IDComparing 2 processing instructions with different instructions- See Also:
-
TEXT_VALUE_ID
static final int TEXT_VALUE_IDComparing 2 different text values- See Also:
-
NAMESPACE_PREFIX_ID
static final int NAMESPACE_PREFIX_IDComparing 2 nodes with different namespace prefixes- See Also:
-
NAMESPACE_URI_ID
static final int NAMESPACE_URI_IDComparing 2 nodes with different namespace URIs- See Also:
-
NODE_TYPE_ID
static final int NODE_TYPE_IDComparing 2 nodes with different node types- See Also:
-
HAS_CHILD_NODES_ID
static final int HAS_CHILD_NODES_IDComparing 2 nodes but only one has any children- See Also:
-
CHILD_NODELIST_LENGTH_ID
static final int CHILD_NODELIST_LENGTH_IDComparing 2 nodes with different numbers of children- See Also:
-
CHILD_NODELIST_SEQUENCE_ID
static final int CHILD_NODELIST_SEQUENCE_IDComparing 2 nodes with children whose nodes are in different sequence- See Also:
-
HAS_DOCTYPE_DECLARATION_ID
static final int HAS_DOCTYPE_DECLARATION_IDComparing 2 Documents only one of which has a doctype- See Also:
-
CHILD_NODE_NOT_FOUND_ID
static final int CHILD_NODE_NOT_FOUND_IDComparing 2 nodes and one holds more childnodes than can be matched against child nodes of the other.- See Also:
-
SCHEMA_LOCATION_ID
static final int SCHEMA_LOCATION_IDComparing 2 nodes with different xsi:schemaLocation attributes, potentially only one of the two provides such an attribute at all.- See Also:
-
NO_NAMESPACE_SCHEMA_LOCATION_ID
static final int NO_NAMESPACE_SCHEMA_LOCATION_IDComparing 2 nodes with different xsi:noNamespaceSchemaLocation attributes, potentially only one of the two provides such an attribute at all.- See Also:
-
ATTR_VALUE_EXPLICITLY_SPECIFIED
Comparing an implied attribute value against an explicit value -
ATTR_NAME_NOT_FOUND
Comparing 2 elements and one has an attribute the other does not -
ATTR_VALUE
Comparing 2 attributes with the same name but different values -
ATTR_SEQUENCE
Comparing 2 attribute lists with the same attributes in different sequence -
CDATA_VALUE
Comparing 2 CDATA sections with different values -
COMMENT_VALUE
Comparing 2 comments with different values -
DOCTYPE_NAME
Comparing 2 document types with different names -
DOCTYPE_PUBLIC_ID
Comparing 2 document types with different public identifiers -
DOCTYPE_SYSTEM_ID
Comparing 2 document types with different system identifiers -
ELEMENT_TAG_NAME
Comparing 2 elements with different tag names -
ELEMENT_NUM_ATTRIBUTES
Comparing 2 elements with different number of attributes -
PROCESSING_INSTRUCTION_TARGET
Comparing 2 processing instructions with different targets -
PROCESSING_INSTRUCTION_DATA
Comparing 2 processing instructions with different instructions -
TEXT_VALUE
Comparing 2 different text values -
NAMESPACE_PREFIX
Comparing 2 nodes with different namespace prefixes -
NAMESPACE_URI
Comparing 2 nodes with different namespace URIs -
NODE_TYPE
Comparing 2 nodes with different node types -
HAS_CHILD_NODES
Comparing 2 nodes but only one has any children -
CHILD_NODELIST_LENGTH
Comparing 2 nodes with different numbers of children -
CHILD_NODELIST_SEQUENCE
Comparing 2 nodes with children whose nodes are in different sequence -
HAS_DOCTYPE_DECLARATION
Comparing 2 Documents only one of which has a doctype -
CHILD_NODE_NOT_FOUND
Comparing 2 nodes and one holds more childnodes than can be matched against child nodes of the other. -
SCHEMA_LOCATION
Comparing 2 nodes with different xsi:schemaLocation attributes, potentially only one of the two provides such an attribute at all. -
NO_NAMESPACE_SCHEMA_LOCATION
Comparing 2 nodes with different xsi:noNamespaceSchemaLocation attributes, potentially only one of the two provides such an attribute at all.
-