| |
|
| java.lang.Object net.sourceforge.chaperon.model.extended.Pattern net.sourceforge.chaperon.model.extended.SingleCharacter
SingleCharacter | public class SingleCharacter extends Pattern (Code) | | This class represents a pattern for a sequence of characters.
author: Stephan Michels version: CVS $Id: SingleCharacter.java,v 1.4 2004/01/07 08:28:49 benedikta Exp $ |
Constructor Summary | |
public | SingleCharacter() Creates a pattern for a character sequence. | public | SingleCharacter(char character) Creates a pattern for a character sequence. |
SingleCharacter | public SingleCharacter()(Code) | | Creates a pattern for a character sequence.
|
SingleCharacter | public SingleCharacter(char character)(Code) | | Creates a pattern for a character sequence.
Parameters: string - Character sequence. |
contains | public boolean contains(char minimum, char maximum)(Code) | | |
contains | public boolean contains(char c)(Code) | | |
getCharacter | public char getCharacter()(Code) | | Returns the sequence of characters
Seqence of characaters |
getCharacterAsString | public String getCharacterAsString()(Code) | | |
getLimits | public char[] getLimits()(Code) | | |
isNullable | public boolean isNullable()(Code) | | |
setCharacter | public void setCharacter(char character)(Code) | | Set the sequence of characters for this pattern
Parameters: string - Character sequence |
setCharacterAsString | public void setCharacterAsString(String character)(Code) | | Set the sequence of characters for this pattern
Parameters: string - Character sequence |
toString | public String toString()(Code) | | Return a string representation of this pattern
String representation of the pattern. |
validate | public Violations validate()(Code) | | Validates this pattern.
Return a list of violations, if this pattern isn't valid. |
Fields inherited from net.sourceforge.chaperon.model.extended.Pattern | final public int index(Code)(Java Doc)
|
|
|
|