Interface ICatalogVisitor<T,​R>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default R visitControl​(gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem item, R childResult, T state)
      Called when visiting a control.
      default R visitGroup​(gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem item, R childResult, T state)
      Called when visiting a group.
    • Method Detail

      • visitGroup

        default R visitGroup​(@NonNull
                             gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem item,
                             R childResult,
                             T state)
        Called when visiting a group.

        Can be overridden by classes extending this interface to support processing of the visited object.

        Parameters:
        item - the Metapath item for the group
        childResult - the result of evaluating the group's children
        state - the calling context information
        Returns:
        a meaningful result of the given type
      • visitControl

        default R visitControl​(@NonNull
                               gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem item,
                               R childResult,
                               T state)
        Called when visiting a control.

        Can be overridden by classes extending this interface to support processing of the visited object.

        Parameters:
        item - the Metapath item for the control
        childResult - the result of evaluating the control's children
        state - the calling context information
        Returns:
        a meaningful result of the given type