| |
|
| java.lang.Object net.sourceforge.chaperon.model.pattern.Pattern net.sourceforge.chaperon.model.pattern.CharacterString
CharacterString | public class CharacterString extends Pattern (Code) | | This class represents a pattern for a sequence of characters.
author: Stephan Michels version: CVS $Id: CharacterString.java,v 1.6 2003/12/09 19:55:52 benedikta Exp $ |
CharacterString | public CharacterString()(Code) | | Creates a pattern for a character sequence.
|
CharacterString | public CharacterString(String string)(Code) | | Creates a pattern for a character sequence.
Parameters: string - Character sequence. |
getString | public String getString()(Code) | | Returns the sequence of characters
Seqence of characaters |
setString | public void setString(String string)(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. |
|
|
|