org.apache.shindig.gadgets.spec
Class PipelinedData

java.lang.Object
  extended by org.apache.shindig.gadgets.spec.PipelinedData

public class PipelinedData
extends Object

Parsing code for <os:*> elements.


Nested Class Summary
static interface PipelinedData.Batch
           
static interface PipelinedData.BatchItem
          Item within a batch
static class PipelinedData.BatchType
          Temporary type until BatchItem is made fully polymorphic
 
Field Summary
static String EXTENSION_NAMESPACE
           
static String OPENSOCIAL_NAMESPACE
           
 
Constructor Summary
PipelinedData(Element element, Uri base)
           
 
Method Summary
 PipelinedData.Batch getBatch(Expressions expressions, javax.el.ELResolver rootObjects)
          Gets the first batch of preload requests.
 boolean needsOwner()
           
 boolean needsViewer()
           
 PipelinedData substitute(Substitutions substituter)
          Allows the creation of a view from an existing view so that localization can be performed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPENSOCIAL_NAMESPACE

public static final String OPENSOCIAL_NAMESPACE
See Also:
Constant Field Values

EXTENSION_NAMESPACE

public static final String EXTENSION_NAMESPACE
See Also:
Constant Field Values
Constructor Detail

PipelinedData

public PipelinedData(Element element,
                     Uri base)
              throws SpecParserException
Throws:
SpecParserException
Method Detail

substitute

public PipelinedData substitute(Substitutions substituter)
Allows the creation of a view from an existing view so that localization can be performed.


getBatch

public PipelinedData.Batch getBatch(Expressions expressions,
                                    javax.el.ELResolver rootObjects)
Gets the first batch of preload requests. Preloads that require root objects not yet available will not be executed in this batch, but may become available in subsequent batches.

Parameters:
rootObjects - an ELResolver that can evaluate currently available root objects.
Returns:
a batch, or null if no batch could be created
See Also:
GadgetELResolver

needsViewer

public boolean needsViewer()

needsOwner

public boolean needsOwner()


Copyright © 2007-2012. All Rights Reserved.