org.millscript.millscript.loaders
Class BindingsLoader

java.lang.Object
  extended by org.millscript.millscript.loaders.Loader
      extended by org.millscript.millscript.loaders.BindingsLoader
All Implemented Interfaces:
org.millscript.commons.alert.AlertOrigin
Direct Known Subclasses:
MillScriptLoader

public abstract class BindingsLoader
extends Loader

This is the base class of all bindings loaders in MillScript. A bindings loader compiles the contents of the source into the package registered with this loader. Multiple bindings may be established, but a binding for the symbol registered with this pacakge must be one of them.


Field Summary
 
Fields inherited from class org.millscript.millscript.loaders.Loader
entry, pack, symbol
 
Constructor Summary
BindingsLoader()
           
 
Method Summary
 java.lang.Object loadValue()
          Causes this loader to load it's value.
 
Methods inherited from class org.millscript.millscript.loaders.Loader
getInstance, getLineNumber, getOrigin, getSymbol, loadBindings, newLoader, setContext, setLineNumber, setLoader, setOrigin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindingsLoader

public BindingsLoader()
Method Detail

loadValue

public java.lang.Object loadValue()
                           throws java.io.IOException
Description copied from class: Loader
Causes this loader to load it's value.

Specified by:
loadValue in class Loader
Returns:
the object that was loaded
Throws:
java.io.IOException - if something goes wrong reading from the source
See Also:
Loader.loadValue()


Copyright © 2001-2007 Open World Ltd. All Rights Reserved.