public abstract class PathMatcher extends Matcher
Modifier and Type | Field and Description |
---|---|
protected Matcher[] |
children
child matchers.
|
Modifier | Constructor and Description |
---|---|
protected |
PathMatcher(IDConstraintChecker owner,
XPath[] paths) |
Modifier and Type | Method and Description |
---|---|
protected void |
characters(char[] buf,
int start,
int len) |
protected void |
endElement(org.relaxng.datatype.Datatype type) |
protected int |
getDepth() |
protected void |
onAttribute(String namespaceURI,
String localName,
String value,
org.relaxng.datatype.Datatype type) |
protected abstract void |
onAttributeMatched(String namespaceURI,
String localName,
String value,
org.relaxng.datatype.Datatype type)
this method is called when the attribute matches the XPath.
|
protected abstract void |
onElementMatched(String namespaceURI,
String localName)
this method is called when the element matches the XPath.
|
protected void |
onRemoved()
called when this bundle is deactivated.
|
protected void |
start(String namespaceURI,
String localName)
this method should be called immediately after the installment of this PathMatcher.
|
protected void |
startElement(String namespaceURI,
String localName) |
protected Matcher[] children
protected PathMatcher(IDConstraintChecker owner, XPath[] paths)
protected void start(String namespaceURI, String localName) throws SAXException
SAXException
protected abstract void onElementMatched(String namespaceURI, String localName) throws SAXException
SAXException
protected abstract void onAttributeMatched(String namespaceURI, String localName, String value, org.relaxng.datatype.Datatype type) throws SAXException
SAXException
protected void startElement(String namespaceURI, String localName) throws SAXException
SAXException
protected void onAttribute(String namespaceURI, String localName, String value, org.relaxng.datatype.Datatype type) throws SAXException
SAXException
protected final int getDepth()
protected void endElement(org.relaxng.datatype.Datatype type) throws SAXException
endElement
in class Matcher
SAXException
protected void characters(char[] buf, int start, int len) throws SAXException
characters
in class Matcher
SAXException
protected void onRemoved() throws SAXException
SAXException
Copyright © 2016 Oracle Corporation. All rights reserved.