AcceptorXSAcceptorpublic class SimpleAcceptor extends ContentModelAcceptor
| Modifier and Type | Field | 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.
|
STRING_IGNORE, STRING_PROHIBITED, STRING_STRICTdocDecl, ignoreUndeclaredAttributes| Constructor | Description |
|---|---|
SimpleAcceptor(REDocumentDeclaration docDecl,
Expression combined,
ElementExp owner,
Expression continuation) |
| Modifier and Type | Method | 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 © 2019 Oracle Corporation. All rights reserved.