com.sun.msv.verifier.identity
Class FieldMatcher
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.FieldMatcher
- public class FieldMatcher
- extends PathMatcher
XPath matcher that tests one field of a key.
This object is created by a FieldsMatcher when a SelectorMathcer
finds a match to its selector. This object is responsible for finding
a match to one field of the constraint.
A field XPath may consist of "A|B|C". Each sub case A,B, and C is
tested by a child FieldPathMatcher object. This class coordinates
the work of those children and collects actual text that matches
the given XPath.
- Author:
- Kohsuke KAWAGUCHI