|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xerces.impl.xs.identity.XPathMatcher
org.apache.xerces.impl.xs.identity.Selector.Matcher
Selector matcher.
Field Summary | |
---|---|
protected int |
fElementDepth
Element depth. |
protected FieldActivator |
fFieldActivator
Field activator. |
protected int |
fInitialDepth
Initial depth in the document at which this matcher was created. |
protected int |
fMatchedDepth
Depth at match. |
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, fMatchedString, MATCHED, MATCHED_ATTRIBUTE, MATCHED_DESCENDANT, MATCHED_DESCENDANT_PREVIOUS |
Constructor Summary | |
---|---|
Selector.Matcher(Selector.XPath xpath,
FieldActivator activator,
int initialDepth)
Constructs a selector matcher. |
Method Summary | |
---|---|
void |
endElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xs.XSTypeDefinition type,
boolean nillable,
java.lang.Object actualValue)
|
IdentityConstraint |
getIdentityConstraint()
Returns the identity constraint. |
int |
getInitialDepth()
get the initial depth at which this selector matched. |
void |
startDocumentFragment()
The start of the document fragment. |
void |
startElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.XMLAttributes attributes)
The start of an element. |
Methods inherited from class org.apache.xerces.impl.xs.identity.XPathMatcher |
---|
handleContent, isMatched, matched, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected FieldActivator fFieldActivator
protected int fInitialDepth
protected int fElementDepth
protected int fMatchedDepth
Constructor Detail |
public Selector.Matcher(Selector.XPath xpath, FieldActivator activator, int initialDepth)
Method Detail |
public void startDocumentFragment()
XPathMatcher
startDocumentFragment
in class XPathMatcher
public void startElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attributes)
startElement
in class XPathMatcher
element
- The name of the element.attributes
- The element attributes.public void endElement(org.apache.xerces.xni.QName element, org.apache.xerces.xs.XSTypeDefinition type, boolean nillable, java.lang.Object actualValue)
endElement
in class XPathMatcher
element
- - nametype
- - typeactualValue
- - actual valuepublic IdentityConstraint getIdentityConstraint()
public int getInitialDepth()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |