Package de.hsh.graja.util.comment
Class AbstractElementContent
- java.lang.Object
-
- de.hsh.graja.util.comment.Content
-
- de.hsh.graja.util.comment.AbstractElementContent
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Anchor
,DiffComment
,HtmlFormattedContent
,Image
,Inline
,Newline
,Verbatim
public abstract class AbstractElementContent extends Content
This is the base class of all contents that represent an element in a sequence of contents. An element is the opposite of a sequence.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.hsh.graja.util.comment.Content
EXCLUSIVE, renderUuid
-
-
Constructor Summary
Constructors Constructor Description AbstractElementContent(String idPrefix, IncludeSpec includeSpec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<Content>
getNestedContents()
-
Methods inherited from class de.hsh.graja.util.comment.Content
click, disableCallerStacktraceRecording, enableCallerStacktraceRecording, equals, excludeGlobally, getIncludeSpec, getRenderUuid, getStackdump, hashCode, hide, include, isCallerStacktraceRecordingEnabled, isHidden, isShowing, onClick, onClick, onHide, onHide, onLoad, onLoad, onShow, onShow, registerCallable, renderHtml, renderHtml, renderHtmlImpl, renderIdAttribute, renderJavascriptOncePerClass, renderOnClickAttribute, renderPlain, renderPlain, renderPlainImpl, setGlobalIncludeInfo, setHref, setIncludeSpec, show, toString, toString
-
-
-
-
Constructor Detail
-
AbstractElementContent
public AbstractElementContent(String idPrefix, IncludeSpec includeSpec)
- See Also:
Content(String, IncludeSpec)
-
-
Method Detail
-
getNestedContents
public Iterable<Content> getNestedContents()
- Specified by:
getNestedContents
in classContent
- Returns:
- the set of contents nested in this content. Nested contents can be list items in a List, elements in a Sequence, elements in a Grid, elements in a Paragraph, and so on. If this is a leaf content, the returned set is empty.
- See Also:
Content.getNestedContents()
-
-