public interface VariableNameChecker
This interface defines the methods for a class that checks characters
to determine whether they're legal for a variable name that's to be
substituted by a VariableSubstituter
object. It has a single
method, legalVariableCharacter(char)
, which determines whether a
specified character is a legal part of a variable name or not. This
capability provides additional flexibility by allowing callers to define
precisely what characters constitute legal variable names.
VariableSubstituter
,
VariableDereferencer
Modifier and Type | Method and Description |
---|---|
boolean |
legalVariableCharacter(char c)
Determine whether a character may legally be used in a variable
name or not.
|
boolean legalVariableCharacter(char c)
Determine whether a character may legally be used in a variable name or not.
c
- The character to testVariableSubstituter.substitute(java.lang.String, org.clapper.util.text.VariableDereferencer, java.lang.Object)