public class SimpleAcceptor extends ContentModelAcceptor
| Modifier and Type | Field and Description |
|---|---|
Expression |
continuation
the expression that should be used by the parent acceptor
once if this acceptor is satisfied.
|
ElementExp |
owner
ElementExp that accepted the start tag.
|
docDecl, ignoreUndeclaredAttributesSTRING_IGNORE, STRING_PROHIBITED, STRING_STRICT| Constructor and Description |
|---|
SimpleAcceptor(REDocumentDeclaration docDecl,
Expression combined,
ElementExp owner,
Expression continuation) |
| Modifier and Type | Method and Description |
|---|---|
Acceptor |
createClone()
clones this acceptor.
|
Object |
getOwnerType()
gets the "type" object for which this acceptor is working.
|
createAcceptor, stepForwardcreateChildAcceptor, diagnoseUncompletedContent, getExpression, getStringCareLevel, isAcceptState, onAttribute, onAttribute, onAttribute2, onEndAttributes, onText, onText2, stepForward, stepForwardByContinuationpublic final Expression continuation
public final ElementExp owner
public SimpleAcceptor(REDocumentDeclaration docDecl, Expression combined, ElementExp owner, Expression continuation)
public final Object getOwnerType()
AcceptorgetOwnerType in interface AcceptorgetOwnerType in class ContentModelAcceptorpublic Acceptor createClone()
AcceptorYou can keep a "bookmark" of the acceptor by cloning it. This is useful when you are trying to perform "partial validation".
Cloned acceptor will behave in exactly the same way as the original one.
Copyright © 2016 Oracle Corporation. All Rights Reserved.