public Object getAttribute(String name) { return _ctx.getAttribute(name); } public Object setAttribute(String name, Object value) {
public Binding getBinding() { return (Binding) getXelContext().getAttribute(BinderImpl.BINDING); //see BindEvaluatorXImpl#newXelContext() }
public BindContext getBindContext() { return (BindContext) getXelContext().getAttribute(BinderImpl.BINDCTX); //see BindEvaluatorXImpl#newXelContext() }
public Object getAttribute(String name) { return getXelContext().getAttribute(name); //see BindEvaluatorXImpl#newXelContext() }
public boolean ignoreTracker() { return getBinding() == null || Boolean.TRUE.equals(getXelContext().getAttribute(BinderImpl.IGNORE_TRACKER)); //see BindEvaluatorXImpl#newXelContext() }
public void putContext(@SuppressWarnings("rawtypes") Class key, Object contextObject) { // Bug fixed for ZK-2787 if (contextObject instanceof Method && key == Method.class) { BindContext bindCtx = (BindContext) getXelContext().getAttribute(BinderImpl.BINDCTX); if (bindCtx != null) { bindCtx.setAttribute(String.valueOf(key), ((Method) contextObject).getDeclaredAnnotations()); } } super.putContext(key, contextObject); } }