|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.uwyn.rife.ioc.PropertyValueTemplate
public class PropertyValueTemplate
Retrieves a property value as template instance of a particular type.
| Constructor Summary | |
|---|---|
PropertyValueTemplate(String name)
The constructor that stores the retrieval parameters. |
|
PropertyValueTemplate(String type,
String name)
The constructor that stores the retrieval parameters. |
|
| Method Summary | |
|---|---|
Template |
getValue()
Retrieves a property value. |
String |
getValueString()
Retrieves a string representation of the property value. |
boolean |
isNeglectable()
Indicates whether the value provided by this instance is neglectable in a textual context. |
boolean |
isStatic()
Indicates whether the value is statically fixed an not dynamically retrieved at runtime. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyValueTemplate(String name)
name - the template name
public PropertyValueTemplate(String type,
String name)
type - the template factory type; if this argument is null
the template type will be "enginehtml"name - the template name| Method Detail |
|---|
public Template getValue()
throws PropertyValueException
PropertyValue
getValue in interface PropertyValuenull if the property value couldn't be found
PropertyValueException - When something went wrong during the
retrieval of the property value.
public String getValueString()
throws PropertyValueException
PropertyValue
getValueString in interface PropertyValuenull if the property value couldn't be found
PropertyValueException - When something went wrong during the
retrieval of the property value.public String toString()
toString in class Objectpublic boolean isNeglectable()
PropertyValue
isNeglectable in interface PropertyValuetrue if the value is neglectable in a textual
context; or
false otherwise
public boolean isStatic()
PropertyValue
isStatic in interface PropertyValuetrue if the value is static; or
false if the value is dynamically retrieved at runtime
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||