Package org.python.core.adapter
Interface PyObjectAdapter
- All Known Implementing Classes:
ClassAdapter
,ClassicPyObjectAdapter
,ExtensiblePyObjectAdapter
public interface PyObjectAdapter
PyObjectAdapters turn Java Objects into PyObjects.
-
Method Summary
-
Method Details
-
canAdapt
Returns true if o can be adapted by this adapter. -
adapt
Returns the PyObject version of o or null if canAdapt(o) returns false.
-