com.sun.msv.verifier.identity
Class SelectorMatcher

java.lang.Object
  extended by com.sun.msv.verifier.identity.Matcher
      extended by com.sun.msv.verifier.identity.PathMatcher
          extended by 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

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