Interface GomCheckable
- All Known Implementing Classes:
AbstractGomFormElement
,AbstractGomLangInfoProvider
,DefaultGomLangInfo
,DefaultGomLangInfos
,GomLabeledValueEntry
public interface GomCheckable
Interface for GOM elements that can be checked on syntax and semantics.
- Since:
- 4.2.14
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Interface providing access to the validation context. -
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(GomCheckable.Context context) Validate the element against the given context.void
verify()
Verify the element to be fulfill its syntactic constraints.
-
Method Details
-
verify
Verify the element to be fulfill its syntactic constraints.- Throws:
IllegalStateException
- If the element is not correctly set up.- Since:
- 4.2.14
-
validate
Validate the element against the given context.- Parameters:
context
- The context to validate for.- Throws:
GomValidationError
- If the element is not plausible wrt. its context.- Since:
- 4.2.14
-