Class Field.Matcher
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.identity.XPathMatcher
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.identity.Field.Matcher
-
- Enclosing class:
- Field
protected class Field.Matcher extends XPathMatcher
Field matcher.- Author:
- Andy Clark, IBM
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
fMayMatch
A flag indicating whether the field is allowed to match a value.protected ValueStore
fStore
Value store for data values.-
Fields inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.identity.XPathMatcher
DEBUG_ALL, DEBUG_ANY, DEBUG_MATCH, DEBUG_METHODS, DEBUG_METHODS2, DEBUG_METHODS3, DEBUG_STACK, fMatchedString, MATCHED, MATCHED_ATTRIBUTE, MATCHED_DESCENDANT, MATCHED_DESCENDANT_PREVIOUS
-
-
Constructor Summary
Constructors Constructor Description Matcher(Field.XPath xpath, ValueStore store)
Constructs a field matcher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
handleContent(XSTypeDefinition type, boolean nillable, Object actualValue, short valueType, ShortList itemValueType)
protected void
matched(Object actualValue, short valueType, ShortList itemValueType, boolean isNil)
This method is called when the XPath handler matches the XPath expression.-
Methods inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.identity.XPathMatcher
endElement, isMatched, startDocumentFragment, startElement, toString
-
-
-
-
Field Detail
-
fStore
protected final ValueStore fStore
Value store for data values.
-
fMayMatch
protected boolean fMayMatch
A flag indicating whether the field is allowed to match a value.
-
-
Constructor Detail
-
Matcher
public Matcher(Field.XPath xpath, ValueStore store)
Constructs a field matcher.
-
-
Method Detail
-
matched
protected void matched(Object actualValue, short valueType, ShortList itemValueType, boolean isNil)
This method is called when the XPath handler matches the XPath expression.- Overrides:
matched
in classXPathMatcher
-
handleContent
protected void handleContent(XSTypeDefinition type, boolean nillable, Object actualValue, short valueType, ShortList itemValueType)
- Overrides:
handleContent
in classXPathMatcher
-
-