FileDocCategorySizeDatePackage
FunctionMapperFactory.javaAPI DocApache Tomcat 6.0.142020Fri Jul 20 04:20:32 BST 2007org.apache.el.lang

FunctionMapperFactory

public class FunctionMapperFactory extends FunctionMapper
author
Jacob Hookom [jacob@hookom.net]
version
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: markt $

Fields Summary
protected FunctionMapperImpl
memento
protected FunctionMapper
target
Constructors Summary
public FunctionMapperFactory(FunctionMapper mapper)

    
       
        if (mapper == null) {
            throw new NullPointerException("FunctionMapper target cannot be null");
        }
        this.target = mapper;
    
Methods Summary
public javax.el.FunctionMappercreate()

        return this.memento;
    
public java.lang.reflect.MethodresolveFunction(java.lang.String prefix, java.lang.String localName)

        if (this.memento == null) {
            this.memento = new FunctionMapperImpl();
        }
        Method m = this.target.resolveFunction(prefix, localName);
        if (m != null) {
            this.memento.addFunction(prefix, localName, m);
        }
        return m;