com.sun.msv.verifier.identity
Class SelectorMatcher

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



Copyright © 2001-2003 Sun Microsystems, Inc. Documenation generated April 28 2005.