Class IgnorePlaceholderHandler

  • All Implemented Interfaces:
    PlaceholderHandler

    public class IgnorePlaceholderHandler
    extends java.lang.Object
    implements PlaceholderHandler
    Handler for the "ignore" placeholder keyword.

    This class and the whole module are considered experimental and any API may change between releases of XMLUnit.

    Text nodes or attributes containing ${xmlunit.ignore} will be ignored.

    Since:
    2.6.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ComparisonResult evaluate​(java.lang.String testText)
      Evaluate the test value when control contained the placeholder handled by this class.
      java.lang.String getKeyword()
      The placeholder keyword this handler is responsible for.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PLACEHOLDER_NAME_IGNORE

        private static final java.lang.String PLACEHOLDER_NAME_IGNORE
        See Also:
        Constant Field Values
    • Constructor Detail

      • IgnorePlaceholderHandler

        public IgnorePlaceholderHandler()