public class MetadataTargetImpl
extends javax.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)
javax.faces.view.facelets.MetadataTargetReturn a beans
PropertyDescriptor for the property with name given by
argument name.
getProperty in class javax.faces.view.facelets.MetadataTargetname - the name of the property for which the
PropertyDescriptor must be returned.PropertyDescriptor.public boolean isTargetInstanceOf(Class type)
javax.faces.view.facelets.MetadataTargetReturn true if the target for this metadata
element is an instance of the argument type.
isTargetInstanceOf in class javax.faces.view.facelets.MetadataTargettype - the Class to test for the instance of.public Class getTargetClass()
javax.faces.view.facelets.MetadataTargetReturn the Class of the
metadata target.
getTargetClass in class javax.faces.view.facelets.MetadataTargetpublic Class getPropertyType(String name)
javax.faces.view.facelets.MetadataTargetReturn a Class for the property
with name given by argument name.
getPropertyType in class javax.faces.view.facelets.MetadataTargetname - the name of the property for which the Class
must be returned.public Method getWriteMethod(String name)
javax.faces.view.facelets.MetadataTargetReturn a Method for the setter
of the property with name given by argument name.
getWriteMethod in class javax.faces.view.facelets.MetadataTargetname - the name of the property for which the Method
must be returned.Method.public Method getReadMethod(String name)
javax.faces.view.facelets.MetadataTargetReturn a Method for the getter
of the property with name given by argument name.
getReadMethod in class javax.faces.view.facelets.MetadataTargetname - the name of the property for which the Method
must be returned.Method.Copyright © 2010–2018 JBoss by Red Hat. All rights reserved.