protected boolean isSeendVariable(String id) { return id != null && super.isSeenVariable(id.toLowerCase()); }
/** * Returns a value for the given id. */ protected Value getVariable(String id, boolean bind) { // check for already constructed var if (isSeenVariable(id)) return getVariable(id); return createVariable(id, bind); }
/** * Returns a value for the given id. */ protected Value getVariable(String id, boolean bind) { // check for already constructed var if (isSeenVariable(id)) return getVariable(id); return createVariable(id, bind); }
/** * Returns a value for the given id. */ protected Value getVariable(String id, boolean bind) { // check for already constructed var if (isSeenVariable(id)) return getVariable(id); return createVariable(id, bind); }
/** * Returns a value for the given id. */ protected Value getVariable(String id, boolean bind) { // check for already constructed var if (isSeenVariable(id)) return getVariable(id); return createVariable(id, bind); }
/** * Returns a value for the given id. */ protected Value getVariable(String id, boolean bind) { // check for already constructed var if (isSeenVariable(id)) return (Value) _seenVars.get(id); // create and cache var Class type = getDeclaredVariableType(id); // add this type to the set of classes in the filter's access path ClassMetaData meta = null; if (type == null) type = TYPE_OBJECT; else meta = getMetaData(type, false); if (meta != null) _accessPath.add(meta); Value var; if (bind) var = factory.newBoundVariable(id, type); else var = factory.newUnboundVariable(id, type); var.setMetaData(meta); if (_seenVars == null) _seenVars = new HashMap(); _seenVars.put(id, var); return var; }