public interface TypeProcessor
TypeContext. Applies the
chain-of-responsibility pattern. After the last processor has finished, all
properties must be resolved (references and an id are optional).
Implementations can choose which information they add to the
TypeContext and hand over to the next processor to add further info.
| Modifier and Type | Method and Description |
|---|---|
TypeProcessor |
getNext() |
boolean |
hasNext() |
void |
process(TypeContext context)
Processes the context and adds information about properties, references
or an id.
|
void |
setNext(TypeProcessor processor)
Sets the next processor
|
void process(TypeContext context) throws com.google.gwt.core.ext.UnableToCompleteException
context - com.google.gwt.core.ext.UnableToCompleteExceptionTypeProcessor getNext()
void setNext(TypeProcessor processor)
processor - boolean hasNext()
true if there's a next processor, false
otherwise.Copyright © 2012 Harald Pehl. All Rights Reserved.