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

com.firefly.template.function.RemoveAttributeFunction Maven / Gradle / Ivy

There is a newer version: 4.0.20
Show newest version
package com.firefly.template.function;

import java.io.OutputStream;

import com.firefly.template.Function;
import com.firefly.template.Model;

public class RemoveAttributeFunction implements Function {

	@Override
	public void render(Model model, OutputStream out, Object... obj) throws Throwable {
		if(obj != null)
			for(Object key : obj)
				model.remove((String)key);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy