Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.ui
Interface Validator

All Known Implementing Classes:
AbstractValidator, ComparisonRangeValidator, DefaultValidator

public interface Validator

Interface for a validator. A validator validates a string. The purpose of this interface is to force each validator class to have methods: isDataValid, getDataAttributes and setDataAttributes.

See Also:
ComparisonRangeValidator

Field Summary
static String copyright
           
 
Method Summary
 Attributes getDataAttributes()
          Return DataAttributes
 boolean isDataValid(String text)
          Determine if the string is a valid string.
 void setDataAttributes(Attributes dataAttributes)
          Replace dataAttributes.
 

Field Detail

copyright

static final String copyright
See Also:
Constant Field Values
Method Detail

getDataAttributes

Attributes getDataAttributes()
Return DataAttributes

Returns:
com.ibm.etools.iseries.ui.Attributes

isDataValid

boolean isDataValid(String text)
Determine if the string is a valid string.

Parameters:
text - string to be validated.
Returns:
true or false

setDataAttributes

void setDataAttributes(Attributes dataAttributes)
                       throws PropertyVetoException
Replace dataAttributes.

Parameters:
dataAttributes - com.ibm.etools.iseries.ui.Attributes
Throws:
PropertyVetoException

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.