T
- The type returned by all members of the pipeclass InterpreterPipe<T>
extends java.lang.Object
implements com.google.gwt.uibinder.rebind.XMLElement.PostProcessingInterpreter<T>
XMLElement.Interpreter
instances.Constructor and Description |
---|
InterpreterPipe() |
Modifier and Type | Method and Description |
---|---|
void |
add(com.google.gwt.uibinder.rebind.XMLElement.Interpreter<T> i) |
T |
interpretElement(com.google.gwt.uibinder.rebind.XMLElement elem)
Interpreters are fired in the order they were handed to the constructor.
|
static <T> InterpreterPipe<T> |
newPipe(com.google.gwt.uibinder.rebind.XMLElement.Interpreter<T>... pipes) |
java.lang.String |
postProcess(java.lang.String consumedText)
Called by various
XMLElement consumeInner*() methods after all
elements have been handed to interpretElement(com.google.gwt.uibinder.rebind.XMLElement) . |
public static <T> InterpreterPipe<T> newPipe(com.google.gwt.uibinder.rebind.XMLElement.Interpreter<T>... pipes)
public void add(com.google.gwt.uibinder.rebind.XMLElement.Interpreter<T> i)
public T interpretElement(com.google.gwt.uibinder.rebind.XMLElement elem) throws UnableToCompleteException
interpretElement
in interface com.google.gwt.uibinder.rebind.XMLElement.Interpreter<T>
UnableToCompleteException
- on errorpublic java.lang.String postProcess(java.lang.String consumedText) throws UnableToCompleteException
XMLElement
consumeInner*() methods after all
elements have been handed to interpretElement(com.google.gwt.uibinder.rebind.XMLElement)
. Passes the
text to be post processed to each pipe member that is instanceof
XMLElement.PostProcessingInterpreter
.postProcess
in interface com.google.gwt.uibinder.rebind.XMLElement.PostProcessingInterpreter<T>
UnableToCompleteException