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

org.richfaces.renderkit.html.NullConverterScript Maven / Gradle / Ivy

There is a newer version: 4.3.7.Final
Show newest version
/**
 *
 */
package org.richfaces.renderkit.html;

import java.util.Collections;

import org.ajax4jsf.javascript.JSLiteral;
import org.ajax4jsf.javascript.ScriptWithDependencies;
import org.richfaces.resource.ResourceKey;

/**
 * This class represents "dummy" converter call ( just refference to "value" variable )
 *
 * @author asmirnov
 *
 */
public class NullConverterScript extends JSLiteral implements ScriptWithDependencies {
    private String name;

    public NullConverterScript() {
        super(ClientValidatorRenderer.VALUE_VAR);
    }

    public String getName() {
        return name;
    }

    /*
     * (non-Javadoc)
     *
     * @see org.richfaces.renderkit.html.LibraryScriptString#getResource()
     */
    public Iterable getResources() {
        return Collections.emptySet();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy