FileDocCategorySizeDatePackage
FunctionMapperFactory.javaAPI DocGlassfish v2 API3095Fri May 04 22:31:18 BST 2007com.sun.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: tcfujii $

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;