- java.lang.Object
-
- javax.faces.view.facelets.MetadataTarget
-
public abstract class MetadataTarget extends Object
- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor and Description MetadataTarget()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description abstract PropertyDescriptor
getProperty(String name)
Return a beans
PropertyDescriptor
for the property with name given by argumentname
.abstract Class
getPropertyType(String name)
Return a
Class
for the property with name given by argumentname
.abstract Method
getReadMethod(String name)
Return a
Method
for the getter of the property with name given by argumentname
.abstract Class
getTargetClass()
Return the
Class
of the metadata target.abstract Method
getWriteMethod(String name)
Return a
Method
for the setter of the property with name given by argumentname
.abstract boolean
isTargetInstanceOf(Class type)
Return true if the target for this metadata element is an instance of the argument
type
.
-
-
-
Method Detail
-
getProperty
public abstract PropertyDescriptor getProperty(String name)
Return a beans
PropertyDescriptor
for the property with name given by argumentname
.- Parameters:
name
- the name of the property for which thePropertyDescriptor
must be returned.
-
isTargetInstanceOf
public abstract boolean isTargetInstanceOf(Class type)
Return true if the target for this metadata element is an instance of the argument
type
.- Parameters:
type
- theClass
to test for the instance of.
-
getTargetClass
public abstract Class getTargetClass()
Return the
Class
of the metadata target.
-
getPropertyType
public abstract Class getPropertyType(String name)
Return a
Class
for the property with name given by argumentname
.- Parameters:
name
- the name of the property for which theClass
must be returned.
-
getWriteMethod
public abstract Method getWriteMethod(String name)
Return a
Method
for the setter of the property with name given by argumentname
.- Parameters:
name
- the name of the property for which theMethod
must be returned.
-
-
Document created the 11/06/2005, last modified the 18/08/2025
Source of the printed document:https://www.gaudry.be/en/java-api-javaee-rf-javax/faces/view/facelets/metadatatarget.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author of this site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.