Interface GomCheckable
- All Known Implementing Classes:
AbstractGomCombobox,AbstractGomContentReferenceElement,AbstractGomDom,AbstractGomFilterEntry,AbstractGomFormElement,AbstractGomGridSelect,AbstractGomLangInfoProvider,AbstractGomSelect,AbstractGomTableTemplateElement,AbstractGomTextualFormElement,DatasetDataAccessConfiguration,DefaultGomLangInfo,DefaultGomLangInfos,GomButton,GomButtonLangInfo,GomButtonLangInfos,GomCategoryEntry,GomCheckbox,GomCombobox,GomContentAreaList,GomContentList,GomContentReferenceEntry,GomDataset,GomDataset.GomLegacyTableTemplateElement,GomDate,GomDateLangInfo,GomDateLangInfos,GomDom,GomDomTable,GomExpressionLangInfo,GomExpressionLangInfos,GomFile,GomFilterAllowEntry,GomFilterHideEntry,GomGenericParam,GomGroup,GomImageMap,GomIncludeContent,GomIncludeContent.LabelContentSource,GomIncludeOptions,GomInnerText,GomInplaceLinkConfig,GomInvalid,GomLabel,GomLabeledNameEntry,GomLabeledValueEntry,GomLabeledValueLangInfo,GomLabelExpressions.GomLabelExpression,GomLink,GomLinkList,GomListSelect,GomMediaModeInfos,GomMediaStoreFolder,GomMediaStoreRemoteProjectEntry,GomModule,GomMultipleMediaChooser,GomNamedEntry,GomNumber,GomNumberLangInfo,GomNumberLangInfos,GomObjectChooser,GomPageRef,GomParamImpl,GomPermission,GomPicture,GomQuery,GomRadiobutton,GomReference,GomScriptButtonEntry,GomSectionList,GomSiteOrMediaStoreFolder,GomSiteOrMediaStoreRemoteProjectEntry,GomStorableRemoteProjectEntry,GomStoreFolder,GomTableView,GomTabList,GomTemplateReferenceEntry,GomText,GomTextarea,GomToggle,GomTypeRestrictedTemplates,GomValueLangInfos
public interface GomCheckable
Interface for GOM elements that can be checked on syntax and semantics.
- Since:
- 4.2.14
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInterface providing access to the validation context. -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(@NotNull GomCheckable.Context context) Validate the element against the given context.voidverify()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, must not benull.- Throws:
GomValidationError- If the element is not plausible wrt. its context.- Since:
- 4.2.14
-