|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.apache.xerces.validators.schema.identity.XPathMatcher | +--org.enhydra.apache.xerces.validators.schema.identity.Selector.Matcher
Selector matcher.
Field Summary | |
protected int |
fElementDepth
Element depth. |
protected FieldActivator |
fFieldActivator
Field activator. |
protected int |
fMatchedDepth
Depth at match. |
Fields inherited from class org.enhydra.apache.xerces.validators.schema.identity.XPathMatcher |
DEBUG_ALL, DEBUG_ANY, DEBUG_MATCH, DEBUG_METHODS, DEBUG_METHODS2, DEBUG_METHODS3, DEBUG_STACK, fIDConstraint, fNamespacesScope, fStringPool |
Constructor Summary | |
Selector.Matcher(Selector.XPath xpath,
FieldActivator activator)
Constructs a selector matcher. |
Method Summary | |
void |
endElement(QName element,
int elemIndex,
SchemaGrammar grammar)
The end of an element. |
void |
startDocumentFragment(StringPool stringPool)
The start of the document fragment. |
void |
startElement(QName element,
XMLAttrList attributes,
int handle,
int elemIndex,
SchemaGrammar grammar)
The start of an element. |
Methods inherited from class org.enhydra.apache.xerces.validators.schema.identity.XPathMatcher |
characters, endDocumentFragment, getIDConstraint, getIsSelector, getMatchedString, 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 fElementDepth
protected int fMatchedDepth
Constructor Detail |
public Selector.Matcher(Selector.XPath xpath, FieldActivator activator)
Method Detail |
public void startDocumentFragment(StringPool stringPool) throws java.lang.Exception
XPathMatcher
startDocumentFragment
in class XPathMatcher
java.lang.Exception
public void startElement(QName element, XMLAttrList attributes, int handle, int elemIndex, SchemaGrammar grammar) throws java.lang.Exception
startElement
in class XPathMatcher
element
- The name of the element.attributes
- The element attributes.
SAXException
- Thrown by handler to signal an error.
java.lang.Exception
public void endElement(QName element, int elemIndex, SchemaGrammar grammar) throws java.lang.Exception
XPathMatcher
endElement
in class XPathMatcher
element
- The name of the element.
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |