Package com.sun.msv.verifier.identity
Class Matcher
- java.lang.Object
-
- com.sun.msv.verifier.identity.Matcher
-
- Direct Known Subclasses:
FieldsMatcher,PathMatcher
public abstract class Matcher extends Object
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
Fields Modifier and Type Field Description protected IDConstraintCheckerowner
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidcharacters(char[] buf, int start, int len)protected abstract voidendElement(org.relaxng.datatype.Datatype type)protected abstract voidonAttribute(String namespaceURI, String localName, String value, org.relaxng.datatype.Datatype type)protected abstract voidstartElement(String namespaceURI, String localName)
-
-
-
Field Detail
-
owner
protected final IDConstraintChecker owner
-
-
Method Detail
-
startElement
protected abstract void startElement(String namespaceURI, String localName) throws SAXException
- Throws:
SAXException
-
onAttribute
protected abstract void onAttribute(String namespaceURI, String localName, String value, org.relaxng.datatype.Datatype type) throws SAXException
- Throws:
SAXException
-
endElement
protected abstract void endElement(org.relaxng.datatype.Datatype type) throws SAXException- Throws:
SAXException
-
characters
protected void characters(char[] buf, int start, int len) throws SAXException- Throws:
SAXException
-
-