com.sun.msv.verifier.identity
Class PathMatcher

java.lang.Object
  |
  +--com.sun.msv.verifier.identity.Matcher
        |
        +--com.sun.msv.verifier.identity.MatcherBundle
              |
              +--com.sun.msv.verifier.identity.PathMatcher
Direct Known Subclasses:
FieldMatcher, SelectorMatcher

public abstract class PathMatcher
extends com.sun.msv.verifier.identity.MatcherBundle

Base implementation of XPath matching engine. It only supports the subset defined in XML Schema Part 1. Extra care must be taken to call the testInitialMatch method after the creation of an object. Match to an attribute is not supported. It is implemented in FieldPathMatcher class. The onMatched method is called when the specified XPath matches the current element. Derived classes should implement this method to do something useful.

Author:
Kohsuke KAWAGUCHI

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