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

java.lang.Object
  extended by org.apache.wicket.markup.head.ResourceAggregator.RecordedHeaderItemLocation
Enclosing class:
ResourceAggregator

public static class ResourceAggregator.RecordedHeaderItemLocation
extends Object

The location in which a HeaderItem is 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
ResourceAggregator.RecordedHeaderItemLocation(Object renderBase, int indexInRenderBase, int indexInRequest)
          Construct.
 
Method Summary
 int getIndexInRenderBase()
           
 int getIndexInRequest()
           
 Object getRenderBase()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceAggregator.RecordedHeaderItemLocation

public ResourceAggregator.RecordedHeaderItemLocation(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 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 String toString()
Overrides:
toString in class Object


Copyright © 2006–2016 Apache Software Foundation. All rights reserved.