|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.msv.verifier.regexp.ExpressionAcceptor | +--com.sun.msv.verifier.regexp.ContentModelAcceptor
base implementation for SimpleAcceptor and ComplexAcceptor
Fields inherited from interface com.sun.msv.verifier.Acceptor |
STRING_IGNORE, STRING_PROHIBITED, STRING_STRICT |
Method Summary | |
Object |
getOwnerType()
gets the "type" object for which this acceptor is working. |
boolean |
stepForward(Acceptor child,
StringRef errRef)
eats a child element |
Methods inherited from class com.sun.msv.verifier.regexp.ExpressionAcceptor |
createChildAcceptor, getExpression, getStringCareLevel, isAcceptState, onAttribute, onEndAttributes, onText, stepForwardByContinuation |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sun.msv.verifier.Acceptor |
createClone |
Method Detail |
public boolean stepForward(Acceptor child, StringRef errRef)
Acceptor
A child acceptor created by the createChildAcceptor
method
will be ultimately consumed by the parent through this method.
It is the caller's responsibility to make sure that child acceptor is in the accept state. If it's not, that indicates that some required elements are missing (in other words, contents are not allowed to end here).
It is the callee's responsibility to recover from error of unsatisified child acceptor. That is, even if the caller finds that there are missing elements, it is possible to call this method as if there was no such error.
com.sun.msv.verifier.Acceptor
public Object getOwnerType()
Acceptor
com.sun.msv.verifier.Acceptor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |