org.openl.conf
Class OpenSchemaConfiguration

java.lang.Object
  extended by org.openl.conf.AConfigurationElement
      extended by org.openl.conf.OpenSchemaConfiguration
All Implemented Interfaces:
IConfigurationElement, ITypeFactoryConfigurationElement

public class OpenSchemaConfiguration
extends AConfigurationElement
implements ITypeFactoryConfigurationElement

Author:
snshor

Constructor Summary
OpenSchemaConfiguration()
           
 
Method Summary
 ITypeLibrary getLibrary(IConfigurableResourceContext cxt)
           
 void setFactory(String string)
           
 void setFile(File f)
           
 void setURL(String x)
           
 void validate(IConfigurableResourceContext cxt)
          Checks that configuration is valid, for example that class exists and conforms to the interface
 
Methods inherited from class org.openl.conf.AConfigurationElement
getUri, setUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openl.conf.IConfigurationElement
getUri
 

Constructor Detail

OpenSchemaConfiguration

public OpenSchemaConfiguration()
Method Detail

getLibrary

public ITypeLibrary getLibrary(IConfigurableResourceContext cxt)
Specified by:
getLibrary in interface ITypeFactoryConfigurationElement

setFactory

public void setFactory(String string)
Parameters:
string -

setFile

public void setFile(File f)
             throws Exception
Throws:
Exception

setURL

public void setURL(String x)
            throws Exception
Throws:
Exception

validate

public void validate(IConfigurableResourceContext cxt)
              throws OpenConfigurationException
Description copied from interface: IConfigurationElement
Checks that configuration is valid, for example that class exists and conforms to the interface

Specified by:
validate in interface IConfigurationElement
Throws:
OpenConfigurationException


Copyright © 2013. All Rights Reserved.