Package org.custommonkey.xmlunit
Interface DifferenceConstants
- All Known Implementing Classes:
DifferenceEngine,NewDifferenceEngine
public interface DifferenceConstants
Constants for describing differences between DOM Nodes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DifferenceComparing 2 elements and one has an attribute the other does notstatic final intComparing 2 elements and one has an attribute the other does notstatic final DifferenceComparing 2 attribute lists with the same attributes in different sequencestatic final intComparing 2 attribute lists with the same attributes in different sequencestatic final DifferenceComparing 2 attributes with the same name but different valuesstatic final DifferenceComparing an implied attribute value against an explicit valuestatic final intComparing an implied attribute value against an explicit valuestatic final intComparing 2 attributes with the same name but different valuesstatic final DifferenceComparing 2 CDATA sections with different valuesstatic final intComparing 2 CDATA sections with different valuesstatic final DifferenceComparing 2 nodes and one holds more childnodes than can be matched against child nodes of the other.static final intComparing 2 nodes and one holds more childnodes than can be matched against child nodes of the other.static final DifferenceComparing 2 nodes with different numbers of childrenstatic final intComparing 2 nodes with different numbers of childrenstatic final DifferenceComparing 2 nodes with children whose nodes are in different sequencestatic final intComparing 2 nodes with children whose nodes are in different sequencestatic final DifferenceComparing 2 comments with different valuesstatic final intComparing 2 comments with different valuesstatic final DifferenceComparing 2 document types with different namesstatic final intComparing 2 document types with different namesstatic final DifferenceComparing 2 document types with different public identifiersstatic final intComparing 2 document types with different public identifiersstatic final DifferenceComparing 2 document types with different system identifiersstatic final intComparing 2 document types with different system identifiersstatic final DifferenceComparing 2 elements with different number of attributesstatic final intComparing 2 elements with different number of attributesstatic final DifferenceComparing 2 elements with different tag namesstatic final intComparing 2 elements with different tag namesstatic final DifferenceComparing 2 nodes but only one has any childrenstatic final intComparing 2 nodes but only one has any childrenstatic final DifferenceComparing 2 Documents only one of which has a doctypestatic final intComparing 2 Documents only one of which has a doctypestatic final DifferenceComparing 2 nodes with different namespace prefixesstatic final intComparing 2 nodes with different namespace prefixesstatic final DifferenceComparing 2 nodes with different namespace URIsstatic final intComparing 2 nodes with different namespace URIsstatic final DifferenceComparing 2 nodes with different xsi:noNamespaceSchemaLocation attributes, potentially only one of the two provides such an attribute at all.static final intComparing 2 nodes with different xsi:noNamespaceSchemaLocation attributes, potentially only one of the two provides such an attribute at all.static final DifferenceComparing 2 nodes with different node typesstatic final intComparing 2 nodes with different node typesstatic final DifferenceComparing 2 processing instructions with different instructionsstatic final intComparing 2 processing instructions with different instructionsstatic final DifferenceComparing 2 processing instructions with different targetsstatic final intComparing 2 processing instructions with different targetsstatic final DifferenceComparing 2 nodes with different xsi:schemaLocation attributes, potentially only one of the two provides such an attribute at all.static final intComparing 2 nodes with different xsi:schemaLocation attributes, potentially only one of the two provides such an attribute at all.static final DifferenceComparing 2 different text valuesstatic final intComparing 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.
-