org.xbig.base
Class StringPointer

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.xbig.base.StringPointer
All Implemented Interfaces:
INativeObject

public class StringPointer
extends NativeObject

Represents a pointer or reference to a native string.

See Also:
NumberPointer

Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
StringPointer(InstancePointer pInstance)
           
StringPointer(InstancePointer pointer, boolean b)
           
StringPointer(java.lang.String value)
          Create native variable and initialise it.
 
Method Summary
 void delete()
          Deletes the corresponding C++ object.
 boolean equals(java.lang.Object obj)
          If a java.lang.String is passed, it is compared to the string this StringPointer points to.
 void finalize()
           
 java.lang.String get()
           
 StringPointer next()
           
 void set(java.lang.String value)
           
 java.lang.String toString()
           
 
Methods inherited from class org.xbig.base.NativeObject
disconnectFromNativeObject, getInstancePointer, hashCode, setInstancePointer, setInstancePointer, setInstancePointer
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringPointer

public StringPointer(InstancePointer pInstance)

StringPointer

public StringPointer(InstancePointer pointer,
                     boolean b)

StringPointer

public StringPointer(java.lang.String value)
Create native variable and initialise it.

Parameters:
value - Value to initialise native value.
Method Detail

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:
NativeObject.delete()

equals

public boolean equals(java.lang.Object obj)
If a java.lang.String is passed, it is compared to the string this StringPointer points to.

Overrides:
equals in class NativeObject

get

public java.lang.String get()

next

public StringPointer next()

set

public void set(java.lang.String value)

toString

public java.lang.String toString()
Overrides:
toString in class NativeObject
See Also:
NativeObject.toString()

finalize

public void finalize()
Overrides:
finalize in class NativeObject


Copyright © 2007 netAllied GmbH. All Rights Reserved.