|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.chaperon.model.pattern.Pattern
This class describes an abstract pattern element.
Constructor Summary | |
Pattern()
|
Method Summary | |
abstract java.lang.Object |
clone()
Create a clone this pattern. |
java.lang.String |
getLocation()
Returns the location from the input source. |
int |
getMaxOccurs()
Returns the maximum occurs property |
java.lang.String |
getMaxOccursAsString()
|
int |
getMinOccurs()
Returns the minimum occurs property |
java.lang.String |
getMinOccursAsString()
|
void |
setLocation(java.lang.String location)
Set the location from the input source. |
void |
setMaxOccurs(int maxOccurs)
Sets the maximum occurs property |
void |
setMaxOccursAsString(java.lang.String value)
|
void |
setMinOccurs(int minOccurs)
Sets the minimum occurs property |
void |
setMinOccursAsString(java.lang.String value)
|
abstract Violations |
validate()
Validates this pattern. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Pattern()
Method Detail |
public void setMinOccurs(int minOccurs)
minOccurs
- Minimum occurs propertypublic void setMinOccursAsString(java.lang.String value)
public int getMinOccurs()
public java.lang.String getMinOccursAsString()
public void setMaxOccurs(int maxOccurs)
maxOccurs
- Maximum occurs propertypublic void setMaxOccursAsString(java.lang.String value)
public int getMaxOccurs()
public java.lang.String getMaxOccursAsString()
public abstract java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
- If an exception occurs during the cloning.public void setLocation(java.lang.String location)
location
- Location in the input source.public java.lang.String getLocation()
public abstract Violations validate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |