jxUtil 0.6

org.sourceforge.jxutil.net.xfs
Class XFSDataTypes.PROPOFFSET

java.lang.Object
  |
  +--org.sourceforge.jxutil.net.xfs.XFSDataTypes.XFSDataType
        |
        +--org.sourceforge.jxutil.net.xfs.XFSDataTypes.PROPOFFSET
Enclosing class:
XFSDataTypes

public static final class XFSDataTypes.PROPOFFSET
extends XFSDataTypes.XFSDataType

This structure specifies the position, length, and type of of data for a property.
This structure is zero-padded to 32-bit alignment.

PROPOFFSET:[name: OFFSET32, value: OFFSET32, type: CARD8, zero-pad3: BYTE, BYTE, BYTE ]


Field Summary
protected  int bytes
           
 XFSDataTypes.OFFSET32 name
          The NAME field specifies the position and length (which must be greater than zero) of the property name relative to the beginning of the PROPINFO.DATA block for this font.
static int PropTypeSigned
          This property contains a signed, 32-bit number stored as an INT32 in VALUE.POSITION (VALUE.LENGTH is zero).
static int PropTypeString
          This property contains a counted string of bytes.
static int PropTypeUnsigned
          This property contains a unsigned, 32-bit number stored as a CARD32 in VALUE.POSITION (VALUE.LENGTH is zero).
 int type
           
 XFSDataTypes.OFFSET32 value
          The interpretation of the position and length of the VALUE field is determined by the TYPE field.
 
Constructor Summary
XFSDataTypes.PROPOFFSET(DataConverter conv, byte[] data, int ofs)
           
XFSDataTypes.PROPOFFSET(XFSDataTypes.OFFSET32 name, XFSDataTypes.OFFSET32 value, int type)
           
 
Method Summary
(package private)  Object getName(byte[] data)
           
(package private)  Object getValue(byte[] data)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public final XFSDataTypes.OFFSET32 name
The NAME field specifies the position and length (which must be greater than zero) of the property name relative to the beginning of the PROPINFO.DATA block for this font.


PropTypeSigned

public static final int PropTypeSigned
This property contains a signed, 32-bit number stored as an INT32 in VALUE.POSITION (VALUE.LENGTH is zero).

See Also:
Constant Field Values

PropTypeString

public static final int PropTypeString
This property contains a counted string of bytes. The data is stored in the PROPINFO.DATA block beginning at relative byte VALUE.POSITION (begin-ning with zero), extending for VALUE.LENGTH (at least zero) bytes.

See Also:
Constant Field Values

PropTypeUnsigned

public static final int PropTypeUnsigned
This property contains a unsigned, 32-bit number stored as a CARD32 in VALUE.POSITION (VALUE.LENGTH is zero).

See Also:
Constant Field Values

type

public final int type

value

public final XFSDataTypes.OFFSET32 value
The interpretation of the position and length of the VALUE field is determined by the TYPE field.


bytes

protected int bytes
Constructor Detail

XFSDataTypes.PROPOFFSET

public XFSDataTypes.PROPOFFSET(DataConverter conv,
                               byte[] data,
                               int ofs)

XFSDataTypes.PROPOFFSET

public XFSDataTypes.PROPOFFSET(XFSDataTypes.OFFSET32 name,
                               XFSDataTypes.OFFSET32 value,
                               int type)
Method Detail

getName

final Object getName(byte[] data)

getValue

final Object getValue(byte[] data)

toString

public final String toString()
Overrides:
toString in class Object

jxUtil 0.6

Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.