| Modifier and Type | Field and Description |
|---|---|
| protected final Expression[] |
| Access | Constructor and Description |
|---|---|
| public | ComplexAcceptorBaseImpl(REDocumentDeclaration docDecl, Expression combined, Expression[] contents, boolean ignoreUndeclaredAttributes)
|
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | onAttribute(AttributeToken token, StringRef refErr)
Overrides com. |
| public boolean | onEndAttributes(StartTagInfo
This information is used to produce the error message if that is
necessary. sti, StringRef In case of an error, this object will receive the localized error
message. Null is a valid value for this parameter.
The implementation must provide some kind of message. refErr)Overrides com. Implements com. |
| public final boolean | onText2(String literal, IDContextProvider2
an object that provides context information necessary to validate
some datatypes. context, StringRef if this parameter is non-null, the implementation should
try to detect the reason of error and recover from it.
and this object should have the error message as its str field. refErr, DatatypeRef if this parameter is non-null and the callee supports
type-assignment, the callee will assign the DataType object
to this variable.
Caller must initialize refType.type to null before calling this method.
If the callee doesn't support type-assignment or type-assignment
is impossible for this literal (possibly by ambiguous grammar),
this variable must kept null. refType)Overrides com. Implements com. |
| public final boolean | stepForward(Acceptor child, StringRef errRef)
Overrides com. Implements com.
A child acceptor created by the |
| contents | back to summary |
|---|---|
| protected final Expression[] contents | |
| ComplexAcceptorBaseImpl | back to summary |
|---|---|
| public ComplexAcceptorBaseImpl(REDocumentDeclaration docDecl, Expression combined, Expression[] contents, boolean ignoreUndeclaredAttributes) | |
| onAttribute | back to summary |
|---|---|
| protected boolean onAttribute(AttributeToken token, StringRef refErr) Overrides com. | |
| onEndAttributes | back to summary |
|---|---|
| public boolean onEndAttributes(StartTagInfo sti, StringRef refErr) Overrides com. Implements com. Doc from com. notifies the end of attributes.
This method needs to be called after the An error at this method typically indicates that some required attributes are missing.
| |
| onText2 | back to summary |
|---|---|
| public final boolean onText2(String literal, IDContextProvider2 context, StringRef refErr, DatatypeRef refType) Overrides com. Implements com. eats string literal
| |
| stepForward | back to summary |
|---|---|
| public final boolean stepForward(Acceptor child, StringRef errRef) Overrides com. Implements com. Doc from com. eats a child element
A child acceptor created by the It is the caller's responsibility to make sure that child acceptor is in the accept state. If it's not, that indicates that some required elements are missing (in other words, contents are not allowed to end here). It is the callee's responsibility to recover from error of unsatisified child acceptor. That is, even if the caller finds that there are missing elements, it is possible to call this method as if there was no such error.
| |