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.Object
Contains information about anHeaderItem
that 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 void
addLocation(java.lang.Object renderBase, int indexInRenderBase, int indexInRequest)
Records a location at which the item was added.HeaderItem
getItem()
java.util.List<ResourceAggregator.RecordedHeaderItemLocation>
getLocations()
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-