Package org.apache.wicket.markup.head
Class ResourceAggregator.RecordedHeaderItemLocation
- java.lang.Object
-
- org.apache.wicket.markup.head.ResourceAggregator.RecordedHeaderItemLocation
-
- Enclosing class:
- ResourceAggregator
public static class ResourceAggregator.RecordedHeaderItemLocation extends Object
The location in which aHeaderItem
is added, consisting of the component/behavior that added the item, the index in the list for that component/behavior at which the item was added and the index in the request.- Author:
- papegaaij
-
-
Constructor Summary
Constructors Constructor Description RecordedHeaderItemLocation(Component renderBase, int indexInRequest)
Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDepth()
int
getIndexInRequest()
Object
getRenderBase()
String
toString()
-
-
-
Constructor Detail
-
RecordedHeaderItemLocation
public RecordedHeaderItemLocation(Component renderBase, int indexInRequest)
Construct.- Parameters:
renderBase
- The component that added the item.
-
-
Method Detail
-
getRenderBase
public Object getRenderBase()
- Returns:
- the component or behavior that added the item.
-
getIndexInRequest
public int getIndexInRequest()
- Returns:
- the number of items added before this one in the same request.
-
getDepth
public int getDepth()
-
-