|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.share.xml.beans.PropertyDef
Class for defining a bean property to the parser engine.
=-=AEW Should more of these take a ParseContext? Is there a way we can get around needing the ParseContext at all?
Constructor Summary | |
PropertyDef()
Creates a PropertyDef. |
Method Summary | |
abstract java.lang.String |
getName()
|
abstract java.lang.Class |
getPropertyType()
Returns the property type to which all non-null values of this property must be assignable. |
abstract java.lang.Object |
getValue(ParseContext context,
java.lang.Object bean)
Retrieves the value of this property from the bean. |
abstract java.lang.Object |
parseText(ParseContext context,
java.lang.String text)
Parses a string into the correct Java type for this class. |
abstract void |
setValue(ParseContext context,
java.lang.Object bean,
java.lang.Object value)
Stores a value of this property on the bean. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PropertyDef()
Method Detail |
public abstract java.lang.String getName()
public abstract java.lang.Object getValue(ParseContext context, java.lang.Object bean)
public abstract void setValue(ParseContext context, java.lang.Object bean, java.lang.Object value)
public abstract java.lang.Class getPropertyType()
public abstract java.lang.Object parseText(ParseContext context, java.lang.String text) throws java.lang.IllegalArgumentException
context
- the current parsing contexttext
- the text of the propertyjava.lang.IllegalArgumentException
- if the text cannot
be parsed.
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |