|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.chaperon.model.pattern.CharacterInterval
This class represents a interval of characters within a character class.
Constructor Summary | |
CharacterInterval()
Creates a interval of characters. |
Method Summary | |
java.lang.Object |
clone()
Create a clone of this pattern. |
java.lang.String |
getLocation()
Returns the location from the input source. |
char |
getMaximum()
Returns the maximum character for the interval. |
char |
getMinimum()
Returns the minimum character for the interval. |
void |
setLocation(java.lang.String location)
Set the location from the input source. |
void |
setMaximum(char maximum)
Sets the maximum character for the interval. |
void |
setMinimum(char minimum)
Sets the minimum character for the interval. |
java.lang.String |
toString()
Return a string representation of this pattern |
Violations |
validate()
Validates this pattern. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CharacterInterval()
Method Detail |
public void setMinimum(char minimum)
minimum
- Minimum character.public char getMinimum()
public void setMaximum(char maximum)
maximum
- Maximum character.public char getMaximum()
public void setLocation(java.lang.String location)
setLocation
in interface CharacterClassElement
location
- Location in the input source.public java.lang.String getLocation()
getLocation
in interface CharacterClassElement
public java.lang.String toString()
toString
in interface CharacterClassElement
public java.lang.Object clone()
java.lang.CloneNotSupportedException
- If an exception occurs during the cloning.public Violations validate()
validate
in interface CharacterClassElement
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |