org.custommonkey.xmlunit

Interface DifferenceConstants

public interface DifferenceConstants

Constants for describing differences between DOM Nodes.
Examples and more at xmlunit.sourceforge.net
Field Summary
static DifferenceATTR_NAME_NOT_FOUND
Comparing 2 elements and one has an attribute the other does not
intATTR_NAME_NOT_FOUND_ID
Comparing 2 elements and one has an attribute the other does not
static DifferenceATTR_SEQUENCE
Comparing 2 attribute lists with the same attributes in different sequence
intATTR_SEQUENCE_ID
Comparing 2 attribute lists with the same attributes in different sequence
static DifferenceATTR_VALUE
Comparing 2 attributes with the same name but different values
static DifferenceATTR_VALUE_EXPLICITLY_SPECIFIED
Comparing an implied attribute value against an explicit value
intATTR_VALUE_EXPLICITLY_SPECIFIED_ID
Comparing an implied attribute value against an explicit value
intATTR_VALUE_ID
Comparing 2 attributes with the same name but different values
static DifferenceCDATA_VALUE
Comparing 2 CDATA sections with different values
intCDATA_VALUE_ID
Comparing 2 CDATA sections with different values
static DifferenceCHILD_NODELIST_LENGTH
Comparing 2 nodes with different numbers of children
intCHILD_NODELIST_LENGTH_ID
Comparing 2 nodes with different numbers of children
static DifferenceCHILD_NODELIST_SEQUENCE
Comparing 2 nodes with children whose nodes are in different sequence
intCHILD_NODELIST_SEQUENCE_ID
Comparing 2 nodes with children whose nodes are in different sequence
static DifferenceCOMMENT_VALUE
Comparing 2 comments with different values
intCOMMENT_VALUE_ID
Comparing 2 comments with different values
static DifferenceDOCTYPE_NAME
Comparing 2 document types with different names
intDOCTYPE_NAME_ID
Comparing 2 document types with different names
static DifferenceDOCTYPE_PUBLIC_ID
Comparing 2 document types with different public identifiers
intDOCTYPE_PUBLIC_ID_ID
Comparing 2 document types with different public identifiers
static DifferenceDOCTYPE_SYSTEM_ID
Comparing 2 document types with different system identifiers
intDOCTYPE_SYSTEM_ID_ID
Comparing 2 document types with different system identifiers
static DifferenceELEMENT_NUM_ATTRIBUTES
Comparing 2 elements with different number of attributes
intELEMENT_NUM_ATTRIBUTES_ID
Comparing 2 elements with different number of attributes
static DifferenceELEMENT_TAG_NAME
Comparing 2 elements with different tag names
intELEMENT_TAG_NAME_ID
Comparing 2 elements with different tag names
static DifferenceHAS_CHILD_NODES
Comparing 2 nodes but only one has any children
intHAS_CHILD_NODES_ID
Comparing 2 nodes but only one has any children
static DifferenceHAS_DOCTYPE_DECLARATION
Comparing 2 Documents only one of which has a doctype
intHAS_DOCTYPE_DECLARATION_ID
Comparing 2 Documents only one of which has a doctype
static DifferenceNAMESPACE_PREFIX
Comparing 2 nodes with different namespace prefixes
intNAMESPACE_PREFIX_ID
Comparing 2 nodes with different namespace prefixes
static DifferenceNAMESPACE_URI
Comparing 2 nodes with different namespace URIs
intNAMESPACE_URI_ID
Comparing 2 nodes with different namespace URIs
static DifferenceNODE_TYPE
Comparing 2 nodes with different node types
intNODE_TYPE_ID
Comparing 2 nodes with different node types
static DifferencePROCESSING_INSTRUCTION_DATA
Comparing 2 processing instructions with different instructions
intPROCESSING_INSTRUCTION_DATA_ID
Comparing 2 processing instructions with different instructions
static DifferencePROCESSING_INSTRUCTION_TARGET
Comparing 2 processing instructions with different targets
intPROCESSING_INSTRUCTION_TARGET_ID
Comparing 2 processing instructions with different targets
static DifferenceTEXT_VALUE
Comparing 2 different text values
intTEXT_VALUE_ID
Comparing 2 different text values

Field Detail

ATTR_NAME_NOT_FOUND

public static final Difference ATTR_NAME_NOT_FOUND
Comparing 2 elements and one has an attribute the other does not

ATTR_NAME_NOT_FOUND_ID

public int ATTR_NAME_NOT_FOUND_ID
Comparing 2 elements and one has an attribute the other does not

ATTR_SEQUENCE

public static final Difference ATTR_SEQUENCE
Comparing 2 attribute lists with the same attributes in different sequence

ATTR_SEQUENCE_ID

public int ATTR_SEQUENCE_ID
Comparing 2 attribute lists with the same attributes in different sequence

ATTR_VALUE

public static final Difference ATTR_VALUE
Comparing 2 attributes with the same name but different values

ATTR_VALUE_EXPLICITLY_SPECIFIED

public static final Difference ATTR_VALUE_EXPLICITLY_SPECIFIED
Comparing an implied attribute value against an explicit value

ATTR_VALUE_EXPLICITLY_SPECIFIED_ID

public int ATTR_VALUE_EXPLICITLY_SPECIFIED_ID
Comparing an implied attribute value against an explicit value

ATTR_VALUE_ID

public int ATTR_VALUE_ID
Comparing 2 attributes with the same name but different values

CDATA_VALUE

public static final Difference CDATA_VALUE
Comparing 2 CDATA sections with different values

CDATA_VALUE_ID

public int CDATA_VALUE_ID
Comparing 2 CDATA sections with different values

CHILD_NODELIST_LENGTH

public static final Difference CHILD_NODELIST_LENGTH
Comparing 2 nodes with different numbers of children

CHILD_NODELIST_LENGTH_ID

public int CHILD_NODELIST_LENGTH_ID
Comparing 2 nodes with different numbers of children

CHILD_NODELIST_SEQUENCE

public static final Difference CHILD_NODELIST_SEQUENCE
Comparing 2 nodes with children whose nodes are in different sequence

CHILD_NODELIST_SEQUENCE_ID

public int CHILD_NODELIST_SEQUENCE_ID
Comparing 2 nodes with children whose nodes are in different sequence

COMMENT_VALUE

public static final Difference COMMENT_VALUE
Comparing 2 comments with different values

COMMENT_VALUE_ID

public int COMMENT_VALUE_ID
Comparing 2 comments with different values

DOCTYPE_NAME

public static final Difference DOCTYPE_NAME
Comparing 2 document types with different names

DOCTYPE_NAME_ID

public int DOCTYPE_NAME_ID
Comparing 2 document types with different names

DOCTYPE_PUBLIC_ID

public static final Difference DOCTYPE_PUBLIC_ID
Comparing 2 document types with different public identifiers

DOCTYPE_PUBLIC_ID_ID

public int DOCTYPE_PUBLIC_ID_ID
Comparing 2 document types with different public identifiers

DOCTYPE_SYSTEM_ID

public static final Difference DOCTYPE_SYSTEM_ID
Comparing 2 document types with different system identifiers

DOCTYPE_SYSTEM_ID_ID

public int DOCTYPE_SYSTEM_ID_ID
Comparing 2 document types with different system identifiers

ELEMENT_NUM_ATTRIBUTES

public static final Difference ELEMENT_NUM_ATTRIBUTES
Comparing 2 elements with different number of attributes

ELEMENT_NUM_ATTRIBUTES_ID

public int ELEMENT_NUM_ATTRIBUTES_ID
Comparing 2 elements with different number of attributes

ELEMENT_TAG_NAME

public static final Difference ELEMENT_TAG_NAME
Comparing 2 elements with different tag names

ELEMENT_TAG_NAME_ID

public int ELEMENT_TAG_NAME_ID
Comparing 2 elements with different tag names

HAS_CHILD_NODES

public static final Difference HAS_CHILD_NODES
Comparing 2 nodes but only one has any children

HAS_CHILD_NODES_ID

public int HAS_CHILD_NODES_ID
Comparing 2 nodes but only one has any children

HAS_DOCTYPE_DECLARATION

public static final Difference HAS_DOCTYPE_DECLARATION
Comparing 2 Documents only one of which has a doctype

HAS_DOCTYPE_DECLARATION_ID

public int HAS_DOCTYPE_DECLARATION_ID
Comparing 2 Documents only one of which has a doctype

NAMESPACE_PREFIX

public static final Difference NAMESPACE_PREFIX
Comparing 2 nodes with different namespace prefixes

NAMESPACE_PREFIX_ID

public int NAMESPACE_PREFIX_ID
Comparing 2 nodes with different namespace prefixes

NAMESPACE_URI

public static final Difference NAMESPACE_URI
Comparing 2 nodes with different namespace URIs

NAMESPACE_URI_ID

public int NAMESPACE_URI_ID
Comparing 2 nodes with different namespace URIs

NODE_TYPE

public static final Difference NODE_TYPE
Comparing 2 nodes with different node types

NODE_TYPE_ID

public int NODE_TYPE_ID
Comparing 2 nodes with different node types

PROCESSING_INSTRUCTION_DATA

public static final Difference PROCESSING_INSTRUCTION_DATA
Comparing 2 processing instructions with different instructions

PROCESSING_INSTRUCTION_DATA_ID

public int PROCESSING_INSTRUCTION_DATA_ID
Comparing 2 processing instructions with different instructions

PROCESSING_INSTRUCTION_TARGET

public static final Difference PROCESSING_INSTRUCTION_TARGET
Comparing 2 processing instructions with different targets

PROCESSING_INSTRUCTION_TARGET_ID

public int PROCESSING_INSTRUCTION_TARGET_ID
Comparing 2 processing instructions with different targets

TEXT_VALUE

public static final Difference TEXT_VALUE
Comparing 2 different text values

TEXT_VALUE_ID

public int TEXT_VALUE_ID
Comparing 2 different text values