org.apache.xerces.impl.xs.identity

Class Field.Matcher

Enclosing Class:
Field

protected class Field.Matcher
extends XPathMatcher

Field matcher.
Author:
Andy Clark, IBM

Field Summary

protected FieldActivator
fFieldActivator
Field activator.
protected ValueStore
fStore
Value store for data values.

Fields inherited from class org.apache.xerces.impl.xs.identity.XPathMatcher

DEBUG_ALL, DEBUG_ANY, DEBUG_MATCH, DEBUG_METHODS, DEBUG_METHODS2, DEBUG_METHODS3, DEBUG_STACK, MATCHED, MATCHED_ATTRIBUTE, MATCHED_DESCENDANT, MATCHED_DESCENDANT_PREVIOUS, fMatchedString

Constructor Summary

Matcher(Field.XPath xpath, FieldActivator activator, ValueStore store)
Constructs a field matcher.

Method Summary

protected void
handleContent(org.apache.xerces.xs.XSTypeDefinition type, boolean nillable, Object actualValue, short valueType, org.apache.xerces.xs.ShortList itemValueType)
protected void
matched(Object actualValue, short valueType, org.apache.xerces.xs.ShortList itemValueType, boolean isNil)
This method is called when the XPath handler matches the XPath expression.

Methods inherited from class org.apache.xerces.impl.xs.identity.XPathMatcher

endElement, handleContent, isMatched, matched, startDocumentFragment, startElement, toString

Field Details

fFieldActivator

protected FieldActivator fFieldActivator
Field activator.

fStore

protected ValueStore fStore
Value store for data values.

Constructor Details

Matcher

public Matcher(Field.XPath xpath,
               FieldActivator activator,
               ValueStore store)
Constructs a field matcher.

Method Details

handleContent

protected void handleContent(org.apache.xerces.xs.XSTypeDefinition type,
                             boolean nillable,
                             Object actualValue,
                             short valueType,
                             org.apache.xerces.xs.ShortList itemValueType)
Overrides:
handleContent in interface XPathMatcher

matched

protected void matched(Object actualValue,
                       short valueType,
                       org.apache.xerces.xs.ShortList itemValueType,
                       boolean isNil)
This method is called when the XPath handler matches the XPath expression.
Overrides:
matched in interface XPathMatcher

Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.