|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.chaperon.model.pattern.CharacterSet
This represents a set of characters within a character class.
| Constructor Summary | |
CharacterSet()
Creates set of characters. |
|
| Method Summary | |
java.lang.Object |
clone()
Create a clone of this pattern. |
java.lang.String |
getCharacterAsCode()
|
java.lang.String |
getCharacters()
Returns the to comparing characters |
java.lang.String |
getLocation()
Returns the location from the input source. |
void |
setCharacterAsCode(java.lang.String code)
|
void |
setCharacters(java.lang.String set)
Set the set of characters. |
void |
setLocation(java.lang.String location)
Set the location from the input source. |
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 CharacterSet()
| Method Detail |
public void setCharacters(java.lang.String set)
set - Set of characters.public void setCharacterAsCode(java.lang.String code)
public java.lang.String getCharacters()
public java.lang.String getCharacterAsCode()
public void setLocation(java.lang.String location)
setLocation in interface CharacterClassElementlocation - Location in the input source.public java.lang.String getLocation()
getLocation in interface CharacterClassElementpublic java.lang.String toString()
toString in interface CharacterClassElementpublic 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 | ||||||||