com.android.ide.common.rendering.api
Class MergeCookie

java.lang.Object
  extended by com.android.ide.common.rendering.api.MergeCookie

public final class MergeCookie
extends java.lang.Object

Special wrapper class used in special case for ILayoutPullParser.getViewCookie().

When an include tag points to a layout with a merge top level item, there is no top level item that can use the include item as cookie.

This class is used as a cookie for all items under the merge (while referencing the original include cookie) to make it easy on the client to group all merged items into a single outline item.


Constructor Summary
MergeCookie(java.lang.Object cookie)
           
 
Method Summary
 java.lang.Object getCookie()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MergeCookie

public MergeCookie(java.lang.Object cookie)
Method Detail

getCookie

public java.lang.Object getCookie()