/** * Delegates to getObject with Object.class as a param * * @see #getObject(FaceletContext, Class) * @param ctx * FaceletContext to use * @return Object representation of this attribute's value */ public Object getObject(FaceletContext ctx) { return this.getObject(ctx, Object.class); }
/** * Delegates to getObject with Object.class as a param * * @see #getObject(FaceletContext, Class) * @param ctx * FaceletContext to use * @return Object representation of this attribute's value */ public Object getObject(FaceletContext ctx) { return this.getObject(ctx, Object.class); }
/** * Delegates to getObject with Object.class as a param * * See #getObject(FaceletContext, Class) * @param ctx * FaceletContext to use * @return Object representation of this attribute's value */ public Object getObject(FaceletContext ctx) { return this.getObject(ctx, Object.class); }
/** * If literal, then return our value, otherwise delegate to getObject, passing String.class. * * @see #getObject(FaceletContext, Class) * @param ctx * FaceletContext to use * @return String value of this attribute */ public String getValue(FaceletContext ctx) { if ((this.capabilities & EL_LITERAL) != 0) { return this.value; } else { return (String) this.getObject(ctx, String.class); } }
/** * If literal, then return our value, otherwise delegate to getObject, passing String.class. * * @see #getObject(FaceletContext, Class) * @param ctx * FaceletContext to use * @return String value of this attribute */ public String getValue(FaceletContext ctx) { if ((this.capabilities & EL_LITERAL) != 0) { return this.value; } else { return (String) this.getObject(ctx, String.class); } }
/** * If literal, then return our value, otherwise delegate to getObject, passing String.class. * * See #getObject(FaceletContext, Class) * @param ctx * FaceletContext to use * @return String value of this attribute */ public String getValue(FaceletContext ctx) { if ((this.capabilities & EL_LITERAL) != 0) { return this.value; } else { return (String) this.getObject(ctx, String.class); } }
/** * If literal, call {@link Integer#parseInt(java.lang.String) Integer.parseInt(String)}, otherwise call * {@link #getObject(FaceletContext, Class) getObject(FaceletContext, Class)}. * * @see Integer#parseInt(java.lang.String) * @see #getObject(FaceletContext, Class) * @param ctx * FaceletContext to use * @return int value */ public int getInt(FaceletContext ctx) { if ((this.capabilities & EL_LITERAL) != 0) { return Integer.parseInt(this.value); } else { return ((Number) this.getObject(ctx, Integer.class)).intValue(); } }
/** * If literal, call {@link Integer#parseInt(java.lang.String) Integer.parseInt(String)}, otherwise call * {@link #getObject(FaceletContext, Class) getObject(FaceletContext, Class)}. * * @see Integer#parseInt(java.lang.String) * @see #getObject(FaceletContext, Class) * @param ctx * FaceletContext to use * @return int value */ public int getInt(FaceletContext ctx) { if ((this.capabilities & EL_LITERAL) != 0) { return Integer.parseInt(this.value); } else { return ((Number) this.getObject(ctx, Integer.class)).intValue(); } }
/** * If literal, call {@link Integer#parseInt(java.lang.String) Integer.parseInt(String)}, otherwise call * {@link #getObject(FaceletContext, Class) getObject(FaceletContext, Class)}. * * See Integer#parseInt(java.lang.String) * See #getObject(FaceletContext, Class) * @param ctx * FaceletContext to use * @return int value */ public int getInt(FaceletContext ctx) { if ((this.capabilities & EL_LITERAL) != 0) { return Integer.parseInt(this.value); } else { return ((Number) this.getObject(ctx, Integer.class)).intValue(); } }
/** * If literal, return {@link Boolean#getBoolean(java.lang.String) Boolean.getBoolean(java.lang.String)} passing our * value, otherwise call {@link #getObject(FaceletContext, Class) getObject(FaceletContext, Class)}. * * See Boolean#getBoolean(java.lang.String) * See #getObject(FaceletContext, Class) * @param ctx * FaceletContext to use * @return boolean value */ public boolean getBoolean(FaceletContext ctx) { if ((this.capabilities & EL_LITERAL) != 0) { return Boolean.valueOf(this.value).booleanValue(); } else { return ((Boolean) this.getObject(ctx, Boolean.class)).booleanValue(); } }
/** * If literal, return {@link Boolean#getBoolean(java.lang.String) Boolean.getBoolean(java.lang.String)} passing our * value, otherwise call {@link #getObject(FaceletContext, Class) getObject(FaceletContext, Class)}. * * @see Boolean#getBoolean(java.lang.String) * @see #getObject(FaceletContext, Class) * @param ctx * FaceletContext to use * @return boolean value */ public boolean getBoolean(FaceletContext ctx) { if ((this.capabilities & EL_LITERAL) != 0) { return Boolean.valueOf(this.value).booleanValue(); } else { return ((Boolean) this.getObject(ctx, Boolean.class)).booleanValue(); } }
/** * If literal, return {@link Boolean#getBoolean(java.lang.String) Boolean.getBoolean(java.lang.String)} passing our * value, otherwise call {@link #getObject(FaceletContext, Class) getObject(FaceletContext, Class)}. * * @see Boolean#getBoolean(java.lang.String) * @see #getObject(FaceletContext, Class) * @param ctx * FaceletContext to use * @return boolean value */ public boolean getBoolean(FaceletContext ctx) { if ((this.capabilities & EL_LITERAL) != 0) { return Boolean.valueOf(this.value).booleanValue(); } else { return ((Boolean) this.getObject(ctx, Boolean.class)).booleanValue(); } }