org.custommonkey.xmlunit
Interface DifferenceConstants

All Known Implementing Classes:
DifferenceEngine

public interface DifferenceConstants

Constants for describing differences between DOM Nodes.
Examples and more at xmlunit.sourceforge.net


Field Summary
static org.custommonkey.xmlunit.Difference ATTR_NAME_NOT_FOUND
          Comparing 2 elements and one has an attribute the other does not
static int ATTR_NAME_NOT_FOUND_ID
          Comparing 2 elements and one has an attribute the other does not
static org.custommonkey.xmlunit.Difference ATTR_SEQUENCE
          Comparing 2 attribute lists with the same attributes in different sequence
static int ATTR_SEQUENCE_ID
          Comparing 2 attribute lists with the same attributes in different sequence
static org.custommonkey.xmlunit.Difference ATTR_VALUE
          Comparing 2 attributes with the same name but different values
static org.custommonkey.xmlunit.Difference ATTR_VALUE_EXPLICITLY_SPECIFIED
          Comparing an implied attribute value against an explicit value
static int ATTR_VALUE_EXPLICITLY_SPECIFIED_ID
          Comparing an implied attribute value against an explicit value
static int ATTR_VALUE_ID
          Comparing 2 attributes with the same name but different values
static org.custommonkey.xmlunit.Difference CDATA_VALUE
          Comparing 2 CDATA sections with different values
static int CDATA_VALUE_ID
          Comparing 2 CDATA sections with different values
static org.custommonkey.xmlunit.Difference CHILD_NODELIST_LENGTH
          Comparing 2 nodes with different numbers of children
static int CHILD_NODELIST_LENGTH_ID
          Comparing 2 nodes with different numbers of children
static org.custommonkey.xmlunit.Difference CHILD_NODELIST_SEQUENCE
          Comparing 2 nodes with children whose nodes are in different sequence
static int CHILD_NODELIST_SEQUENCE_ID
          Comparing 2 nodes with children whose nodes are in different sequence
static org.custommonkey.xmlunit.Difference COMMENT_VALUE
          Comparing 2 comments with different values
static int COMMENT_VALUE_ID
          Comparing 2 comments with different values
static org.custommonkey.xmlunit.Difference DOCTYPE_NAME
          Comparing 2 document types with different names
static int DOCTYPE_NAME_ID
          Comparing 2 document types with different names
static org.custommonkey.xmlunit.Difference DOCTYPE_PUBLIC_ID
          Comparing 2 document types with different public identifiers
static int DOCTYPE_PUBLIC_ID_ID
          Comparing 2 document types with different public identifiers
static org.custommonkey.xmlunit.Difference DOCTYPE_SYSTEM_ID
          Comparing 2 document types with different system identifiers
static int DOCTYPE_SYSTEM_ID_ID
          Comparing 2 document types with different system identifiers
static org.custommonkey.xmlunit.Difference ELEMENT_NUM_ATTRIBUTES
          Comparing 2 elements with different number of attributes
static int ELEMENT_NUM_ATTRIBUTES_ID
          Comparing 2 elements with different number of attributes
static org.custommonkey.xmlunit.Difference ELEMENT_TAG_NAME
          Comparing 2 elements with different tag names
static int ELEMENT_TAG_NAME_ID
          Comparing 2 elements with different tag names
static org.custommonkey.xmlunit.Difference HAS_CHILD_NODES
          Comparing 2 nodes but only one has any children
static int HAS_CHILD_NODES_ID
          Comparing 2 nodes but only one has any children
static org.custommonkey.xmlunit.Difference HAS_DOCTYPE_DECLARATION
          Comparing 2 Documents only one of which has a doctype
static int HAS_DOCTYPE_DECLARATION_ID
          Comparing 2 Documents only one of which has a doctype
static org.custommonkey.xmlunit.Difference NAMESPACE_PREFIX
          Comparing 2 nodes with different namespace prefixes
static int NAMESPACE_PREFIX_ID
          Comparing 2 nodes with different namespace prefixes
static org.custommonkey.xmlunit.Difference NAMESPACE_URI
          Comparing 2 nodes with different namespace URIs
static int NAMESPACE_URI_ID
          Comparing 2 nodes with different namespace URIs
static org.custommonkey.xmlunit.Difference NODE_TYPE
          Comparing 2 nodes with different node types
static int NODE_TYPE_ID
          Comparing 2 nodes with different node types
static org.custommonkey.xmlunit.Difference PROCESSING_INSTRUCTION_DATA
          Comparing 2 processing instructions with different instructions
static int PROCESSING_INSTRUCTION_DATA_ID
          Comparing 2 processing instructions with different instructions
static org.custommonkey.xmlunit.Difference PROCESSING_INSTRUCTION_TARGET
          Comparing 2 processing instructions with different targets
static int PROCESSING_INSTRUCTION_TARGET_ID
          Comparing 2 processing instructions with different targets
static org.custommonkey.xmlunit.Difference TEXT_VALUE
          Comparing 2 different text values
static int TEXT_VALUE_ID
          Comparing 2 different text values
 

Field Detail

ATTR_VALUE_EXPLICITLY_SPECIFIED_ID

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

See Also:
Constant Field Values

ATTR_NAME_NOT_FOUND_ID

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

See Also:
Constant Field Values

ATTR_VALUE_ID

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

See Also:
Constant Field Values

ATTR_SEQUENCE_ID

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

See Also:
Constant Field Values

CDATA_VALUE_ID

public static final int CDATA_VALUE_ID
Comparing 2 CDATA sections with different values

See Also:
Constant Field Values

COMMENT_VALUE_ID

public static final int COMMENT_VALUE_ID
Comparing 2 comments with different values

See Also:
Constant Field Values

DOCTYPE_NAME_ID

public static final int DOCTYPE_NAME_ID
Comparing 2 document types with different names

See Also:
Constant Field Values

DOCTYPE_PUBLIC_ID_ID

public static final int DOCTYPE_PUBLIC_ID_ID
Comparing 2 document types with different public identifiers

See Also:
Constant Field Values

DOCTYPE_SYSTEM_ID_ID

public static final int DOCTYPE_SYSTEM_ID_ID
Comparing 2 document types with different system identifiers

See Also:
Constant Field Values

ELEMENT_TAG_NAME_ID

public static final int ELEMENT_TAG_NAME_ID
Comparing 2 elements with different tag names

See Also:
Constant Field Values

ELEMENT_NUM_ATTRIBUTES_ID

public static final int ELEMENT_NUM_ATTRIBUTES_ID
Comparing 2 elements with different number of attributes

See Also:
Constant Field Values

PROCESSING_INSTRUCTION_TARGET_ID

public static final int PROCESSING_INSTRUCTION_TARGET_ID
Comparing 2 processing instructions with different targets

See Also:
Constant Field Values

PROCESSING_INSTRUCTION_DATA_ID

public static final int PROCESSING_INSTRUCTION_DATA_ID
Comparing 2 processing instructions with different instructions

See Also:
Constant Field Values

TEXT_VALUE_ID

public static final int TEXT_VALUE_ID
Comparing 2 different text values

See Also:
Constant Field Values

NAMESPACE_PREFIX_ID

public static final int NAMESPACE_PREFIX_ID
Comparing 2 nodes with different namespace prefixes

See Also:
Constant Field Values

NAMESPACE_URI_ID

public static final int NAMESPACE_URI_ID
Comparing 2 nodes with different namespace URIs

See Also:
Constant Field Values

NODE_TYPE_ID

public static final int NODE_TYPE_ID
Comparing 2 nodes with different node types

See Also:
Constant Field Values

HAS_CHILD_NODES_ID

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

See Also:
Constant Field Values

CHILD_NODELIST_LENGTH_ID

public static final int CHILD_NODELIST_LENGTH_ID
Comparing 2 nodes with different numbers of children

See Also:
Constant Field Values

CHILD_NODELIST_SEQUENCE_ID

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

See Also:
Constant Field Values

HAS_DOCTYPE_DECLARATION_ID

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

See Also:
Constant Field Values

ATTR_VALUE_EXPLICITLY_SPECIFIED

public static final org.custommonkey.xmlunit.Difference ATTR_VALUE_EXPLICITLY_SPECIFIED
Comparing an implied attribute value against an explicit value


ATTR_NAME_NOT_FOUND

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


ATTR_VALUE

public static final org.custommonkey.xmlunit.Difference ATTR_VALUE
Comparing 2 attributes with the same name but different values


ATTR_SEQUENCE

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


CDATA_VALUE

public static final org.custommonkey.xmlunit.Difference CDATA_VALUE
Comparing 2 CDATA sections with different values


COMMENT_VALUE

public static final org.custommonkey.xmlunit.Difference COMMENT_VALUE
Comparing 2 comments with different values


DOCTYPE_NAME

public static final org.custommonkey.xmlunit.Difference DOCTYPE_NAME
Comparing 2 document types with different names


DOCTYPE_PUBLIC_ID

public static final org.custommonkey.xmlunit.Difference DOCTYPE_PUBLIC_ID
Comparing 2 document types with different public identifiers


DOCTYPE_SYSTEM_ID

public static final org.custommonkey.xmlunit.Difference DOCTYPE_SYSTEM_ID
Comparing 2 document types with different system identifiers


ELEMENT_TAG_NAME

public static final org.custommonkey.xmlunit.Difference ELEMENT_TAG_NAME
Comparing 2 elements with different tag names


ELEMENT_NUM_ATTRIBUTES

public static final org.custommonkey.xmlunit.Difference ELEMENT_NUM_ATTRIBUTES
Comparing 2 elements with different number of attributes


PROCESSING_INSTRUCTION_TARGET

public static final org.custommonkey.xmlunit.Difference PROCESSING_INSTRUCTION_TARGET
Comparing 2 processing instructions with different targets


PROCESSING_INSTRUCTION_DATA

public static final org.custommonkey.xmlunit.Difference PROCESSING_INSTRUCTION_DATA
Comparing 2 processing instructions with different instructions


TEXT_VALUE

public static final org.custommonkey.xmlunit.Difference TEXT_VALUE
Comparing 2 different text values


NAMESPACE_PREFIX

public static final org.custommonkey.xmlunit.Difference NAMESPACE_PREFIX
Comparing 2 nodes with different namespace prefixes


NAMESPACE_URI

public static final org.custommonkey.xmlunit.Difference NAMESPACE_URI
Comparing 2 nodes with different namespace URIs


NODE_TYPE

public static final org.custommonkey.xmlunit.Difference NODE_TYPE
Comparing 2 nodes with different node types


HAS_CHILD_NODES

public static final org.custommonkey.xmlunit.Difference HAS_CHILD_NODES
Comparing 2 nodes but only one has any children


CHILD_NODELIST_LENGTH

public static final org.custommonkey.xmlunit.Difference CHILD_NODELIST_LENGTH
Comparing 2 nodes with different numbers of children


CHILD_NODELIST_SEQUENCE

public static final org.custommonkey.xmlunit.Difference CHILD_NODELIST_SEQUENCE
Comparing 2 nodes with children whose nodes are in different sequence


HAS_DOCTYPE_DECLARATION

public static final org.custommonkey.xmlunit.Difference HAS_DOCTYPE_DECLARATION
Comparing 2 Documents only one of which has a doctype


XMLUnit is hosted by sourceforge.net