com.sun.faces.config.beans

Class ValidatorBean

    • Constructor Detail

      • ValidatorBean

        public ValidatorBean()
    • Method Detail

      • getValidatorClass

        public java.lang.String getValidatorClass()
      • setValidatorClass

        public void setValidatorClass(java.lang.String validatorClass)
      • getValidatorId

        public java.lang.String getValidatorId()
      • setValidatorId

        public void setValidatorId(java.lang.String validatorId)
      • addAttribute

        public void addAttribute(AttributeBean descriptor)
        Description copied from interface: AttributeHolder

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

        Specified by:
        addAttribute in interface AttributeHolder
        Parameters:
        descriptor - Descriptor to be added
      • getAttribute

        public AttributeBean getAttribute(java.lang.String name)
        Description copied from interface: AttributeHolder

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

        Specified by:
        getAttribute in interface AttributeHolder
        Parameters:
        name - Name of the attribute for which to retrieve a descriptor
      • getAttributes

        public AttributeBean[] getAttributes()
        Description copied from interface: AttributeHolder

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

        Specified by:
        getAttributes in interface AttributeHolder
      • removeAttribute

        public void removeAttribute(AttributeBean descriptor)
        Description copied from interface: AttributeHolder

        Deregister the specified attribute descriptor, if it is registered.

        Specified by:
        removeAttribute in interface AttributeHolder
        Parameters:
        descriptor - Descriptor to be removed
      • addProperty

        public void addProperty(PropertyBean descriptor)
        Description copied from interface: PropertyHolder

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

        Specified by:
        addProperty in interface PropertyHolder
        Parameters:
        descriptor - Descriptor to be added
      • getProperty

        public PropertyBean getProperty(java.lang.String name)
        Description copied from interface: PropertyHolder

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

        Specified by:
        getProperty in interface PropertyHolder
        Parameters:
        name - Name of the property for which to retrieve a descriptor
      • getProperties

        public PropertyBean[] getProperties()
        Description copied from interface: PropertyHolder

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

        Specified by:
        getProperties in interface PropertyHolder
      • removeProperty

        public void removeProperty(PropertyBean descriptor)
        Description copied from interface: PropertyHolder

        Deregister the specified property descriptor, if it is registered.

        Specified by:
        removeProperty in interface PropertyHolder
        Parameters:
        descriptor - Descriptor to be removed

Copyright ? 2002-2006 Sun Microsystems, Inc. All Rights Reserved.