com.google.gwt.inject.rebind.binding
Class BindingContext
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BindingContext
protected BindingContext(java.lang.String context)
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.