Interface SortingStrategy
-
- All Known Implementing Classes:
AppendingStrategy
,GroupingStrategy
public interface SortingStrategy
Interface for controlling the sort order in which<head>
elements from one source are placed into another.- Author:
- zhanhb, Emanuel Rabina
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
findPositionForModel(IModel headModel, IModel childModel)
Returns the position in a<head>
element model to insert a child model.
-
-
-
Method Detail
-
findPositionForModel
int findPositionForModel(IModel headModel, IModel childModel)
Returns the position in a<head>
element model to insert a child model.- Parameters:
headModel
- Model of a<head>
element.childModel
- A model that can be found in a<head>
element.- Returns:
- Position to insert the child model into.
-
-