public ELCacheableTextVariable(ValueExpression ve) { super(ve.getExpressionString()); this.ve = ve; boolean compositeComponentExpression = CompositeComponentELUtils.isCompositeComponentExpression(ve.getExpressionString()); boolean resourceExpression = ResourceELUtils.isResourceExpression(ve.getExpressionString()); this.capabilities = (compositeComponentExpression ? EL_CC : 0) | ( resourceExpression ? EL_RESOURCE : 0); }
public TagAttributeImpl(Location location, String ns, String localName, String qName, String value) { boolean literal; boolean compositeComponentExpression; boolean compositeComponentAttrMethodExpression; this.location = location; this.namespace = ns; this.localName = localName; this.qName = qName; this.value = value; try { literal = ELText.isLiteral(this.value); } catch (ELException e) { throw new TagAttributeException(this, e); } compositeComponentExpression = !literal ? CompositeComponentELUtils.isCompositeComponentExpression(this.value) : false; compositeComponentAttrMethodExpression = compositeComponentExpression ? CompositeComponentELUtils.isCompositeComponentAttrsMethodExpression(this.value) : false; this.capabilities = (literal ? EL_LITERAL : 0) | (compositeComponentExpression ? EL_CC : 0) | (compositeComponentAttrMethodExpression ? EL_CC_ATTR_ME : 0); }
public EventHandler (TagConfig tagConfig) { super (tagConfig); listener = getRequiredAttribute("listener"); if (!listener.isLiteral()) { listenerIsCompositeComponentME = CompositeComponentELUtils.isCompositeComponentExpression(listener.getValue()); } else { listenerIsCompositeComponentME = false; } type = getRequiredAttribute("type"); }
CompositeComponentELUtils.isCompositeComponentExpression(this.value) : false; compositeComponentAttrMethodExpression = compositeComponentExpression ?
public TagAttributeImpl(Location location, String ns, String localName, String qName, String value) { boolean literal; boolean compositeComponentExpression; boolean compositeComponentAttrMethodExpression; boolean resourceExpression; this.location = location; this.namespace = ns; this.localName = localName; this.qName = qName; this.value = value; try { literal = ELText.isLiteral(this.value); } catch (ELException e) { throw new TagAttributeException(this, e); } compositeComponentExpression = !literal ? CompositeComponentELUtils.isCompositeComponentExpression(this.value) : false; compositeComponentAttrMethodExpression = compositeComponentExpression ? CompositeComponentELUtils.isCompositeComponentAttrsMethodExpression(this.value) : false; resourceExpression = !literal ? ResourceELUtils.isResourceExpression(this.value) : false; this.capabilities = (literal ? EL_LITERAL : 0) | (compositeComponentExpression ? EL_CC : 0) | (compositeComponentAttrMethodExpression ? EL_CC_ATTR_ME : 0) | ( resourceExpression ? EL_RESOURCE : 0); }