Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

Unknown Class Reference

Inheritance diagram for Unknown:
[legend]
Collaboration diagram for Unknown:
[legend]
List of all members.

Public Methods

 Unknown (int name_index, int length, byte[] bytes, ConstantPool constant_pool)
 Unknown (Unknown c)
void accept (Visitor v)
Attribute copy (ConstantPool constant_pool)
final void dump (DataOutputStream file) throws IOException
final byte[] getBytes ()
final String getName ()
final void setBytes (byte[] bytes)
final String toString ()
 Unknown (int name_index, int length, byte[] bytes, ConstantPool constant_pool)
 Unknown (Unknown c)
void accept (Visitor v)
Attribute copy (ConstantPool constant_pool)
final void dump (DataOutputStream file) throws IOException
final byte[] getBytes ()
final String getName ()
final void setBytes (byte[] bytes)
final String toString ()

Private Methods

 Unknown (int name_index, int length, DataInputStream file, ConstantPool constant_pool) throws IOException
 Unknown (int name_index, int length, DataInputStream file, ConstantPool constant_pool) throws IOException

Static Private Methods

Unknown[] getUnknownAttributes ()
Unknown[] getUnknownAttributes ()

Private Attributes

byte[] bytes
String name
byte[] bytes

Static Private Attributes

Hashtable unknown_attributes = new Hashtable()

Detailed Description

This class is derived from Attribute and represents a reference to an unknown (i.e. unimplemented) attribute of this class. It is instantiated from the Attribute.readAttribute() method.

Version:
Id:
Unknown.java,v 1.1.1.1 2002/01/24 03:44:00 pserver Exp
Author:
M. Dahm
See also:
Attribute

Definition at line 16 of file lib/jpf/de/fub/bytecode/classfile/Unknown.java.


Constructor & Destructor Documentation

Unknown::Unknown int   name_index,
int   length,
byte   bytes[],
ConstantPool   constant_pool
[inline]
 

Create a non-standard attribute.

Parameters:
name_index   Index in constant pool
length   Content length in bytes
bytes   Attribute contents
constant_pool   Array of constants

Definition at line 30 of file lib/jpf/de/fub/bytecode/classfile/Unknown.java.

Unknown::Unknown int   name_index,
int   length,
DataInputStream   file,
ConstantPool   constant_pool
[inline, private]
 

Construct object from file stream.

Parameters:
name_index   Index in constant pool
length   Content length in bytes
file   Input stream
constant_pool   Array of constants
Exceptions:
IOException  

Definition at line 48 of file lib/jpf/de/fub/bytecode/classfile/Unknown.java.

Unknown::Unknown Unknown   c [inline]
 

Initialize from another object. Note that both objects use the same references (shallow copy). Use clone() for a physical copy.

Definition at line 63 of file lib/jpf/de/fub/bytecode/classfile/Unknown.java.

Unknown::Unknown int   name_index,
int   length,
byte   bytes[],
ConstantPool   constant_pool
[inline]
 

Create a non-standard attribute.

Parameters:
name_index   Index in constant pool
length   Content length in bytes
bytes   Attribute contents
constant_pool   Array of constants

Definition at line 30 of file src/de/fub/bytecode/classfile/Unknown.java.

Unknown::Unknown int   name_index,
int   length,
DataInputStream   file,
ConstantPool   constant_pool
[inline, private]
 

Construct object from file stream.

Parameters:
name_index   Index in constant pool
length   Content length in bytes
file   Input stream
constant_pool   Array of constants
Exceptions:
IOException  

Definition at line 48 of file src/de/fub/bytecode/classfile/Unknown.java.

Unknown::Unknown Unknown   c [inline]
 

Initialize from another object. Note that both objects use the same references (shallow copy). Use clone() for a physical copy.

Definition at line 63 of file src/de/fub/bytecode/classfile/Unknown.java.


Member Function Documentation

void Unknown::accept Visitor   v [inline, virtual]
 

Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.

Parameters:
v   Visitor object

Reimplemented from Attribute.

Definition at line 73 of file src/de/fub/bytecode/classfile/Unknown.java.

void Unknown::accept Visitor   v [inline, virtual]
 

Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.

Parameters:
v   Visitor object

Reimplemented from Attribute.

Definition at line 73 of file lib/jpf/de/fub/bytecode/classfile/Unknown.java.

Attribute Unknown::copy ConstantPool   constant_pool [inline, virtual]
 

Returns:
deep copy of this attribute

Reimplemented from Attribute.

Definition at line 79 of file src/de/fub/bytecode/classfile/Unknown.java.

Attribute Unknown::copy ConstantPool   constant_pool [inline, virtual]
 

Returns:
deep copy of this attribute

Reimplemented from Attribute.

Definition at line 79 of file lib/jpf/de/fub/bytecode/classfile/Unknown.java.

final void Unknown::dump DataOutputStream   file [inline]
 

Dump unknown bytes to file stream.

Parameters:
file   Output file stream
Exceptions:
IOException  

Reimplemented from Attribute.

Definition at line 94 of file src/de/fub/bytecode/classfile/Unknown.java.

final void Unknown::dump DataOutputStream   file [inline]
 

Dump unknown bytes to file stream.

Parameters:
file   Output file stream
Exceptions:
IOException  

Reimplemented from Attribute.

Definition at line 94 of file lib/jpf/de/fub/bytecode/classfile/Unknown.java.

final byte [] Unknown::getBytes   [inline]
 

Returns:
data bytes.

Definition at line 103 of file src/de/fub/bytecode/classfile/Unknown.java.

final byte [] Unknown::getBytes   [inline]
 

Returns:
data bytes.

Definition at line 103 of file lib/jpf/de/fub/bytecode/classfile/Unknown.java.

Referenced by Unknown().

final String Unknown::getName   [inline]
 

Returns:
name of attribute.

Definition at line 107 of file src/de/fub/bytecode/classfile/Unknown.java.

final String Unknown::getName   [inline]
 

Returns:
name of attribute.

Definition at line 107 of file lib/jpf/de/fub/bytecode/classfile/Unknown.java.

Unknown [] Unknown::getUnknownAttributes   [inline, static, private]
 

Returns:
array of unknown attributes, but just one for each kind.

Definition at line 110 of file src/de/fub/bytecode/classfile/Unknown.java.

Unknown [] Unknown::getUnknownAttributes   [inline, static, private]
 

Returns:
array of unknown attributes, but just one for each kind.

Definition at line 110 of file lib/jpf/de/fub/bytecode/classfile/Unknown.java.

final void Unknown::setBytes byte   bytes[] [inline]
 

Parameters:
bytes.  

Definition at line 123 of file src/de/fub/bytecode/classfile/Unknown.java.

final void Unknown::setBytes byte   bytes[] [inline]
 

Parameters:
bytes.  

Definition at line 123 of file lib/jpf/de/fub/bytecode/classfile/Unknown.java.

final String Unknown::toString   [inline]
 

Returns:
String representation.

Reimplemented from Attribute.

Definition at line 129 of file src/de/fub/bytecode/classfile/Unknown.java.

final String Unknown::toString   [inline]
 

Returns:
String representation.

Reimplemented from Attribute.

Definition at line 129 of file lib/jpf/de/fub/bytecode/classfile/Unknown.java.


The documentation for this class was generated from the following files:
Generated at Thu Feb 7 07:22:43 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001