|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.uniba.euromath.document.schema.BaseRule
sk.uniba.euromath.document.schema.AttributeRule
public class AttributeRule
Wraps the IAttributeRuleP instance.
| Method Summary | |
|---|---|
boolean |
acceptsSomething()
Checks, whether this value rule accepts any non-empty string. |
boolean |
acceptsValue(String value)
Checks whether this textual rule can contain given value. |
String |
getDatatypeName()
Returns human-readable name for the datatype, that is represented by this instance. |
String |
getErrorMessage(String value)
Compose and return an error message, why given value was not accepted. |
| Methods inherited from class sk.uniba.euromath.document.schema.BaseRule |
|---|
valueOf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean acceptsValue(String value)
value - value to check.
public String getDatatypeName()
public boolean acceptsSomething()
public String getErrorMessage(String value)
value - the value
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||