Class GomInnerText
java.lang.Object
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
de.espirit.firstspirit.access.store.templatestore.gom.GomInnerText
- All Implemented Interfaces:
GomCheckable,GomElement,Serializable
- Direct Known Subclasses:
GomDataset.GomLegacyTableTemplateElement,GomParamImpl
GOM definition for an inner text.
- Since:
- 4.2
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomCheckable
GomCheckable.Context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturn the default tag for a gom element.getText()Returns the inner text.voidSets the inner text.voidvalidate(GomCheckable.Context context) Validate the element against the given context.voidverify()Verify the element to be fulfill its syntactic constraints.static GomInnerTextCreates a new instance with the given textMethods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
-
Constructor Details
-
GomInnerText
public GomInnerText()
-
-
Method Details
-
with
Creates a new instance with the given text- Since:
- 4.2
-
getDefaultTag
Description copied from class:AbstractGomElementReturn the default tag for a gom element.- Specified by:
getDefaultTagin classAbstractGomElement- Returns:
- The elements default tag.
-
getText
Returns the inner text.- Since:
- 4.2
-
setText
Sets the inner text.- Since:
- 4.2
-
verify
Description copied from interface:GomCheckableVerify the element to be fulfill its syntactic constraints.- Specified by:
verifyin interfaceGomCheckable- Throws:
IllegalStateException- If the element is not correctly set up.
-
validate
Description copied from interface:GomCheckableValidate the element against the given context.- Specified by:
validatein interfaceGomCheckable- Parameters:
context- The context to validate for, must not benull.- Throws:
GomValidationError- If the element is not plausible wrt. its context.
-