Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.wizards.validator
Class ValidatorDSpecName

java.lang.Object
  extended by ValidatorSpecialChar
      extended by com.ibm.etools.iseries.edit.wizards.validator.ValidatorFieldType
          extended by com.ibm.etools.iseries.edit.wizards.validator.ValidatorDSpecName

public class ValidatorDSpecName
extends ValidatorFieldType


Field Summary
 
Fields inherited from class com.ibm.etools.iseries.edit.wizards.validator.ValidatorFieldType
Copyright, FIELDTYPE_INVALID_CHARS, FIELDTYPE_MAXLENGTH_NAME, reservedPage, reservedWordsForDate
 
Constructor Summary
ValidatorDSpecName(boolean emptyAllowed, String specialChars)
          Constructor override the errormessages of superclass
ValidatorDSpecName(String specialChars)
           
 
Method Summary
 String isValid(String text)
          Validate each character.
 void setEmptyAllowed(boolean allowed)
           
 
Methods inherited from class com.ibm.etools.iseries.edit.wizards.validator.ValidatorFieldType
doMessageSubstitution, followNamingRule, getMaximumNameLength, isEmptyAllowed, isReserved, isReservedForDate, isReservedForPage, isSyntaxOk, isValidChar, setFunctionAllowed, setReservedAllowed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatorDSpecName

public ValidatorDSpecName(String specialChars)

ValidatorDSpecName

public ValidatorDSpecName(boolean emptyAllowed,
                          String specialChars)
Constructor override the errormessages of superclass

Method Detail

setEmptyAllowed

public void setEmptyAllowed(boolean allowed)
Overrides:
setEmptyAllowed in class ValidatorFieldType

isValid

public String isValid(String text)
Description copied from class: ValidatorFieldType
Validate each character.

Overrides:
isValid in class ValidatorFieldType

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.