com.spoledge.audao.parser.gql.impl.soft
Class SoftFunctionFactoryImpl

java.lang.Object
  extended by com.spoledge.audao.parser.gql.impl.soft.SoftFunctionFactory
      extended by com.spoledge.audao.parser.gql.impl.soft.SoftFunctionFactoryImpl

public class SoftFunctionFactoryImpl
extends SoftFunctionFactory

The implementation of the SoftFunctionFactory.


Constructor Summary
SoftFunctionFactoryImpl(java.lang.String packageName, java.lang.String classNamePrefix, java.lang.String classNameSuffix)
           
 
Method Summary
 void defineSoftFunction(java.lang.String name, SoftFunction func)
          Defines a new function.
 SoftFunction getSoftFunction(java.lang.String name)
          Returns the associated function.
 
Methods inherited from class com.spoledge.audao.parser.gql.impl.soft.SoftFunctionFactory
getDefaultFactory, setDefaultFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoftFunctionFactoryImpl

public SoftFunctionFactoryImpl(java.lang.String packageName,
                               java.lang.String classNamePrefix,
                               java.lang.String classNameSuffix)
Method Detail

getSoftFunction

public SoftFunction getSoftFunction(java.lang.String name)
Returns the associated function.

Specified by:
getSoftFunction in class SoftFunctionFactory

defineSoftFunction

public void defineSoftFunction(java.lang.String name,
                               SoftFunction func)
Defines a new function. It a function with the same name already exists, then it should throw an exception. This is an optional operation.

Overrides:
defineSoftFunction in class SoftFunctionFactory
Throws:
java.lang.UnsupportedOperationException - when this operation is not supported by the implementation


Copyright © 2010 Spolecne s.r.o. All Rights Reserved.