| |
|
| java.lang.Object net.sourceforge.chaperon.model.pattern.CharacterSet
CharacterSet | public class CharacterSet implements CharacterClassElement(Code) | | This represents a set of characters within a character class.
author: Stephan Michels version: CVS $Id: CharacterSet.java,v 1.6 2003/12/09 19:55:52 benedikta Exp $ |
Constructor Summary | |
public | CharacterSet() Creates set of characters. |
CharacterSet | public CharacterSet()(Code) | | Creates set of characters.
|
getCharacters | public String getCharacters()(Code) | | Returns the to comparing characters
To comparing characters |
getLocation | public String getLocation()(Code) | | Returns the location from the input source.
Location in the input source. |
setCharacters | public void setCharacters(String set)(Code) | | Set the set of characters.
Parameters: set - Set of characters. |
setLocation | public void setLocation(String location)(Code) | | Set the location from the input source.
Parameters: location - Location in the input source. |
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. |
|
|
|