org.millscript.millscript.loaders
Class ValueLoader

java.lang.Object
  extended by org.millscript.millscript.loaders.Loader
      extended by org.millscript.millscript.loaders.ValueLoader
All Implemented Interfaces:
org.millscript.commons.alert.AlertOrigin
Direct Known Subclasses:
DirectoryLoader, ExprLoader, JdbcConnectionLoader, LinesLoader, MapLoader, PreparedSQLLoader, PreparedSQLUpdateLoader, PropertiesLoader, RasterImageLoader, SingleLineLoader, SVLoader, TextLoader, TTFLoader, XMLLoader

public abstract class ValueLoader
extends Loader

This is the base class of all value loaders in MillScript. A value loader simply loads the contents of the source and binds it to the symbol registered with this loader.


Field Summary
 
Fields inherited from class org.millscript.millscript.loaders.Loader
entry, pack, symbol
 
Constructor Summary
ValueLoader()
           
 
Method Summary
 void loadBindings()
          Causes this loader to load it's bindings.
 
Methods inherited from class org.millscript.millscript.loaders.Loader
getInstance, getLineNumber, getOrigin, getSymbol, loadValue, 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

ValueLoader

public ValueLoader()
Method Detail

loadBindings

public void loadBindings()
                  throws java.io.IOException
Description copied from class: Loader
Causes this loader to load it's bindings. This will usually trigger the loader to load it's value, then compile it into the package.

Specified by:
loadBindings in class Loader
Throws:
java.io.IOException - if something goes wrong reading from the source
See Also:
Loader.loadBindings()


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