Interface IReferencePolicy<T>

    • Method Detail

      • ignore

        @NonNull
        static <T> IReferencePolicy<T> ignore()
        Get a reference policy that will ignore processing the reference.
        Type Parameters:
        T - the type of the reference object
        Returns:
        the policy
      • handleReference

        boolean handleReference​(@NonNull
                                gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem contextItem,
                                @NonNull
                                T reference,
                                @NonNull
                                ReferenceCountingVisitor.Context referenceVisitorContext)
        Handle the provided reference.
        Parameters:
        contextItem - the nodes containing the reference
        reference - the reference object to process
        referenceVisitorContext - used to lookup and resolve items
        Returns:
        true if the reference was handled, or false otherwise
        Throws:
        ProfileResolutionEvaluationException - if there was an error handing the reference