public class FieldMatcher extends PathMatcher
| Modifier and Type | Field and Description |
|---|---|
protected Matcher[] |
children
child matchers.
|
protected java.lang.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 java.lang.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(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String value,
org.relaxng.datatype.Datatype type)
this method is called when the attribute matches the XPath.
|
protected void |
onElementMatched(java.lang.String namespaceURI,
java.lang.String localName)
this method is called when the element matches the XPath.
|
protected void |
onRemoved()
called when this bundle is deactivated.
|
protected void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attributes) |
onAttribute, start, startElementprotected Field field
protected java.lang.Object value
protected final FieldsMatcher parent
protected java.lang.StringBuffer elementText
protected Matcher[] children
protected void onElementMatched(java.lang.String namespaceURI,
java.lang.String localName)
throws org.xml.sax.SAXException
onElementMatched in class PathMatcherorg.xml.sax.SAXExceptionprotected void onAttributeMatched(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String value,
org.relaxng.datatype.Datatype type)
throws org.xml.sax.SAXException
onAttributeMatched in class PathMatcherorg.xml.sax.SAXExceptionprotected void startElement(java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attributes)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionprotected void endElement(org.relaxng.datatype.Datatype type)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionprotected void characters(char[] buf,
int start,
int len)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionprotected final int getDepth()
protected void onRemoved()
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionMSV