com.ibm.etools.iseries.edit.wizards.validator
Class ValidatorConstantValue
java.lang.Object
ValidatorSpecialChar
com.ibm.etools.iseries.edit.wizards.validator.ValidatorFieldType
com.ibm.etools.iseries.edit.wizards.validator.ValidatorConstantValue
public class ValidatorConstantValue
- extends ValidatorFieldType
Methods inherited from class com.ibm.etools.iseries.edit.wizards.validator.ValidatorFieldType |
doMessageSubstitution, getMaximumNameLength, isEmptyAllowed, isReserved, isReservedForDate, isReservedForPage, isValid, isValidChar, setEmptyAllowed, setFunctionAllowed, setReservedAllowed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidatorConstantValue
public ValidatorConstantValue(String specialChars)
ValidatorConstantValue
public ValidatorConstantValue(boolean emptyAllowed,
String specialChars)
- Constructor override the errormessages of superclass
isSyntaxOk
public SystemMessage isSyntaxOk(String newText)
- Description copied from class:
ValidatorFieldType
- We could do additional syntax checking here if we decide to.
This method is called by parent class if all other error checking passes.
- Overrides:
isSyntaxOk
in class ValidatorFieldType
followNamingRule
protected boolean followNamingRule(String text)
- Overrides:
followNamingRule
in class ValidatorFieldType
isUnfinishedLiteral
public boolean isUnfinishedLiteral(String text)
- Determines whether or not the string starts off as a literal.
Used to determine whether or not to quote the string.
- Parameters:
text
- The text to check
- Returns:
- True if the string starts off as a literal, false otherwise.
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.