Class StringToDocumentConverter
java.lang.Object
org.netbeans.validation.api.conversion.Converter<String,Document>
org.netbeans.validation.api.conversion.swing.StringToDocumentConverter
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StringToDocumentConverter
public StringToDocumentConverter()
-
-
Method Details
-
convert
Description copied from class:ConverterCreate aValidatorfor typeTofrom a validator for typeFrom. For example, a converter that is a factory for Validators ofjavax.swing.text.Documents from a validator that only handles Strings may be created. (Convert would simply return a Validatorthat wraps the Validator . At validation time it will first call Document.getText(), and then pass the result to the wrapped Validator ).
-