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 Object
Contains information about an HeaderItem
that must be rendered.
- Author:
- papegaaij
ResourceAggregator.RecordedHeaderItem
public ResourceAggregator.RecordedHeaderItem(HeaderItem item)
- Construct.
- Parameters:
item
-
addLocation
public void addLocation(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 List<ResourceAggregator.RecordedHeaderItemLocation> getLocations()
- Returns:
- The locations at which the item was added.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.