Class NFEBasicLinePointRuleHandler
- java.lang.Object
-
- oracle.spatial.network.nfe.model.rule.handler.NFEBasicLinePointRuleHandler
-
- All Implemented Interfaces:
NFELinePointRuleHandler
,NFERuleHandler
public class NFEBasicLinePointRuleHandler extends java.lang.Object implements NFELinePointRuleHandler
The default implementation ofNFELinePointRuleHandler
-
-
Constructor Summary
Constructors Constructor Description NFEBasicLinePointRuleHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int[]
getAvailableConnections(NFEFeatureElement pointFeatElem, NFELinePointRule lpRule)
java.util.List<NFEConnectionDescriptor<NFEFeatureElement,NFEFeatureElement>>
getConnectionDescriptors(NFELinePointRuleHandlerParam param)
Gets a list connection descriptors which define how and which of the elements given the parameter, are going to be connected.NFERuleHandlerContext
getContext()
Gets the handler's contextvoid
setContext(NFERuleHandlerContext context)
Sets the handler's context
-
-
-
Method Detail
-
getConnectionDescriptors
public java.util.List<NFEConnectionDescriptor<NFEFeatureElement,NFEFeatureElement>> getConnectionDescriptors(NFELinePointRuleHandlerParam param)
Description copied from interface:NFELinePointRuleHandler
Gets a list connection descriptors which define how and which of the elements given the parameter, are going to be connected.- Specified by:
getConnectionDescriptors
in interfaceNFELinePointRuleHandler
- 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
-
getAvailableConnections
protected int[] getAvailableConnections(NFEFeatureElement pointFeatElem, NFELinePointRule lpRule)
-
getContext
public NFERuleHandlerContext getContext()
Description copied from interface:NFERuleHandler
Gets the handler's context- Specified by:
getContext
in interfaceNFERuleHandler
- Returns:
- a rule handler context object
-
setContext
public void setContext(NFERuleHandlerContext context)
Description copied from interface:NFERuleHandler
Sets the handler's context- Specified by:
setContext
in interfaceNFERuleHandler
- Parameters:
context
- a rule handler context object
-
-