Package com.sun.msv.verifier.identity
Class Matcher
java.lang.Object
com.sun.msv.verifier.identity.Matcher
- Direct Known Subclasses:
MatcherBundle
,PathMatcher.SinglePathMatcher
Base abstract implementation of XPath matcher.
XPath mathcer tracks the startElement event and the endElement event.
The characters event is also used by some derived classes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
characters
(char[] buf, int start, int len) protected abstract void
endElement
(org.relaxng.datatype.Datatype type) protected abstract void
onAttribute
(String namespaceURI, String localName, String value, org.relaxng.datatype.Datatype type) protected abstract void
startElement
(String namespaceURI, String localName)
-
Field Details
-
owner
-
-
Constructor Details
-
Matcher
Matcher(IDConstraintChecker owner)
-
-
Method Details
-
startElement
- Throws:
SAXException
-
onAttribute
protected abstract void onAttribute(String namespaceURI, String localName, String value, org.relaxng.datatype.Datatype type) throws SAXException - Throws:
SAXException
-
endElement
- Throws:
SAXException
-
characters
- Throws:
SAXException
-