java.lang.Object
jakarta.faces.view.facelets.MetadataTarget
com.sun.faces.facelets.tag.MetadataTargetImpl
- Version:
- $Id$
- Author:
- Jacob Hookom
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProperty(String name) Return a beansPropertyDescriptorfor the property with name given by argumentname.getPropertyType(String name) Return aClassfor the property with name given by argumentname.getReadMethod(String name) Return aMethodfor the getter of the property with name given by argumentname.Return theClassof the metadata target.getWriteMethod(String name) Return aMethodfor the setter of the property with name given by argumentname.booleanisTargetInstanceOf(Class type) Return true if the target for this metadata element is an instance of the argumenttype.
-
Constructor Details
-
MetadataTargetImpl
- Throws:
IntrospectionException
-
-
Method Details
-
getProperty
Description copied from class:MetadataTargetReturn a beans
PropertyDescriptorfor the property with name given by argumentname.- Specified by:
getPropertyin classMetadataTarget- Parameters:
name- the name of the property for which thePropertyDescriptormust be returned.- Returns:
- the
PropertyDescriptor.
-
isTargetInstanceOf
Description copied from class:MetadataTargetReturn true if the target for this metadata element is an instance of the argument
type.- Specified by:
isTargetInstanceOfin classMetadataTarget- Parameters:
type- theClassto test for the instance of.- Returns:
- true if the type is a target instance, false otherwise.
-
getTargetClass
Description copied from class:MetadataTargetReturn the
Classof the metadata target.- Specified by:
getTargetClassin classMetadataTarget- Returns:
- the target Class.
-
getPropertyType
Description copied from class:MetadataTargetReturn a
Classfor the property with name given by argumentname.- Specified by:
getPropertyTypein classMetadataTarget- Parameters:
name- the name of the property for which theClassmust be returned.- Returns:
- the Class of the property.
-
getWriteMethod
Description copied from class:MetadataTargetReturn a
Methodfor the setter of the property with name given by argumentname.- Specified by:
getWriteMethodin classMetadataTarget- Parameters:
name- the name of the property for which theMethodmust be returned.- Returns:
- the write
Method.
-
getReadMethod
Description copied from class:MetadataTargetReturn a
Methodfor the getter of the property with name given by argumentname.- Specified by:
getReadMethodin classMetadataTarget- Parameters:
name- the name of the property for which theMethodmust be returned.- Returns:
- the read
Method.
-