Eidola home

org.eidola.kernel
Class Element.Compilation

java.lang.Object
  |
  +--org.eidola.kernel.Container.Compilation
        |
        +--org.eidola.kernel.Element.Compilation
Direct Known Subclasses:
NamedElement.Compilation
Enclosing class:
Element

public abstract class Element.Compilation
extends Container.Compilation


Field Summary
protected  Set elementsUsed
           
 
Fields inherited from class org.eidola.kernel.Container.Compilation
contents
 
Constructor Summary
Element.Compilation()
          Creates an empty compilation.
 
Method Summary
protected  void checkLazy()
          Checks that this element has an owner and is among its owner's contents.
 Set getElementsUsed()
          Returns the set of elements which this element uses.
 
Methods inherited from class org.eidola.kernel.Container.Compilation
addError, calculateDerived, getCompileVersion, getContents, getErrors, hasErrors, isCurrent, run, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

elementsUsed

protected Set elementsUsed
Constructor Detail

Element.Compilation

public Element.Compilation()
Creates an empty compilation.
Method Detail

getElementsUsed

public Set getElementsUsed()
Returns the set of elements which this element uses. This includes, at the very least, the element itself, its owner, and its contents.

checkLazy

protected void checkLazy()
Checks that this element has an owner and is among its owner's contents. This also performs the checks in Container.Compilation.checkLazy().
Overrides:
checkLazy in class Container.Compilation

Eidola home