com.judoscript.bio
Class UserDefined.UserType
java.lang.Object
com.judoscript.bio.UserDefined.UserType
- All Implemented Interfaces:
- XMLDumpable, java.io.Serializable
- Direct Known Subclasses:
- JavaExtension.Type, UserDefined.Type
- Enclosing class:
- UserDefined
public abstract static class UserDefined.UserType
- extends java.lang.Object
- implements XMLDumpable, java.io.Serializable
- See Also:
- Serialized Form
Field Summary |
protected java.util.HashMap |
fxns
|
protected java.lang.String |
name
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected java.lang.String name
fxns
protected java.util.HashMap fxns
UserDefined.UserType
protected UserDefined.UserType(java.lang.String name)
getName
public java.lang.String getName()
setConstructor
public void setConstructor(Function ctor)
getConstructor
public Function getConstructor()
hasConstructor
public boolean hasConstructor()
addFunction
public void addFunction(Function f)
throws ExceptionRuntime
- Throws:
ExceptionRuntime
addFunction
public void addFunction(java.lang.String name,
Function f)
throws ExceptionRuntime
- Throws:
ExceptionRuntime
getFunction
public Function getFunction(java.lang.String name)
hasFunction
public boolean hasFunction(java.lang.String name)
create
public abstract ObjectInstance create()
throws java.lang.Throwable
- Throws:
java.lang.Throwable