|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.msv.verifier.identity.Matcher
com.sun.msv.verifier.identity.FieldsMatcher
public class FieldsMatcher
Coordinator of FieldMatcher. This object is created when SelectorMatcher finds a match. This object then creates FieldMatcher for each field, and let them find their field matchs. When leaving the element that matched the selector, it collects field values and registers a key value to IDConstraintChecker.
Depending on the type of the constraint, it works differently.
Field Summary | |
---|---|
protected Matcher[] |
children
child matchers. |
protected SelectorMatcher |
selector
the parent SelectorMatcher. |
protected Locator |
startTag
location of the start tag. |
Fields inherited from class com.sun.msv.verifier.identity.Matcher |
---|
owner |
Constructor Summary | |
---|---|
protected |
FieldsMatcher(SelectorMatcher selector,
String namespaceURI,
String localName)
|
Method Summary | |
---|---|
protected void |
characters(char[] buf,
int start,
int len)
|
protected void |
endElement(Datatype type)
|
protected int |
getDepth()
|
protected void |
onAttribute(String namespaceURI,
String localName,
String value,
Datatype type)
|
protected void |
onRemoved()
called when this bundle is deactivated. |
protected void |
startElement(String namespaceURI,
String localName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final Locator startTag
protected final SelectorMatcher selector
protected Matcher[] children
Constructor Detail |
---|
protected FieldsMatcher(SelectorMatcher selector, String namespaceURI, String localName) throws SAXException
SAXException
Method Detail |
---|
protected void onRemoved() throws SAXException
SAXException
protected final int getDepth()
protected void startElement(String namespaceURI, String localName) throws SAXException
startElement
in class Matcher
SAXException
protected void onAttribute(String namespaceURI, String localName, String value, Datatype type) throws SAXException
onAttribute
in class Matcher
SAXException
protected void endElement(Datatype type) throws SAXException
endElement
in class Matcher
SAXException
protected void characters(char[] buf, int start, int len) throws SAXException
characters
in class Matcher
SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |