com.sun.msv.verifier.identity
Class SelectorMatcher

java.lang.Object
  |
  +--com.sun.msv.verifier.identity.Matcher
        |
        +--com.sun.msv.verifier.identity.MatcherBundle
              |
              +--com.sun.msv.verifier.identity.PathMatcher
                    |
                    +--com.sun.msv.verifier.identity.SelectorMatcher

public class SelectorMatcher
extends PathMatcher

XPath matcher that tests the selector of an identity constraint. This object is created whenever an element with identity constraints is found. XML Schema guarantees that we can see if an element has id constraints at the startElement method. This mathcer then monitor startElement/endElement and find matches to the specified XPath. Every time it finds a match ("target node" in XML Schema terminology), it creates a FieldsMatcher.

Author:
Kohsuke KAWAGUCHI

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait