NODE - Type of contained nodepublic interface NodeContainer<NODE extends TreeNode> extends Identified
| Modifier and Type | Method and Description |
|---|---|
void |
accept(NodeContainerVisitor visitor) |
void |
addContent(NODE node)
Adds new content to this container.
|
void |
addContent(NODE node,
int position)
Adds new content to this container at the given position.
|
List<NODE> |
getContent() |
List<String> |
getContentNames() |
Collection<NODE> |
getOrderedContent()
Will return the ordered (if order there is) content nodes.
|
GenericProject |
getProject()
A node container can be a library.
|
boolean |
hasContent() |
boolean |
isContentNameAvailable(String name) |
void |
removeContent(NODE contentToRemove) |
getIdvoid addContent(NODE node) throws DuplicateNameException, org.apache.commons.lang.NullArgumentException
node - DuplicateNameExceptionorg.apache.commons.lang.NullArgumentExceptionvoid addContent(NODE node, int position) throws DuplicateNameException, org.apache.commons.lang.NullArgumentException
node - DuplicateNameExceptionorg.apache.commons.lang.NullArgumentExceptionboolean isContentNameAvailable(String name)
Collection<NODE> getOrderedContent()
boolean hasContent()
void removeContent(NODE contentToRemove) throws org.apache.commons.lang.NullArgumentException
org.apache.commons.lang.NullArgumentExceptionGenericProject getProject()
void accept(NodeContainerVisitor visitor)
Copyright © 2010-2015 Henix, henix.fr. All Rights Reserved.