Module dev.metaschema.core
Interface INodeItemVisitable
- All Known Subinterfaces:
IAssemblyInstanceGroupedNodeItem,IAssemblyNodeItem,IAtomicValuedNodeItem,ICycledAssemblyNodeItem,IDefinitionNodeItem<D,,I> IDocumentBasedNodeItem,IDocumentNodeItem,IFeatureChildNodeItem,IFeatureFlagContainerItem,IFeatureModelContainerItem,IFeatureOrhpanedDefinitionNodeItem<D,,I> IFieldNodeItem,IFlagNodeItem,IModelNodeItem<D,,I> IModuleNodeItem,INodeItem,IRootAssemblyNodeItem
- All Known Implementing Classes:
AbstractDefinitionNodeItem,AbstractFlagInstanceNodeItem,AbstractGlobalDefinitionNodeItem,AbstractInstanceNodeItem,AbstractNodeItem,AbstractOrphanedDefinitionNodeItem
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Marks a node item as visitable by a
INodeItemVisitor.-
Method Summary
Modifier and TypeMethodDescription<CONTEXT,RESULT>
RESULTaccept(INodeItemVisitor<CONTEXT, RESULT> visitor, CONTEXT context) A visitor callback.
-
Method Details
-
accept
A visitor callback.- Type Parameters:
CONTEXT- the type of the context parameterRESULT- the type of the visitor result- Parameters:
visitor- the calling visitorcontext- a parameter used to pass contextual information between visitors- Returns:
- the visitor result
-