de.grogra.rgg.model
Class CompilationFilter
java.lang.Object
de.grogra.pf.io.FilterBase
de.grogra.rgg.model.CompilationFilter
- All Implemented Interfaces:
- Filter, FilterSource, ObjectSource, ResourceLoader, RegistryContext, Map
public class CompilationFilter
- extends FilterBase
- implements ObjectSource, ResourceLoader
Nested classes/interfaces inherited from interface de.grogra.util.Map |
Map.Chain |
Methods inherited from class de.grogra.pf.io.FilterBase |
get, getFilter, getFlavor, getImpl, getMetaData, getRegistry, getSource, getSystemId, initProgressMonitor, setFlavor, setMetaData, setMetaData, setProgress, setSystemId, toString, toURL |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COMPILATION_UNIT_TYPE
public static final MimeType COMPILATION_UNIT_TYPE
CUNIT_FLAVOR
public static final IOFlavor CUNIT_FLAVOR
DEACTIVATION_CATEGORY
public static final java.lang.String DEACTIVATION_CATEGORY
- See Also:
- Constant Field Values
DUMP_TYPES
public static boolean DUMP_TYPES
WRITE_CLASSES
public static boolean WRITE_CLASSES
CompilationFilter
public CompilationFilter(FilterItem item,
FilterSource source)
addResource
public boolean addResource(FilterSource source)
- Specified by:
addResource
in interface ResourceLoader
compile
public Type[] compile(de.grogra.xl.compiler.CClass shell,
java.lang.ClassLoader parentLoader)
throws java.io.IOException
- Throws:
java.io.IOException
getCompilationUnit
public de.grogra.xl.compiler.scope.CompilationUnitScope getCompilationUnit()
getJoinedDeactivationCategory
public java.lang.String getJoinedDeactivationCategory()
- Specified by:
getJoinedDeactivationCategory
in interface ResourceLoader
getObject
public java.lang.Object getObject()
- Description copied from interface:
ObjectSource
- Returns the data as an object of a class which is compatible which
the flavor.
- Specified by:
getObject
in interface ObjectSource
- Returns:
- the data
loadResource
public void loadResource(Registry r)
throws java.io.IOException
- Specified by:
loadResource
in interface ResourceLoader
- Throws:
java.io.IOException