|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Context | |
|---|---|
| org.xlattice | This package contains abstractions for all of the basic types dealt with in XLattice. |
| org.xlattice.util.context | |
| org.xlattice.util.template | |
| Uses of Context in org.xlattice |
|---|
| Methods in org.xlattice that return Context | |
|---|---|
Context |
Context.bind(java.lang.String name,
java.lang.Object o)
Bind a name to an Object at this Context level. |
Context |
Context.getParent()
|
Context |
Context.setParent(Context newParent)
Change the parent Context. |
| Methods in org.xlattice with parameters of type Context | |
|---|---|
byte[] |
Template.getBytes(Context ctx)
Recursively reduce all constituent Templates in the Context to byte arrays, concatenate them, and return the result. |
Context |
Context.setParent(Context newParent)
Change the parent Context. |
java.lang.String |
Template.toString(Context ctx)
Recursively reduce all constituent Templates in the Context to Strings, concatenate them, and return the result. |
| Constructors in org.xlattice with parameters of type Context | |
|---|---|
Context(Context parent)
Create a context with a parent Context. |
|
| Uses of Context in org.xlattice.util.context |
|---|
| Methods in org.xlattice.util.context with parameters of type Context | |
|---|---|
java.lang.String |
Term.resolve(Context ctx)
Evaluate the term within the context. |
java.lang.String |
Expr.resolve(Context ctx)
Given a context, reduce this expression to a string by concatenating its Terms, first replacing any Symbol with the value it binds to in the context. |
java.lang.String |
Literal.resolve(Context ctx)
Resolve the Literal in the context. |
java.lang.String |
Symbol.resolve(Context ctx)
|
| Uses of Context in org.xlattice.util.template |
|---|
| Methods in org.xlattice.util.template with parameters of type Context | |
|---|---|
byte[] |
BinaryTemplate.getBytes(Context ctx)
For efficiency, returns a reference to the byte array. |
byte[] |
VarTemplate.getBytes(Context ctx)
|
byte[] |
SeqTemplate.getBytes(Context ctx)
|
byte[] |
StringTemplate.getBytes(Context ctx)
|
java.lang.String |
BinaryTemplate.toString(Context ctx)
Return the byte array as a String. |
java.lang.String |
VarTemplate.toString(Context ctx)
|
java.lang.String |
SeqTemplate.toString(Context ctx)
|
java.lang.String |
StringTemplate.toString(Context ctx)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||