org.media.mn8
Class ConceptRegister

java.lang.Object
  |
  +--org.media.mn8.ConceptRegister

public class ConceptRegister
extends java.lang.Object

Version:
$Revision: 1.7 $ $Date: 2002/06/05 14:55:35 $
Author:
Remus Pereni

Method Summary
static void cleanAll()
           
static ConceptRegister getReference()
          Describe 'getReference' method here.
static void initialize()
           
 boolean isConceptNamed(java.lang.String name)
           
 java.util.Enumeration listConcepts()
           
 java.util.Enumeration listConceptsName()
           
 java.lang.Object lookup(java.lang.String name)
           
 void register(java.lang.String name, java.lang.Object concept)
          Describe constructor here.
 java.lang.String resolveClass(java.lang.String className)
          Given a class name, tries to find if there is a concept associated with it.
 void unregister(java.lang.String name)
          Describe constructor here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

initialize

public static void initialize()

cleanAll

public static void cleanAll()

getReference

public static ConceptRegister getReference()
Describe 'getReference' method here.
Parameters:
nil - a value of type ''
Returns:
a value of type 'ConceptRegister'

register

public void register(java.lang.String name,
                     java.lang.Object concept)
Describe constructor here.
Parameters:
name - a value of type 'String'
concept - a value of type 'Concept'

unregister

public void unregister(java.lang.String name)
Describe constructor here.
Parameters:
name - a value of type 'String'

lookup

public java.lang.Object lookup(java.lang.String name)

listConceptsName

public java.util.Enumeration listConceptsName()

listConcepts

public java.util.Enumeration listConcepts()

isConceptNamed

public boolean isConceptNamed(java.lang.String name)

resolveClass

public java.lang.String resolveClass(java.lang.String className)
Given a class name, tries to find if there is a concept associated with it.

It does this by:

Parameters:
className - the class name as given by Class.getName();
Returns:
the concept name if it is one associated with this class or null if it is none.


"Copyright © 2001 Internet Multicasting Services & media.org. All Rights Reserved."