KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > modfact > jmi > repository > javax > jmi > model > GeneralizableElementClassImpl


1 package org.objectweb.modfact.jmi.repository.javax.jmi.model;
2 import org.objectweb.modfact.jmi.reflect.*;
3 public class GeneralizableElementClassImpl extends org.objectweb.modfact.jmi.reflect.RefClassImpl implements javax.jmi.model.GeneralizableElementClass {
4     public RefObjectImpl newObject() {
5         return new org.objectweb.modfact.jmi.repository.javax.jmi.model.GeneralizableElementImpl();
6     }
7     public Class JavaDoc newEnum(String JavaDoc n) {
8          throw new RuntimeException JavaDoc("invalide type");
9     }
10     public RefStructImpl newStruct(String JavaDoc n) {
11 throw new RuntimeException JavaDoc("invalide type");
12     }
13 }//end of interface
14
Popular Tags