|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.uwyn.rife.ioc.PropertyValueParticipant
public class PropertyValueParticipant
Retrieves a property value as an object from a participant.
| Constructor Summary | |
|---|---|
PropertyValueParticipant(String name,
PropertyValue key)
The constructor that stores the retrieval parameters. |
|
| Method Summary | |
|---|---|
Object |
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 PropertyValueParticipant(String name,
PropertyValue key)
name - the participant's namekey - the key that will be used to look up the participant's
object| Method Detail |
|---|
public Object 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 | |||||||||