Interface NFELineLineRuleHandler

  • All Superinterfaces:
    NFERuleHandler
    All Known Implementing Classes:
    NFEBasicLineLineRuleHandler

    public interface NFELineLineRuleHandler
    extends NFERuleHandler
    Defines a line-line rule handler. A handler of this type is assigned to a line-line rule and is fired when the rule is triggered. A rule handler is responsible of specifying which elements will be connected when a line-point rule is applicable. The rule handler receives information about which elements are applicable for a rule.
    • Method Detail

      • getConnectionDescriptors

        java.util.List<NFEConnectionDescriptor<NFEFeatureElement,​NFEFeatureElement>> getConnectionDescriptors​(NFELineLineRuleHandlerParam param)
        Gets a list connection descriptors which define how and which of the elements given the parameter, are going to be connected.
        Parameters:
        param - contains all the elements intersecting in one point. Additionally, it also specifies which elements match the current rule.
        Returns:
        a list of connection descriptors