nwnintf.format.itp.element
Class ItpStrrefElt
java.lang.Object
|
+--nwnintf.format.itp.ItpElement
|
+--nwnintf.format.itp.element.ItpStrrefElt
- public class ItpStrrefElt
- extends ItpElement
Fields inherited from class nwnintf.format.itp.ItpElement |
DATA, NAMEIDX, SIZE, TYPE, TYPE_CAPREF, TYPE_DATREF, TYPE_FLOAT32, TYPE_FLOAT64, TYPE_INT16, TYPE_INT32, TYPE_INT64, TYPE_INT8, TYPE_LIST, TYPE_RESREF, TYPE_STRING, TYPE_STRREF, TYPE_UINT16, TYPE_UINT32, TYPE_UINT64, TYPE_UINT8 |
Method Summary |
protected int |
childData(ItpWriter w)
Write the element type-specific data to ItpWriter and return the
contents that should go in the data field in the element
structure for output. |
java.lang.String |
defaultValue(TlkFile tlk)
Return the string represented by this strref in some indeterminate
language. |
void |
read(byte[] bytes,
int eltoffset,
int varnameoffset,
int vardataoffset,
int listoffset)
|
int |
type()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NBYTES
public static int NBYTES
DIALOGTLKID
public static int DIALOGTLKID
NSTRINGS
public static int NSTRINGS
ItpStrrefElt
public ItpStrrefElt(ItpFile f)
read
public void read(byte[] bytes,
int eltoffset,
int varnameoffset,
int vardataoffset,
int listoffset)
- Overrides:
read
in class ItpElement
type
public int type()
- Specified by:
type
in class ItpElement
childData
protected int childData(ItpWriter w)
throws java.io.IOException
- Description copied from class:
ItpElement
- Write the element type-specific data to ItpWriter and return the
contents that should go in the data field in the element
structure for output.
- Specified by:
childData
in class ItpElement
java.io.IOException
defaultValue
public java.lang.String defaultValue(TlkFile tlk)
throws java.io.IOException
- Return the string represented by this strref in some indeterminate
language.
java.io.IOException