Interface IReferenceVisitor<T>

    • 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 provided item representing an OSCAL Control and handle any enclosed references.
      Void visitGroup​(gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem item, Void childResult, T context)
      Visit the provided item representing an OSCAL CatalogGroup 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 provided item representing an OSCAL CatalogGroup and handle any enclosed references.
        Specified by:
        visitGroup in interface ICatalogVisitor<T,​Void>
        Parameters:
        item - the Metapath node item containing reference nodes
        childResult - the result of evaluating the group's children
        context - 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 provided item representing an OSCAL Control and handle any enclosed references.
        Specified by:
        visitControl in interface ICatalogVisitor<T,​Void>
        Parameters:
        item - the Metapath node item containing reference nodes
        childResult - the result of evaluating the control's children
        context - the calling context information
        Returns:
        a meaningful result of the given type
        Throws:
        ProfileResolutionEvaluationException - if there was an error handing the reference