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.NFERuleHandlerContextgetContext()Gets the handler's contextvoidsetContext(NFERuleHandlerContext context)Sets the handler's context
-
-
-
Method Detail
-
getConnectionDescriptors
public java.util.List<NFEConnectionDescriptor<NFEFeatureElement,NFEFeatureElement>> getConnectionDescriptors(NFELinePointRuleHandlerParam param)
Description copied from interface:NFELinePointRuleHandlerGets a list connection descriptors which define how and which of the elements given the parameter, are going to be connected.- Specified by:
getConnectionDescriptorsin 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:NFERuleHandlerGets the handler's context- Specified by:
getContextin interfaceNFERuleHandler- Returns:
- a rule handler context object
-
setContext
public void setContext(NFERuleHandlerContext context)
Description copied from interface:NFERuleHandlerSets the handler's context- Specified by:
setContextin interfaceNFERuleHandler- Parameters:
context- a rule handler context object
-
-