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 java.lang.ObjectThe location in which aHeaderItemis 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(java.lang.Object renderBase, int indexInRenderBase, int indexInRequest)Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIndexInRenderBase()intgetIndexInRequest()java.lang.ObjectgetRenderBase()java.lang.StringtoString()
-
-
-
Constructor Detail
-
RecordedHeaderItemLocation
public RecordedHeaderItemLocation(java.lang.Object renderBase, int indexInRenderBase, int indexInRequest)Construct.- Parameters:
renderBase- The component or behavior that added the item.indexInRenderBase- Indicates the number of items added before this one on the same component or behavior.indexInRequest- Indicates the number of items added before this one in the same request.
-
-
Method Detail
-
getRenderBase
public java.lang.Object getRenderBase()
- Returns:
- the component or behavior that added the item.
-
getIndexInRenderBase
public int getIndexInRenderBase()
- Returns:
- the number of items added before this one on the same component or behavior.
-
getIndexInRequest
public int getIndexInRequest()
- Returns:
- the number of items added before this one in the same request.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-