org.apache.myfaces.trinidadinternal.share.xml.beans
Class BasePropertyDef

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.share.xml.beans.PropertyDef
      extended by org.apache.myfaces.trinidadinternal.share.xml.beans.BasePropertyDef
Direct Known Subclasses:
IntrospectionPropertyDef

public abstract class BasePropertyDef
extends PropertyDef

Base implementation of PropertyDef.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/share/xml/beans/BasePropertyDef.java#0 $) $Date: 10-nov-2005.18:59:17 $
Author:
The Oracle ADF Faces Team

Constructor Summary
BasePropertyDef()
           
 
Method Summary
 java.lang.Object parseText(ParseContext context, java.lang.String text)
          Parses a string into the correct Java type for this class.
 
Methods inherited from class org.apache.myfaces.trinidadinternal.share.xml.beans.PropertyDef
getName, getPropertyType, getValue, parseText, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasePropertyDef

public BasePropertyDef()
Method Detail

parseText

public java.lang.Object parseText(ParseContext context,
                                  java.lang.String text)
                           throws java.lang.IllegalArgumentException
Description copied from class: PropertyDef
Parses a string into the correct Java type for this class. The returned object must be an instance of the class returned by getPropertyType().

Specified by:
parseText in class PropertyDef
Parameters:
context - the current parsing context
text - the text of the property
Throws:
java.lang.IllegalArgumentException - if the text cannot be parsed.


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.