Package org.apache.xerces.impl.xs
Class XMLSchemaValidator.XPathMatcherStack
- java.lang.Object
-
- org.apache.xerces.impl.xs.XMLSchemaValidator.XPathMatcherStack
-
- Enclosing class:
- XMLSchemaValidator
protected static class XMLSchemaValidator.XPathMatcherStack extends java.lang.ObjectStack of XPath matchers for identity constraints.- Author:
- Andy Clark, IBM
-
-
Field Summary
Fields Modifier and Type Field Description protected IntStackfContextStackOffset stack for contexts.protected XPathMatcher[]fMatchersActive matchers.protected intfMatchersCountCount of active matchers.
-
Constructor Summary
Constructors Constructor Description XPathMatcherStack()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMatcher(XPathMatcher matcher)Adds a matcher.voidclear()Resets the XPath matcher stack.XPathMatchergetMatcherAt(int index)Returns the XPath matcher at the specified index.intgetMatcherCount()Returns the count of XPath matchers.voidpopContext()Pops a context off of the stack.voidpushContext()Pushes a new context onto the stack.intsize()Returns the size of the stack.
-
-
-
Field Detail
-
fMatchers
protected XPathMatcher[] fMatchers
Active matchers.
-
fMatchersCount
protected int fMatchersCount
Count of active matchers.
-
fContextStack
protected IntStack fContextStack
Offset stack for contexts.
-
-
Method Detail
-
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
public void addMatcher(XPathMatcher matcher)
Adds a matcher.
-
getMatcherAt
public XPathMatcher getMatcherAt(int index)
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.
-
-