public class FieldMatcher extends PathMatcher
| Modifier and Type | Field and Description |
|---|---|
protected Matcher[] |
children
child matchers.
|
protected StringBuffer |
elementText
this field is set to non-null if it's found that an element
is matched to this XPath.
|
protected Field |
field |
protected FieldsMatcher |
parent
parent FieldsMatcher object.
|
protected Object |
value
the matched value.
|
| 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 |
onAttributeMatched(String namespaceURI,
String localName,
String value,
org.relaxng.datatype.Datatype type)
this method is called when the attribute matches the XPath.
|
protected 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 |
startElement(String namespaceURI,
String localName,
Attributes attributes) |
onAttribute, start, startElementprotected Field field
protected Object value
protected final FieldsMatcher parent
protected StringBuffer elementText
protected Matcher[] children
protected void onElementMatched(String namespaceURI, String localName) throws SAXException
onElementMatched in class PathMatcherSAXExceptionprotected void onAttributeMatched(String namespaceURI, String localName, String value, org.relaxng.datatype.Datatype type) throws SAXException
onAttributeMatched in class PathMatcherSAXExceptionprotected void startElement(String namespaceURI, String localName, Attributes attributes) throws SAXException
SAXExceptionprotected void endElement(org.relaxng.datatype.Datatype type)
throws SAXException
SAXExceptionprotected void characters(char[] buf,
int start,
int len)
throws SAXException
SAXExceptionprotected final int getDepth()
protected void onRemoved()
throws SAXException
SAXExceptionCopyright © 2016 Oracle Corporation. All Rights Reserved.