Class FieldsMatcher


public class FieldsMatcher extends MatcherBundle
Coordinator of FieldMatcher. This object is created when SelectorMatcher finds a match. This object then creates FieldMatcher for each field, and let them find their field matchs. When leaving the element that matched the selector, it collects field values and registers a key value to IDConstraintChecker.

Depending on the type of the constraint, it works differently.

  • Field Details

    • startTag

      protected final Locator startTag
      location of the start tag. It is usually preferable as a source of error.
    • selector

      protected final SelectorMatcher selector
      the parent SelectorMatcher.
  • Constructor Details

  • Method Details

    • onRemoved

      protected void onRemoved() throws SAXException
      Description copied from class: MatcherBundle
      called when this bundle is deactivated. This method is called by the endElement method when this bundle is removed. A derived class can override this method to do whatever necessary.
      Overrides:
      onRemoved in class MatcherBundle
      Throws:
      SAXException