Interface IReferenceVisitor<T>
-
- Type Parameters:
T
- the visitor context type used to pass state while visiting
- All Superinterfaces:
ICatalogVisitor<T,Void>
- All Known Implementing Classes:
ReferenceCountingVisitor
public interface IReferenceVisitor<T> extends ICatalogVisitor<T,Void>
A visitor used to process references.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Void
visitControl(gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem item, Void childResult, T context)
Visit the provideditem
representing an OSCALControl
and handle any enclosed references.Void
visitGroup(gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem item, Void childResult, T context)
Visit the provideditem
representing an OSCALCatalogGroup
and handle any enclosed references.
-
-
-
Method Detail
-
visitGroup
Void visitGroup(@NonNull gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem item, Void childResult, T context)
Visit the provideditem
representing an OSCALCatalogGroup
and handle any enclosed references.- Specified by:
visitGroup
in interfaceICatalogVisitor<T,Void>
- Parameters:
item
- the Metapath node item containing reference nodeschildResult
- the result of evaluating the group's childrencontext
- the calling context information- Returns:
- a meaningful result of the given type
- Throws:
ProfileResolutionEvaluationException
- if there was an error handing the reference
-
visitControl
Void visitControl(@NonNull gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem item, Void childResult, T context)
Visit the provideditem
representing an OSCALControl
and handle any enclosed references.- Specified by:
visitControl
in interfaceICatalogVisitor<T,Void>
- Parameters:
item
- the Metapath node item containing reference nodeschildResult
- the result of evaluating the control's childrencontext
- the calling context information- Returns:
- a meaningful result of the given type
- Throws:
ProfileResolutionEvaluationException
- if there was an error handing the reference
-
-