| Returns the preferences validator instance for the given portlet
definition. If no preferences validator class is defined for the portlet
definition, null is returned. This method caches the validator instances
in the cache to ensure that only one validator instance is created per
portlet definition.
Parameters: portletDD - the portlet definition. the preferences validator if defined for the portlet definition. |