| |
|
| java.lang.Object net.sourceforge.chaperon.model.extended.Pattern net.sourceforge.chaperon.model.extended.CharacterClass
CharacterClass | public class CharacterClass extends Pattern (Code) | | This class describes a pattern for a character class, which means the a character matches
against a element of this class.
author: Stephan Michels version: CVS $Id: CharacterClass.java,v 1.8 2004/01/07 08:28:49 benedikta Exp $ |
Constructor Summary | |
public | CharacterClass() Creates a pattern for a character class. |
CharacterClass | public CharacterClass()(Code) | | Creates a pattern for a character class.
|
contains | public boolean contains(char minimum, char maximum)(Code) | | |
contains | public boolean contains(char c)(Code) | | |
getCharacterIntervalCount | public int getCharacterIntervalCount()(Code) | | |
getLimits | public char[] getLimits()(Code) | | |
getSingleCharacterCount | public int getSingleCharacterCount()(Code) | | |
isExclusive | public boolean isExclusive()(Code) | | If this character class is exclusive
If the character class should be exclusive. |
isNullable | public boolean isNullable()(Code) | | |
setExclusive | public void setExclusive(boolean exclusive)(Code) | | If the comparing character must match to the elements, or should not match to the elements.
Parameters: exclusive - If the character class should be exclusive. |
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)
|
|
|
|