public final class ComplexAcceptor extends ComplexAcceptorBaseImpl
| Modifier and Type | Field and Description |
|---|---|
ElementExp[] |
owners
each item of this array should be considered as read-only.
|
contentsdocDecl, ignoreUndeclaredAttributesSTRING_IGNORE, STRING_PROHIBITED, STRING_STRICT| Constructor and Description |
|---|
ComplexAcceptor(REDocumentDeclaration docDecl,
Expression combined,
ElementExp[] primitives) |
ComplexAcceptor(REDocumentDeclaration docDecl,
Expression combined,
Expression[] contentModels,
ElementExp[] owners) |
| Modifier and Type | Method and Description |
|---|---|
Acceptor |
createClone()
clones this acceptor.
|
ElementExp[] |
getSatisfiedOwners()
collects satisfied ElementExps.
|
onAttribute, onEndAttributes, onText2, stepForwardcreateAcceptor, getOwnerTypecreateChildAcceptor, diagnoseUncompletedContent, getExpression, getStringCareLevel, isAcceptState, onAttribute, onAttribute2, onText, stepForward, stepForwardByContinuationpublic final ElementExp[] owners
public ComplexAcceptor(REDocumentDeclaration docDecl, Expression combined, ElementExp[] primitives)
public ComplexAcceptor(REDocumentDeclaration docDecl, Expression combined, Expression[] contentModels, ElementExp[] owners)
public 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.
public final ElementExp[] getSatisfiedOwners()
Copyright © 2014 Oracle Corporation. All Rights Reserved.