protected static class XSValidatorHelper.XPathMatcherStack
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected IntStack |
fContextStack
Offset stack for contexts.
|
protected XPathMatcher[] |
fMatchers
Active matchers.
|
protected int |
fMatchersCount
Count of active matchers.
|
| Constructor and Description |
|---|
XSValidatorHelper.XPathMatcherStack() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMatcher(XPathMatcher matcher)
Adds a matcher.
|
void |
clear()
Resets the XPath matcher stack.
|
XPathMatcher |
getMatcherAt(int index)
Returns the XPath matcher at the specified index.
|
int |
getMatcherCount()
Returns the count of XPath matchers.
|
void |
popContext()
Pops a context off of the stack.
|
void |
pushContext()
Pushes a new context onto the stack.
|
int |
size()
Returns the size of the stack.
|
protected XPathMatcher[] fMatchers
protected int fMatchersCount
protected IntStack fContextStack
public void clear()
public int size()
public int getMatcherCount()
public void addMatcher(XPathMatcher matcher)
public XPathMatcher getMatcherAt(int index)
public void pushContext()
public void popContext()