| Modifier and Type | Field and Description |
|---|---|
| protected StringBuffer | elementText
this field is set to non-null if it's found that an element is matched to this XPath. |
| protected Field | |
| protected final FieldsMatcher | parent
parent FieldsMatcher object. |
| protected Object | value
the matched value. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected void | characters(char[] buf, int start, int len)
Overrides com. |
| private void | |
| protected void | |
| protected void | onAttributeMatched(String namespaceURI, String localName, String value, Datatype type)
Implements abstract com. |
| protected void | onElementMatched(String namespaceURI, String localName)
Implements abstract com. |
| private void | |
| protected void |
| elementText | back to summary |
|---|---|
| protected StringBuffer elementText this field is set to non-null if it's found that an element is matched to this XPath. This field is then used to collect the contents of the matched element until it encounters the endElement method. | |
| field | back to summary |
|---|---|
| protected Field field | |
| parent | back to summary |
|---|---|
| protected final FieldsMatcher parent parent FieldsMatcher object. | |
| value | back to summary |
|---|---|
| protected Object value the matched value. If this field is null, then it means nothing is matched yet. | |
| FieldMatcher | back to summary |
|---|---|
| pack-priv FieldMatcher(FieldsMatcher parent, Field field, String namespaceURI, String localName) throws SAXException | |
| characters | back to summary |
|---|---|
| protected void characters(char[] buf, int start, int len) throws SAXException Overrides com. | |
| doubleMatchError | back to summary |
|---|---|
| private void doubleMatchError() throws SAXException this field matches more than once. | |
| endElement | back to summary |
|---|---|
| protected void endElement(Datatype type) throws SAXException Overrides com. | |
| onAttributeMatched | back to summary |
|---|---|
| protected void onAttributeMatched(String namespaceURI, String localName, String value, Datatype type) throws SAXException Implements abstract com. this method is called when the attribute matches the XPath. | |
| onElementMatched | back to summary |
|---|---|
| protected void onElementMatched(String namespaceURI, String localName) throws SAXException Implements abstract com. this method is called when the element matches the XPath. | |
| setValue | back to summary |
|---|---|
| private void setValue(String lexical, Datatype type) throws SAXException sets the value field. | |
| startElement | back to summary |
|---|---|
| protected void startElement(String namespaceURI, String localName, Attributes attributes) throws SAXException | |