org.ogre4j
Class ScriptCompiler
java.lang.Object
org.xbig.base.NativeObject
org.ogre4j.ScriptCompiler
- All Implemented Interfaces:
- IAllocatedObject<IScriptingAllocPolicy>, IScriptCompiler, IScriptingAllocatedObject, INativeObject
public class ScriptCompiler
- extends NativeObject
- implements IScriptCompiler
|
Method Summary |
boolean |
_compile(IAbstractNodeListPtr nodes,
java.lang.String group)
|
void |
_fireCreateObject(IAny returnValue,
java.lang.String type,
Ivector<IAny> args)
|
boolean |
_fireEvent(java.lang.String name,
Ivector<IAny> args,
IAny retval)
|
void |
addError(long code,
java.lang.String file,
int line,
java.lang.String msg)
|
void |
addNameExclusion(java.lang.String type)
Name exclusions identify object types which cannot accept names. |
boolean |
compile(IConcreteNodeListPtr nodes,
java.lang.String group)
|
boolean |
compile(java.lang.String str,
java.lang.String source,
java.lang.String group)
|
void |
delete()
Deletes the corresponding C++ object. |
void |
finalize()
|
static java.lang.String |
formatErrorCode(long code)
|
IScriptCompilerListener |
getListener()
|
java.lang.String |
getResourceGroup()
|
void |
removeNameExclusion(java.lang.String type)
|
void |
setListener(IScriptCompilerListener listener)
|
| Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
ScriptCompiler
public ScriptCompiler(InstancePointer p)
- This constructor is public for internal useage only!
Do not use it!
ScriptCompiler
protected ScriptCompiler(InstancePointer p,
boolean remote)
- Creates a Java wrapper object for an existing C++ object.
If remote is set to 'true' this object cannot be deleted in Java.
ScriptCompiler
public ScriptCompiler(WithoutNativeObject val)
- Allows creation of Java objects without C++ objects.
- See Also:
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()
ScriptCompiler
public ScriptCompiler()
delete
public void delete()
- Description copied from interface:
INativeObject
- Deletes the corresponding C++ object.
Subclasses must implement this but if the native instance was created by
the underlying library the native call to dispose must not
happen!
- Specified by:
delete in interface INativeObject- Specified by:
delete in class NativeObject
- See Also:
#remote
finalize
public void finalize()
- Overrides:
finalize in class NativeObject
compile
public boolean compile(java.lang.String str,
java.lang.String source,
java.lang.String group)
- Specified by:
compile in interface IScriptCompiler
compile
public boolean compile(IConcreteNodeListPtr nodes,
java.lang.String group)
- Specified by:
compile in interface IScriptCompiler
_compile
public boolean _compile(IAbstractNodeListPtr nodes,
java.lang.String group)
- Specified by:
_compile in interface IScriptCompiler
addError
public void addError(long code,
java.lang.String file,
int line,
java.lang.String msg)
- Specified by:
addError in interface IScriptCompiler
setListener
public void setListener(IScriptCompilerListener listener)
- Specified by:
setListener in interface IScriptCompiler
getListener
public IScriptCompilerListener getListener()
- Specified by:
getListener in interface IScriptCompiler
getResourceGroup
public java.lang.String getResourceGroup()
- Specified by:
getResourceGroup in interface IScriptCompiler
addNameExclusion
public void addNameExclusion(java.lang.String type)
- Name exclusions identify object types which cannot accept names. This means that excluded types will always have empty names. All values in the object header are stored as object values.
- Specified by:
addNameExclusion in interface IScriptCompiler
removeNameExclusion
public void removeNameExclusion(java.lang.String type)
- Specified by:
removeNameExclusion in interface IScriptCompiler
_fireEvent
public boolean _fireEvent(java.lang.String name,
Ivector<IAny> args,
IAny retval)
- Specified by:
_fireEvent in interface IScriptCompiler
_fireCreateObject
public void _fireCreateObject(IAny returnValue,
java.lang.String type,
Ivector<IAny> args)
- Specified by:
_fireCreateObject in interface IScriptCompiler
formatErrorCode
public static java.lang.String formatErrorCode(long code)
Copyright © 2007 netAllied GmbH. All Rights Reserved.