Mojarra JSF Tools 2.1.28.SP9

com.sun.faces.config.beans
Interface PropertyHolder

All Known Implementing Classes:
ComponentBean, ConverterBean, ValidatorBean

public interface PropertyHolder

Interface denoting a configuration bean that stores a named collection of properties.


Method Summary
 void addProperty(PropertyBean descriptor)
          Add the specified property descriptor, replacing any existing descriptor for this property name.
 PropertyBean[] getProperties()
          Return the descriptors of all properties for which descriptors have been registered, or an empty array if none have been registered.
 PropertyBean getProperty(String name)
          Return the property descriptor for the specified property name, if any; otherwise, return null.
 void removeProperty(PropertyBean descriptor)
          Deregister the specified property descriptor, if it is registered.
 

Method Detail

addProperty

void addProperty(PropertyBean descriptor)

Add the specified property descriptor, replacing any existing descriptor for this property name.

Parameters:
descriptor - Descriptor to be added

getProperty

PropertyBean getProperty(String name)

Return the property descriptor for the specified property name, if any; otherwise, return null.

Parameters:
name - Name of the property for which to retrieve a descriptor

getProperties

PropertyBean[] getProperties()

Return the descriptors of all properties for which descriptors have been registered, or an empty array if none have been registered.


removeProperty

void removeProperty(PropertyBean descriptor)

Deregister the specified property descriptor, if it is registered.

Parameters:
descriptor - Descriptor to be removed

Mojarra JSF Tools 2.1.28.SP9

Copyright © 2016 JBoss by Red Hat. All Rights Reserved.