Class AbstractIndexingVisitor<T,​R>

    • Method Detail

      • visitGroup

        public R visitGroup​(gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem item,
                            R childResult,
                            T state)
        Description copied from interface: ICatalogVisitor
        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

        public R visitControl​(gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem item,
                              R childResult,
                              T state)
        Description copied from interface: ICatalogVisitor
        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
      • visitParameter

        protected R visitParameter​(@NonNull
                                   gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem parameterItem,
                                   @NonNull
                                   gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem catalogOrGroupOrControl,
                                   T state)
        Description copied from class: AbstractCatalogEntityVisitor
        Called when visiting a parameter.

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

        Overrides:
        visitParameter in class AbstractCatalogEntityVisitor<T,​R>
        Parameters:
        parameterItem - the Metapath item for the parameter
        catalogOrGroupOrControl - the parameter's parent Metapath item
        state - the calling context information
        Returns:
        a meaningful result of the given type
      • visitPart

        protected void visitPart​(@NonNull
                                 gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem partItem,
                                 @NonNull
                                 gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem catalogOrGroupOrControl,
                                 T state)
        Description copied from class: AbstractCatalogEntityVisitor
        Called when visiting a part.

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

        Overrides:
        visitPart in class AbstractCatalogEntityVisitor<T,​R>
        Parameters:
        partItem - the Metapath item for the part
        catalogOrGroupOrControl - the part's parent Metapath item
        state - the calling context information
      • visitRole

        protected void visitRole​(gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem roleItem,
                                 gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem metadataItem,
                                 T state)
        Description copied from class: AbstractCatalogEntityVisitor
        Called when visiting a role in the "metadata" section of an OSCAL document.

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

        Overrides:
        visitRole in class AbstractCatalogEntityVisitor<T,​R>
        Parameters:
        roleItem - the role Metaschema node item which is a child of the "metadata" node
        metadataItem - the "metadata" Metaschema node item containing the role
        state - the calling context information
      • visitLocation

        protected void visitLocation​(gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem locationItem,
                                     gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem metadataItem,
                                     T state)
        Description copied from class: AbstractCatalogEntityVisitor
        Called when visiting a location in the "metadata" section of an OSCAL document.

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

        Overrides:
        visitLocation in class AbstractCatalogEntityVisitor<T,​R>
        Parameters:
        locationItem - the location Metaschema node item which is a child of the "metadata" node
        metadataItem - the "metadata" Metaschema node item containing the location
        state - the calling context information
      • visitParty

        protected void visitParty​(gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem partyItem,
                                  gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem metadataItem,
                                  T state)
        Description copied from class: AbstractCatalogEntityVisitor
        Called when visiting a party in the "metadata" section of an OSCAL document.

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

        Overrides:
        visitParty in class AbstractCatalogEntityVisitor<T,​R>
        Parameters:
        partyItem - the party Metaschema node item which is a child of the "metadata" node
        metadataItem - the "metadata" Metaschema node item containing the party
        state - the calling context information
      • visitResource

        protected void visitResource​(gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem resourceItem,
                                     gov.nist.secauto.metaschema.model.common.metapath.item.IRootAssemblyNodeItem rootItem,
                                     T state)
        Description copied from class: AbstractCatalogEntityVisitor
        Called when visiting a resource in the "back-matter" section of an OSCAL document.

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

        Overrides:
        visitResource in class AbstractCatalogEntityVisitor<T,​R>
        Parameters:
        resourceItem - the resource Metaschema node item which is a child of the "metadata" node
        rootItem - the resource Metaschema node item containing the party
        state - the calling context information