T - The typeC - the context typepublic abstract class AbstractReader<T,C> extends ReaderWriterBase<T> implements Reader<T>, HasModelReadHandler<T,C>
handlerManager, idMap, logger| Constructor and Description |
|---|
AbstractReader() |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addModelReadHandler(ModelReadHandler<T,C> handler) |
void |
fireEvent(com.google.gwt.event.shared.GwtEvent<?> event) |
T |
idRef(String id)
Returns the reference for the specified identifier or
null
if no reference was found. |
protected abstract T |
newModel(C context) |
protected abstract T |
readId(C context) |
protected abstract T |
readIdRefs(C context,
T model) |
protected abstract T |
readProperties(C context,
T model) |
public com.google.gwt.event.shared.HandlerRegistration addModelReadHandler(ModelReadHandler<T,C> handler)
addModelReadHandler in interface HasModelReadHandler<T,C>public void fireEvent(com.google.gwt.event.shared.GwtEvent<?> event)
fireEvent in interface com.google.gwt.event.shared.HasHandlerspublic T idRef(String id)
Readernull
if no reference was found.Copyright © 2012 Harald Pehl. All Rights Reserved.