Package org.apache.xerces.impl.xs
Class XMLSchemaValidator.XPathMatcherStack
java.lang.Object
org.apache.xerces.impl.xs.XMLSchemaValidator.XPathMatcherStack
- Enclosing class:
XMLSchemaValidator
Stack of XPath matchers for identity constraints.
- Author:
- Andy Clark, IBM
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IntStackOffset stack for contexts.protected XPathMatcher[]Active matchers.protected intCount of active matchers. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMatcher(XPathMatcher matcher) Adds a matcher.voidclear()Resets the XPath matcher stack.getMatcherAt(int index) Returns the XPath matcher at the specified index.intReturns the count of XPath matchers.voidPops a context off of the stack.voidPushes a new context onto the stack.intsize()Returns the size of the stack.
-
Field Details
-
fMatchers
Active matchers. -
fMatchersCount
protected int fMatchersCountCount of active matchers. -
fContextStack
Offset stack for contexts.
-
-
Constructor Details
-
XPathMatcherStack
public XPathMatcherStack()
-
-
Method Details
-
clear
public void clear()Resets the XPath matcher stack. -
size
public int size()Returns the size of the stack. -
getMatcherCount
public int getMatcherCount()Returns the count of XPath matchers. -
addMatcher
Adds a matcher. -
getMatcherAt
Returns the XPath matcher at the specified index. -
pushContext
public void pushContext()Pushes a new context onto the stack. -
popContext
public void popContext()Pops a context off of the stack.
-