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.NFERuleHandlerContext
getContext()
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)
void
setContext(NFERuleHandlerContext context)
Sets the handler's context
-
-
-
Method Detail
-
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
-
getConnectionDescriptors
public java.util.List<NFEConnectionDescriptor<NFEFeatureElement,NFEFeatureElement>> getConnectionDescriptors(NFELineLineRuleHandlerParam param)
Description copied from interface:NFELineLineRuleHandler
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 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)
-
-