| Access | Constructor and Description |
|---|---|
| protected | ContentModelAcceptor(REDocumentDeclaration docDecl, Expression exp, boolean ignoreUndeclaredAttributes)
|
| Modifier and Type | Method and Description |
|---|---|
| protected Acceptor | createAcceptor(Expression combined, Expression continuation, ElementExp[] primitives, int numPrimitives)
Implements abstract com. |
| public Object | getOwnerType()
Implements com. |
| public boolean | stepForward(Acceptor child, StringRef errRef)
Implements com.
A child acceptor created by the |
| ContentModelAcceptor | back to summary |
|---|---|
| protected ContentModelAcceptor(REDocumentDeclaration docDecl, Expression exp, boolean ignoreUndeclaredAttributes) | |
| createAcceptor | back to summary |
|---|---|
| protected Acceptor createAcceptor(Expression combined, Expression continuation, ElementExp[] primitives, int numPrimitives) Implements abstract com. creates actual Acceptor object from the computed result. | |
| getOwnerType | back to summary |
|---|---|
| public Object getOwnerType() Implements com. Doc from com. gets the "type" object for which this acceptor is working. This method is used for type assignment. Actual Java type of return value depends on the implementation.
| |
| stepForward | back to summary |
|---|---|
| public boolean stepForward(Acceptor child, StringRef errRef) 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.
| |