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
Copyright © 2001-2003 Sun Microsystems, Inc. Documenation generated April 28 2005.