Package chemaxon.jep
Interface ChemContext
- All Superinterfaces:
chemaxon.marvin.util.CallbackIface
,Serializable
- All Known Implementing Classes:
AtomContext
,MolContext
,ReactionContext
Interface of expression evaluation contexts.
Provides function names for accessing context elements
through the
CallbackIface
.- Since:
- JChem 2.2, Marvin 5.1
-
Method Summary
-
Method Details
-
getContextFunctionNames
String[] getContextFunctionNames()Returns context element accessor function names. Implementations override this method to add specific context elements accessors.- Returns:
- the context element accessor function names
-
callback
ImplementsCallbackIface
. Implementations override this method to implement the specific context elements accessors returned bygetContextFunctionNames()
.- Specified by:
callback
in interfacechemaxon.marvin.util.CallbackIface
- Parameters:
method
- is the accessor method name (returned bygetContextFunctionNames()
)arg
- is the accessor method argument (the JEP parameter stack asnull
, a single parameter object or a parameter object array depending on the number of parameters on the stack)- Returns:
- the context element
-
clear
void clear()Clears the context.
-