Class GomComment
java.lang.Object
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
de.espirit.firstspirit.access.store.templatestore.gom.GomComment
- All Implemented Interfaces:
GomElement,GomEmbeddedXml,GomHideable,Serializable
@NonExtendable
public class GomComment
extends AbstractGomElement
implements GomEmbeddedXml, GomHideable
GOM comment definition.
- Since:
- 4.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturn the default tag for a gom element.Get the XML to be embedded for the elementbooleanIndicates the GOM element having a UI representation.booleanisHidden()Indicator for hidden elements.voidsetEmbeddedXml(String xml) Set the given XML as element contentMethods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
getGomElementTag, getIncludeConfiguration, setGomElementTag, setIncludeConfigurationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomElement
getGomElementTag, getIncludeConfiguration, setGomElementTag, setIncludeConfiguration
-
Field Details
-
TAG
The tag of this component- Since:
- 4.0
- See Also:
-
-
Constructor Details
-
GomComment
public GomComment()
-
-
Method Details
-
getDefaultTag
Description copied from class:AbstractGomElementReturn the default tag for a gom element.- Specified by:
getDefaultTagin classAbstractGomElement- Returns:
- The elements default tag.
-
getEmbeddedXml
Description copied from interface:GomEmbeddedXmlGet the XML to be embedded for the element- Specified by:
getEmbeddedXmlin interfaceGomEmbeddedXml- Returns:
- The XML to embed
-
setEmbeddedXml
Description copied from interface:GomEmbeddedXmlSet the given XML as element content- Specified by:
setEmbeddedXmlin interfaceGomEmbeddedXml- Parameters:
xml- The embedded XML- Throws:
ParsingError- If the XML could not be processed by the embeddee
-
hasRepresentation
public boolean hasRepresentation()Description copied from class:AbstractGomElementIndicates the GOM element having a UI representation.- Specified by:
hasRepresentationin interfaceGomElement- Overrides:
hasRepresentationin classAbstractGomElement- Returns:
true, if it has a representation.
-
isHidden
public boolean isHidden()Description copied from interface:GomHideableIndicator for hidden elements.- Specified by:
isHiddenin interfaceGomHideable- Returns:
true, if the element should be hidden.
-