com.google.gwt.inject.rebind.binding
Class BindingContext

java.lang.Object
  extended by com.google.gwt.inject.rebind.binding.BindingContext

public class BindingContext
extends java.lang.Object

Describes the context in which a binding was created.


Constructor Summary
protected BindingContext(java.lang.String context)
           
 
Method Summary
static BindingContext forElement(Element element)
          Create a BindingContext storing the context of the given Guice Element.
static BindingContext forText(java.lang.String context)
          Create a BindingContext storing the given text as its context.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BindingContext

protected BindingContext(java.lang.String context)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

forElement

public static BindingContext forElement(Element element)
Create a BindingContext storing the context of the given Guice Element.


forText

public static BindingContext forText(java.lang.String context)
Create a BindingContext storing the given text as its context.