Overview | Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 Class Summary

Nested classes/interfaces inherited from interface de.grogra.pf.io.FilterSource
`FilterSource.MetaDataKey<V>`

Nested classes/interfaces inherited from interface de.grogra.util.Map
`Map.Chain`

Field Summary
`static MimeType` | `COMPILATION_UNIT_TYPE`
`static IOFlavor` | `CUNIT_FLAVOR`
`static java.lang.String` | `DEACTIVATION_CATEGORY`
`static boolean` | `DUMP_TYPES`
`static boolean` | `WRITE_CLASSES`

Fields inherited from class de.grogra.pf.io.FilterBase
`item, source`

Fields inherited from interface de.grogra.pf.io.FilterSource
`AUTO_PROGRESS, DESTINATION_FILE, DESTINATION_URL`

Fields inherited from interface de.grogra.util.Map
`DEFAULT_VALUE, EMPTY_MAP`

Constructor Summary
`CompilationFilter(FilterItem item, FilterSource source)`

Method Summary
`boolean` | `addResource(FilterSource source)`
`Type[]` | `compile(de.grogra.xl.compiler.CClass shell, java.lang.ClassLoader parentLoader)`
`de.grogra.xl.compiler.scope.CompilationUnitScope` | `getCompilationUnit()`
`java.lang.String` | `getJoinedDeactivationCategory()`
`java.lang.Object` | `getObject()` Returns the data as an object of a class which is compatible which the flavor.
`void` | `loadResource(Registry r)`

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`

Methods inherited from interface de.grogra.pf.io.FilterSource
`getFilter, getFlavor, getMetaData, getSystemId, initProgressMonitor, setMetaData, setProgress`

Methods inherited from interface de.grogra.pf.registry.RegistryContext
`getRegistry`

Field Detail

### 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

Constructor Detail

### CompilationFilter

    public CompilationFilter(FilterItem item,
                             FilterSource source)

Method Detail

### 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`

Overview | Package | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD