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 IntStack
Offset stack for contexts.protected XPathMatcher[]
Active matchers.protected int
Count of active matchers. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMatcher
(XPathMatcher matcher) Adds a matcher.void
clear()
Resets the XPath matcher stack.getMatcherAt
(int index) Returns the XPath matcher at the specified index.int
Returns the count of XPath matchers.void
Pops a context off of the stack.void
Pushes a new context onto the stack.int
size()
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.
-