KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > modfact > jmi > repository > simpletrl > CollectionExpClassImpl


1 package org.objectweb.modfact.jmi.repository.simpletrl;
2 import org.objectweb.modfact.jmi.reflect.*;
3 public class CollectionExpClassImpl extends org.objectweb.modfact.jmi.reflect.RefClassImpl implements simpletrl.CollectionExpClass {
4     public RefObjectImpl newObject() {
5         return new org.objectweb.modfact.jmi.repository.simpletrl.CollectionExpImpl();
6     }
7     public Class JavaDoc newEnum(String JavaDoc n) {
8          throw new RuntimeException JavaDoc("invalide EnumType : '" + n + "'");
9     }
10     public RefStructImpl newStruct(String JavaDoc n) {
11          throw new RuntimeException JavaDoc("invalide StructureType: '" + n + "'");
12     }
13 }//end of interface
14
Popular Tags