Package com.sun.faces.facelets.tag
Class MetadataTargetImpl
java.lang.Object
jakarta.faces.view.facelets.MetadataTarget
com.sun.faces.facelets.tag.MetadataTargetImpl
- Version:
- $Id$
- Author:
- Jacob Hookom
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetProperty
(String name) Return a beansPropertyDescriptor
for the property with name given by argumentname
.getPropertyType
(String name) Return aClass
for the property with name given by argumentname
.getReadMethod
(String name) Return aMethod
for the getter of the property with name given by argumentname
.Return theClass
of the metadata target.getWriteMethod
(String name) Return aMethod
for the setter of the property with name given by argumentname
.boolean
isTargetInstanceOf
(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:MetadataTarget
Return a beans
PropertyDescriptor
for the property with name given by argumentname
.- Specified by:
getProperty
in classMetadataTarget
- Parameters:
name
- the name of the property for which thePropertyDescriptor
must be returned.- Returns:
- the
PropertyDescriptor
.
-
isTargetInstanceOf
Description copied from class:MetadataTarget
Return true if the target for this metadata element is an instance of the argument
type
.- Specified by:
isTargetInstanceOf
in classMetadataTarget
- Parameters:
type
- theClass
to test for the instance of.- Returns:
- true if the type is a target instance, false otherwise.
-
getTargetClass
Description copied from class:MetadataTarget
Return the
Class
of the metadata target.- Specified by:
getTargetClass
in classMetadataTarget
- Returns:
- the target Class.
-
getPropertyType
Description copied from class:MetadataTarget
Return a
Class
for the property with name given by argumentname
.- Specified by:
getPropertyType
in classMetadataTarget
- Parameters:
name
- the name of the property for which theClass
must be returned.- Returns:
- the Class of the property.
-
getWriteMethod
Description copied from class:MetadataTarget
Return a
Method
for the setter of the property with name given by argumentname
.- Specified by:
getWriteMethod
in classMetadataTarget
- Parameters:
name
- the name of the property for which theMethod
must be returned.- Returns:
- the write
Method
.
-
getReadMethod
Description copied from class:MetadataTarget
Return a
Method
for the getter of the property with name given by argumentname
.- Specified by:
getReadMethod
in classMetadataTarget
- Parameters:
name
- the name of the property for which theMethod
must be returned.- Returns:
- the read
Method
.
-