org.zkoss.zkmax.bind.impl
Class AnnotateBinderEx

java.lang.Object
  extended by org.zkoss.bind.impl.BinderImpl
      extended by org.zkoss.bind.AnnotateBinder
          extended by org.zkoss.zkmax.bind.impl.AnnotateBinderEx
All Implemented Interfaces:
java.io.Serializable, Binder, BinderCtrl

public class AnnotateBinderEx
extends AnnotateBinder

For ZK-2289, much less memory consumption

Since:
7.0.3
Author:
henrichen, jumperchen
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.zkoss.bind.Binder
ACCESS, CONVERTER, LOAD_EVENT, LOAD_REPLACEMENT, LOAD_TYPE, RENDERER, SAVE_EVENT, SAVE_REPLACEMENT, VALIDATOR, ZKBIND
 
Fields inherited from interface org.zkoss.bind.sys.BinderCtrl
ACTIVATOR, BINDCTX, BINDER, BINDING, BINDRENDERING, CHILDREN_ATTR, CHILDREN_BINDING_MODEL, CHILDREN_BINDING_MODEL_LISTENER, CHILDREN_BINDING_RENDERED_COMPONENTS, DEFAULT_QUEUE_NAME, DEFAULT_QUEUE_SCOPE, DEPENDS_ON_COMP, FORM_ID, IGNORE_REF_VALUE, IGNORE_TRACKER, INVALIDATE_REF_VALUE, LOAD_FORM_COMPONENT, LOAD_FORM_EXPRESSION, MODEL, NOTIFYS, ON_BIND_CLEAN, ON_BIND_INIT, PHASE_LISTENER_CLASS_KEY, RENDERER_INSTALLED, SAVE_BASE, SRCPATH, VALIDATES, VAR, VM
 
Constructor Summary
AnnotateBinderEx(java.lang.String qname, java.lang.String qscope)
           
 
Method Summary
 java.util.Map<Component,java.lang.Boolean> getLookupComponentCache()
          Internal implementation use only.
 void initAnnotatedBindings()
          This method will parse Zul component's annotation that user declared and call Binder's addBindings series methods to initiate binder's internal binding syntax trees, which then will cooperate with context(for look up variables) and be used by Binder's EL engine while BinderImpl.loadComponent(Component, boolean) or Command been triggered.
 
Methods inherited from class org.zkoss.bind.AnnotateBinder
init
 
Methods inherited from class org.zkoss.bind.impl.BinderImpl
addChildrenInitBinding, addChildrenInitBinding, addChildrenLoadBindings, addChildrenLoadBindings, addCommandBinding, addFormAssociatedSaveBinding, addFormInitBinding, addFormLoadBindings, addFormSaveBindings, addGlobalCommandBinding, addPhaseListener, addPropertyInitBinding, addPropertyLoadBindings, addPropertySaveBindings, addReferenceBinding, addSaveFormFieldName, addSaveFormFieldName, checkInit, createParamCall, getBindingAnnotationInfoChecker, getBindingExecutionInfoCollector, getBindings, getConverter, getDynamicAttrs, getEvaluatorX, getEventQueue, getForm, getFormAssociatedSaveBindings, getLoadPromptBindings, getPhaseListener, getPhaseListeners, getQueueName, getQueueScope, getRenderer, getSaveFormFieldNames, getTemplateResolver, getTracker, getValidationMessages, getValidator, getView, getViewModel, hasValidator, init, isActivating, loadComponent, newCommandBinding, newInitChildrenBinding, newInitFormBinding, newInitPropertyBinding, newLoadChildrenBinding, newLoadFormBinding, newLoadPropertyBinding, newSaveFormBinding, newSavePropertyBinding, notifyChange, postCommand, removeBindings, removeBindings, removeBindings, removeSaveFormFieldNames, sendCommand, setDynamicAttrs, setPhaseListener, setTemplate, setValidationMessages, setViewModel, storeForm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotateBinderEx

public AnnotateBinderEx(java.lang.String qname,
                        java.lang.String qscope)
Method Detail

initAnnotatedBindings

public void initAnnotatedBindings()
Description copied from class: AnnotateBinder
This method will parse Zul component's annotation that user declared and call Binder's addBindings series methods to initiate binder's internal binding syntax trees, which then will cooperate with context(for look up variables) and be used by Binder's EL engine while BinderImpl.loadComponent(Component, boolean) or Command been triggered.

Overrides:
initAnnotatedBindings in class AnnotateBinder

getLookupComponentCache

public java.util.Map<Component,java.lang.Boolean> getLookupComponentCache()
Internal implementation use only.

Since:
8.0.0


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo