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
A visitor used to process references.
-
Method Summary
Modifier and TypeMethodDescriptionvisitControl(gov.nist.secauto.metaschema.core.metapath.item.node.IAssemblyNodeItem item, Void childResult, T context) Visit the provideditemrepresenting an OSCALControland handle any enclosed references.visitGroup(gov.nist.secauto.metaschema.core.metapath.item.node.IAssemblyNodeItem item, Void childResult, T context) Visit the provideditemrepresenting an OSCALCatalogGroupand handle any enclosed references.
-
Method Details
-
visitGroup
Void visitGroup(@NonNull gov.nist.secauto.metaschema.core.metapath.item.node.IAssemblyNodeItem item, Void childResult, T context) Visit the provideditemrepresenting an OSCALCatalogGroupand handle any enclosed references.- Specified by:
visitGroupin 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.core.metapath.item.node.IAssemblyNodeItem item, Void childResult, T context) Visit the provideditemrepresenting an OSCALControland handle any enclosed references.- Specified by:
visitControlin 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
-