openjava.mop
Class MetaInfo

java.lang.Object
  |
  +--openjava.mop.MetaInfo

public final class MetaInfo
extends Object

OpenJava metadata about a class.

Since:
%SOFTWARE% 1.0
Version:
1.0
Author:
Michiaki Tatsubori
See Also:
Object

Field Summary
static String DEFAULT_METACLASS
           
static String FIELD_NAME
           
static String METACLASS_KEY
           
private  String packname
           
private  String simpleclassname
           
static String SUFFIX
           
private  Hashtable table
           
 
Constructor Summary
MetaInfo(Class clazz)
           
MetaInfo(String classname)
           
MetaInfo(String metaclassname, String classname)
           
 
Method Summary
(package private) static String defaultMetaclass(String classname)
           
 Enumeration elements()
           
 String get(String key)
           
 Enumeration keys()
           
private  String makePack()
           
private  void printSet(PrintWriter out, Object keyobj, Object valueobj)
           
 String put(String key, String value)
           
private  String qualifiedClassName()
           
static String toFlattenString(String src_str)
           
 void write(Writer destout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METACLASS_KEY

public static final String METACLASS_KEY
See Also:
Constant Field Values

DEFAULT_METACLASS

public static final String DEFAULT_METACLASS
See Also:
Constant Field Values

SUFFIX

public static final String SUFFIX
See Also:
Constant Field Values

FIELD_NAME

public static final String FIELD_NAME
See Also:
Constant Field Values

table

private Hashtable table

packname

private String packname

simpleclassname

private String simpleclassname
Constructor Detail

MetaInfo

public MetaInfo(String metaclassname,
                String classname)

MetaInfo

public MetaInfo(String classname)

MetaInfo

public MetaInfo(Class clazz)
Method Detail

defaultMetaclass

static String defaultMetaclass(String classname)

qualifiedClassName

private String qualifiedClassName()

write

public void write(Writer destout)
           throws IOException
IOException

makePack

private String makePack()

printSet

private void printSet(PrintWriter out,
                      Object keyobj,
                      Object valueobj)

put

public String put(String key,
                  String value)

get

public String get(String key)

keys

public Enumeration keys()

elements

public Enumeration elements()

toFlattenString

public static String toFlattenString(String src_str)

SourceForge.net_Logo