Top Description Fields Constructors Methods
com.sun.msv.verifier.identity

public abstract Class Matcher

extends Object
Class Inheritance
Known Direct Subclasses
com.sun.msv.verifier.identity.MatcherBundle, com.sun.msv.verifier.identity.PathMatcher.SinglePathMatcher
Imports
org.relaxng.datatype.Datatype, org.xml.sax.SAXException

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.
Author
Kohsuke KAWAGUCHI

Field Summary

Modifier and TypeField and Description
protected final IDConstraintChecker

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected void
characters(char[] buf, int start, int len)

protected abstract void
protected abstract void
onAttribute(String namespaceURI, String localName, String value, Datatype type)

protected abstract void
startElement(String namespaceURI, String localName)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ownerback to summary
protected final IDConstraintChecker owner

Constructor Detail

Matcherback to summary
pack-priv Matcher(IDConstraintChecker owner)

Method Detail

charactersback to summary
protected void characters(char[] buf, int start, int len) throws SAXException
endElementback to summary
protected abstract void endElement(Datatype type) throws SAXException
onAttributeback to summary
protected abstract void onAttribute(String namespaceURI, String localName, String value, Datatype type) throws SAXException
startElementback to summary
protected abstract void startElement(String namespaceURI, String localName) throws SAXException