All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.mmm.util.pojo.path.api.PojoPathFunctionManager Maven / Gradle / Ivy

There is a newer version: 8.7.0
Show newest version
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
 * http://www.apache.org/licenses/LICENSE-2.0 */
package net.sf.mmm.util.pojo.path.api;

import net.sf.mmm.util.component.api.ComponentSpecification;

/**
 * This is the interface for a manager of {@link PojoPathFunction}s. 
* Typically a {@link PojoPathNavigator} instance will have an {@link PojoPathFunctionManager} to * {@link #getFunction(String) resolve} {@link PojoPathFunction}s. Further the {@link PojoPathContext} can * {@link PojoPathContext#getAdditionalFunctionManager() provide additional functions} that are used prior. * * @see #getFunction(String) * * @author Joerg Hohwiller (hohwille at users.sourceforge.net) * @since 1.1.0 */ @ComponentSpecification public interface PojoPathFunctionManager { /** * This method gets a {@link PojoPathFunction} by its name. Therefore the {@link PojoPathFunction} instance * has to be registered somehow in the implementation of {@link PojoPathFunctionManager this} interface. * * @param functionName is the name of the requested {@link PojoPathFunction} excluding the * {@link PojoPathFunction#FUNCTION_NAME_PREFIX prefix}. * @return the requested {@link PojoPathFunction} or {@code null} if no {@link PojoPathFunction} is * registered for the given {@code functionName}. */ @SuppressWarnings("rawtypes") PojoPathFunction getFunction(String functionName); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy