Class NFEBasicLineLineRuleHandler
- java.lang.Object
-
- oracle.spatial.network.nfe.model.rule.handler.NFEBasicLineLineRuleHandler
-
- All Implemented Interfaces:
NFELineLineRuleHandler,NFERuleHandler
public class NFEBasicLineLineRuleHandler extends java.lang.Object implements NFELineLineRuleHandler
The default implementation ofNFELineLineRuleHandler
-
-
Constructor Summary
Constructors Constructor Description NFEBasicLineLineRuleHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<NFEFeatureElement>createDefaultPoints(NFELineLineRuleHandlerParam param)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.NFERuleHandlerContextgetContext()Gets the handler's contextprotected java.util.List<NFEConnectionDescriptor<NFEFeatureElement,NFEFeatureElement>>joinConnectionDescriptors(java.util.List<NFEConnectionDescriptor<NFEFeatureElement,NFEFeatureElement>> lhConnDescs, java.util.List<NFEConnectionDescriptor<NFEFeatureElement,NFEFeatureElement>> rhConnDescs)voidsetContext(NFERuleHandlerContext context)Sets the handler's context
-
-
-
Method Detail
-
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
-
getConnectionDescriptors
public java.util.List<NFEConnectionDescriptor<NFEFeatureElement,NFEFeatureElement>> getConnectionDescriptors(NFELineLineRuleHandlerParam param)
Description copied from interface:NFELineLineRuleHandlerGets a list connection descriptors which define how and which of the elements given the parameter, are going to be connected.- Specified by:
getConnectionDescriptorsin interfaceNFELineLineRuleHandler- 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
-
createDefaultPoints
protected java.util.List<NFEFeatureElement> createDefaultPoints(NFELineLineRuleHandlerParam param)
-
joinConnectionDescriptors
protected java.util.List<NFEConnectionDescriptor<NFEFeatureElement,NFEFeatureElement>> joinConnectionDescriptors(java.util.List<NFEConnectionDescriptor<NFEFeatureElement,NFEFeatureElement>> lhConnDescs, java.util.List<NFEConnectionDescriptor<NFEFeatureElement,NFEFeatureElement>> rhConnDescs)
-
-