org.python.expose
Annotation Type ExposedType
-
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface ExposedTypeIndicates a given class should be made visible to Python code as a builtin type.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element and Description java.lang.Classbasejava.lang.StringdocReturns the __doc__ String for this type.booleanisBaseTypejava.lang.Stringname
-
-
-
Element Detail
-
name
public abstract java.lang.String name
- Returns:
- the name to expose this item as. Defaults to the actual name of the class.
- Default:
- ""
-
-
-
base
public abstract java.lang.Class base
- Returns:
- the base type of this type. Must be another class anotated with ExposedType. If unspecified, the base is set to object, or PyObject.class.
- Default:
- java.lang.Object.class
-
-
DMelt 3.0 © DataMelt by jWork.ORG