Class ValidatorHelper
java.lang.Object
com.ptc.core.meta.container.common.ValidatorHelper
The ValidatorHelper is an application independent class that needs to
create application-specific classes. It does so indirectly through an
instance of the ValidatorFactory class.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionstatic ActionValidatorgetValidator(String class_name) Returns an ActionValidator interface for the validator specified in the parameter list.static AttributeContainerSpecgetValidatorFilter(String class_name, TypeIdentifier type_identifier) Returns an AttributeTypeIdentifier array with all the AttributeTypeIdentifiers the validator depends upon.
-
Method Details
-
getValidatorFilter
public static AttributeContainerSpec getValidatorFilter(String class_name, TypeIdentifier type_identifier) throws ClassNotFoundException Returns an AttributeTypeIdentifier array with all the AttributeTypeIdentifiers the validator depends upon.
Supported API: true- Parameters:
class_name- validator.class.getName() The path of the validator object the factory is to create.type_identifier- Used to get the DefinitionIdentifier for constructing the AttributeTypeIdentifier- Returns:
- AttributeContainerSpec
- Throws:
ClassNotFoundException
-
getValidator
Returns an ActionValidator interface for the validator specified in the parameter list.
Supported API: true- Parameters:
class_name- class_name validator.class.getName() The path of the validator object the factory is to create.- Returns:
- ActionValidator
- Throws:
ClassNotFoundException
-