Package org.apache.wicket.markup.head
Class ResourceAggregator.RecordedHeaderItem
- java.lang.Object
-
- org.apache.wicket.markup.head.ResourceAggregator.RecordedHeaderItem
-
- Enclosing class:
- ResourceAggregator
public static class ResourceAggregator.RecordedHeaderItem extends java.lang.ObjectContains information about anHeaderItemthat must be rendered.- Author:
- papegaaij
-
-
Constructor Summary
Constructors Constructor Description RecordedHeaderItem(HeaderItem item)Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLocation(java.lang.Object renderBase, int indexInRenderBase, int indexInRequest)Records a location at which the item was added.HeaderItemgetItem()java.util.List<ResourceAggregator.RecordedHeaderItemLocation>getLocations()java.lang.StringtoString()
-
-
-
Constructor Detail
-
RecordedHeaderItem
public RecordedHeaderItem(HeaderItem item)
Construct.- Parameters:
item-
-
-
Method Detail
-
addLocation
public void addLocation(java.lang.Object renderBase, int indexInRenderBase, int indexInRequest)Records a location at which the item was added.- 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 this request.
-
getItem
public HeaderItem getItem()
- Returns:
- the actual item
-
getLocations
public java.util.List<ResourceAggregator.RecordedHeaderItemLocation> getLocations()
- Returns:
- The locations at which the item was added.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-