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, ignoreUndeclaredAttributes
STRING_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, stepForward
createChildAcceptor, diagnoseUncompletedContent, getExpression, getStringCareLevel, isAcceptState, onAttribute, onAttribute, onAttribute2, onEndAttributes, onText, onText2, stepForward, stepForwardByContinuation
public final Expression continuation
public final ElementExp owner
public SimpleAcceptor(REDocumentDeclaration docDecl, Expression combined, ElementExp owner, Expression continuation)
public final Object getOwnerType()
Acceptor
getOwnerType
in interface Acceptor
getOwnerType
in class ContentModelAcceptor
public Acceptor createClone()
Acceptor
You 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.