org.apache.wicket.markup.head
Class ResourceAggregator.RecordedHeaderItem

java.lang.Object
  extended by 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

Constructor Summary
ResourceAggregator.RecordedHeaderItem(HeaderItem item)
          Construct.
 
Method Summary
 void addLocation(Object renderBase, int indexInRenderBase, int indexInRequest)
          Records a location at which the item was added.
 HeaderItem getItem()
           
 List<ResourceAggregator.RecordedHeaderItemLocation> getLocations()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceAggregator.RecordedHeaderItem

public ResourceAggregator.RecordedHeaderItem(HeaderItem item)
Construct.

Parameters:
item -
Method Detail

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.