org.apache.shindig.gadgets.uri
Class ConcatUriManager.ConcatData

java.lang.Object
  extended by org.apache.shindig.gadgets.uri.ConcatUriManager.ConcatData
Enclosing interface:
ConcatUriManager

public static class ConcatUriManager.ConcatData
extends Object

Represents a single concatenated Uri. This must include a Uri for loading the given resource(s), and may optionally include a Map from Uri to String of Snippets, each of which provides a piece of JavaScript, assumed to be executed after the resource Uri is loaded, which causes the given Uri's content to be loaded. In practice, this supports split-JS, where multiple chunks of (non-contiguous) JS are included as Strings (once) and evaluated in their correct original position.


Constructor Summary
ConcatUriManager.ConcatData(Uri uri, Map<Uri,String> snippets)
           
 
Method Summary
 String getSnippet(Uri orig)
           
 Uri getUri()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcatUriManager.ConcatData

public ConcatUriManager.ConcatData(Uri uri,
                                   Map<Uri,String> snippets)
Method Detail

getUri

public Uri getUri()

getSnippet

public String getSnippet(Uri orig)


Copyright © 2007-2012. All Rights Reserved.