Class BaseNodeItemContainerHierarchical<I extends io.github.mmm.code.api.item.CodeItem>
java.lang.Object
io.github.mmm.code.base.item.BaseItem
io.github.mmm.code.base.item.BaseMutableItem
io.github.mmm.code.base.node.BaseNodeItem
io.github.mmm.code.base.node.BaseNodeItemContainer<I>
io.github.mmm.code.base.node.BaseNodeItemContainerHierarchical<I>
- Type Parameters:
I- the type of the containedCodeItem.
- All Implemented Interfaces:
io.github.mmm.code.api.CodeWithContext, io.github.mmm.code.api.item.CodeItem, io.github.mmm.code.api.item.CodeMutableItem, io.github.mmm.code.api.node.CodeNode, io.github.mmm.code.api.node.CodeNodeContainer<I>, io.github.mmm.code.api.node.CodeNodeItem, io.github.mmm.code.api.node.CodeNodeItemContainer<I>, io.github.mmm.code.api.node.CodeNodeItemContainerHierarchical<I>, io.github.mmm.code.api.object.CodeMutable, Iterable<I>
- Direct Known Subclasses:
BaseAnnotations, BaseSuperTypes
public abstract class BaseNodeItemContainerHierarchical<I extends io.github.mmm.code.api.item.CodeItem>
extends BaseNodeItemContainer<I>
implements io.github.mmm.code.api.node.CodeNodeItemContainerHierarchical<I>
Base implementation of
CodeNodeItemContainerHierarchical.- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
Field Summary
Fields inherited from interface io.github.mmm.code.api.item.CodeItem
DEFAULT_INDENT, DEFAULT_NEWLINE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedThe constructor.BaseNodeItemContainerHierarchical(BaseNodeItemContainerHierarchical<I> template, io.github.mmm.code.api.copy.CodeCopyMapper mapper) The copy-constructor. -
Method Summary
Methods inherited from class BaseNodeItemContainer
add, addInternal, clear, doSetImmutable, ensureParent, getByName, getDeclared, getItemCopyType, getKey, getList, getMap, isKeepListView, isNamed, isSystemImmutable, remove, renameMethods inherited from class BaseNodeItem
doInitialize, getContainerItem, getContainerItemDeclared, getContext, getLanguage, getSource, toPathStringMethods inherited from class BaseMutableItem
doCopyNode, doCopyNodeUnsafe, doMapList, doneInitialize, getDefaultCopyMapper, getDefaultEncoding, getReflectiveObject, getSourceCodeObject, initialize, initialize, isImmutable, isInitialized, isInitializing, isSystemImmutable, makeImmutable, makeImmutable, setImmutable, setImmutableIfNotSystemImmutable, verifyMutalbe, writeItemMethods inherited from class BaseItem
doWrite, getOwningType, getSourceCode, getSpaces, toString, writeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.github.mmm.code.api.item.CodeItem
getLanguage, getSourceCode, write, write, write, write, write, writeMethods inherited from interface io.github.mmm.code.api.object.CodeMutable
isImmutable, isMutableMethods inherited from interface io.github.mmm.code.api.item.CodeMutableItem
getReflectiveObject, setImmutableMethods inherited from interface io.github.mmm.code.api.node.CodeNodeContainer
getDeclared, isEmpty, iteratorMethods inherited from interface io.github.mmm.code.api.node.CodeNodeItemContainer
copy, getParent, removeMethods inherited from interface io.github.mmm.code.api.node.CodeNodeItemContainerHierarchical
copy, getAllMethods inherited from interface io.github.mmm.code.api.CodeWithContext
getContext, getSourceMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
BaseNodeItemContainerHierarchical
protected BaseNodeItemContainerHierarchical()The constructor. -
BaseNodeItemContainerHierarchical
public BaseNodeItemContainerHierarchical(BaseNodeItemContainerHierarchical<I> template, io.github.mmm.code.api.copy.CodeCopyMapper mapper) The copy-constructor.- Parameters:
template- theBaseNodeItemContainerHierarchicalto copy.mapper- theCodeCopyMapper.
-