Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.sun.msv.verifier.regexp.ExpressionAcceptor
com.sun.msv.verifier.regexp.ContentModelAcceptor
com.sun.msv.verifier.regexp.SimpleAcceptor
public class SimpleAcceptor
extends ContentModelAcceptor
Field Summary | |
Expression |
|
ElementExp |
|
Fields inherited from interface com.sun.msv.verifier.Acceptor | |
STRING_IGNORE , STRING_PROHIBITED , STRING_STRICT |
Constructor Summary | |
|
Method Summary | |
Acceptor | |
Object |
Methods inherited from class com.sun.msv.verifier.regexp.ContentModelAcceptor | |
getOwnerType , stepForward |
Methods inherited from class com.sun.msv.verifier.regexp.ExpressionAcceptor | |
createChildAcceptor , getExpression , getStringCareLevel , isAcceptState , onAttribute , onAttribute2 , onEndAttributes , onText , onText2 , stepForwardByContinuation |
public final Expression continuation
the expression that should be used by the parent acceptor once if this acceptor is satisfied. This field can be null. In that case, the continuation has to be computed.
public final ElementExp owner
ElementExp that accepted the start tag. This acceptor is verifying the content model of this ElementExp. This value is usually non-null, but can be null when Verifier is recovering from eariler errors. null owner means this acceptor is "synthesized" just for proper error recovery, therefor there is no owner element expression.
public SimpleAcceptor(REDocumentDeclaration docDecl, Expression combined, ElementExp owner, Expression continuation)
public final Object getOwnerType()
- Specified by:
- getOwnerType in interface Acceptor
- Overrides:
- getOwnerType in interface ContentModelAcceptor