BEA Systems, Inc.

com.beasys.commerce.axiom.reasoning.rules.jrules
Class JRulesElementFactory

java.lang.Object
  |
  +--com.beasys.commerce.axiom.reasoning.rules.jrules.JRulesElementFactory

public class JRulesElementFactory
extends java.lang.Object

Implements a factory for JRules language elements


Field Summary
static java.util.Map elementClassMap
          The map of element names to element classes
 
Constructor Summary
JRulesElementFactory()
           
 
Method Summary
 JRulesLanguageElement createElement(java.lang.String elementName)
          Creates a language element
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elementClassMap

public static java.util.Map elementClassMap
The map of element names to element classes
Constructor Detail

JRulesElementFactory

public JRulesElementFactory()
Method Detail

createElement

public JRulesLanguageElement createElement(java.lang.String elementName)
                                    throws java.lang.IllegalArgumentException,
                                           ServiceProviderException
Creates a language element
Parameters:
elementName -  
Returns:
The new language element
Throws:
java.lang.IllegalArgumentException - Thrown if elementName is null or zero-length
ServiceProviderException - Thrown if unable to create the element

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved