public class ClosureValue extends java.lang.Object implements Value, ClosureHolder
| Modifier | Constructor and Description |
|---|---|
protected |
ClosureValue()
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent) |
void |
beforeUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent) |
java.lang.Object |
execute(InterpreterConfiguration configuration,
InterpreterStackTrace stackTrace,
java.lang.Object... arguments)
Executes this closure with given arguments.
|
java.lang.Object |
execute(InterpreterConfiguration configuration,
java.lang.Object... arguments)
Executes this closure with given arguments.
|
java.lang.Object |
execute(InterpreterStackTrace stackTrace,
java.lang.Object... arguments)
Executes this closure with given arguments.
|
java.lang.Object |
execute(java.lang.Object... arguments)
Executes this closure with given arguments.
|
ClosureOrigin |
getClosureOrigin() |
java.lang.String |
getExpressionString()
Returns a string representation of this closure holder expression.
|
java.lang.String |
getId()
Returns the id of this value, if any.
|
Namespace |
getNamespace()
Returns the namespace where the closure is declared.
|
ValueHolder |
getNotCompiledValueHolder() |
Value |
getParent()
Returns the parent of this value.
|
ClosureType |
getType()
Returns the type of the holder.
|
java.lang.Object |
toObject()
Converts this value to an appropriate object.
|
java.lang.String |
toString() |
public java.lang.Object toObject()
Valuepublic Value getParent()
Valuepublic java.lang.String getId()
ValuegetId in interface ValuegetId in interface ValueHolderpublic ClosureType getType()
ValueHoldergetType in interface ClosureHoldergetType in interface ValueHolderpublic java.lang.Object execute(java.lang.Object... arguments)
ClosureHolderexecute in interface ClosureHolderpublic java.lang.Object execute(InterpreterConfiguration configuration, java.lang.Object... arguments)
ClosureHolderexecute in interface ClosureHolderconfiguration - configuration to apply while interpreting closurepublic java.lang.Object execute(InterpreterStackTrace stackTrace, java.lang.Object... arguments)
ClosureHolderexecute in interface ClosureHolderstackTrace - a stack tracepublic java.lang.Object execute(InterpreterConfiguration configuration, InterpreterStackTrace stackTrace, java.lang.Object... arguments)
ClosureHolderexecute in interface ClosureHolderconfiguration - configuration to apply while interpreting closurestackTrace - a stack tracepublic java.lang.String getExpressionString()
ClosureHoldergetExpressionString in interface ClosureHolderpublic Namespace getNamespace()
ClosureHoldergetNamespace in interface ClosureHolderpublic void beforeUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
public java.lang.String toString()
toString in class java.lang.Objectpublic ValueHolder getNotCompiledValueHolder()
getNotCompiledValueHolder in interface ValueHolderpublic ClosureOrigin getClosureOrigin()
getClosureOrigin in interface ClosureHoldernullCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.