public class MetadataTargetImpl
extends jakarta.faces.view.facelets.MetadataTarget
| Constructor and Description |
|---|
MetadataTargetImpl(Class type) |
| Modifier and Type | Method and Description |
|---|---|
PropertyDescriptor |
getProperty(String name)
Return a beans |
Class |
getPropertyType(String name)
Return a |
Method |
getReadMethod(String name)
Return a |
Class |
getTargetClass()
Return the |
Method |
getWriteMethod(String name)
Return a |
boolean |
isTargetInstanceOf(Class type)
Return true if the target for this metadata element is an instance of the argument |
public MetadataTargetImpl(Class type) throws IntrospectionException
IntrospectionExceptionpublic PropertyDescriptor getProperty(String name)
jakarta.faces.view.facelets.MetadataTarget
Return a beans PropertyDescriptor for the property with name given by argument name.
getProperty in class jakarta.faces.view.facelets.MetadataTargetname - the name of the property for which the PropertyDescriptor must be returned.PropertyDescriptor.public boolean isTargetInstanceOf(Class type)
jakarta.faces.view.facelets.MetadataTarget
Return true if the target for this metadata element is an instance of the argument type.
isTargetInstanceOf in class jakarta.faces.view.facelets.MetadataTargettype - the Class to test for the instance of.public Class getTargetClass()
jakarta.faces.view.facelets.MetadataTarget
Return the Class of the metadata target.
getTargetClass in class jakarta.faces.view.facelets.MetadataTargetpublic Class getPropertyType(String name)
jakarta.faces.view.facelets.MetadataTarget
Return a Class for the property with name given by argument name.
getPropertyType in class jakarta.faces.view.facelets.MetadataTargetname - the name of the property for which the Class must be returned.public Method getWriteMethod(String name)
jakarta.faces.view.facelets.MetadataTarget
Return a Method for the setter of the property with name given by argument name.
getWriteMethod in class jakarta.faces.view.facelets.MetadataTargetname - the name of the property for which the Method must be returned.Method.public Method getReadMethod(String name)
jakarta.faces.view.facelets.MetadataTarget
Return a Method for the getter of the property with name given by argument name.
getReadMethod in class jakarta.faces.view.facelets.MetadataTargetname - the name of the property for which the Method must be returned.Method.Copyright © 2010–2022 JBoss by Red Hat. All rights reserved.