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

com.sun.faces.component.search.SearchExpressionContextImpl Maven / Gradle / Ivy

Go to download

This is the master POM file for Oracle's Implementation of the JSF 2.2 Specification.

There is a newer version: 2.4.0
Show newest version
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.sun.faces.component.search;

import java.util.Set;
import javax.faces.component.UIComponent;
import javax.faces.component.search.SearchExpressionContext;
import javax.faces.component.search.SearchExpressionHint;
import javax.faces.component.visit.VisitHint;
import javax.faces.context.FacesContext;

public class SearchExpressionContextImpl extends SearchExpressionContext {

    private final FacesContext facesContext;

    private UIComponent source;
    private Set visitHints;
    private Set expressionHints;

    public SearchExpressionContextImpl(FacesContext facesContext) {
        this.facesContext = facesContext;
    }

    @Override
    public UIComponent getSource() {
        return source;
    }

    public void setSource(UIComponent source) {
        this.source = source;
    }

    @Override
    public Set getVisitHints() {
        return visitHints;
    }

    public void setVisitHints(Set visitHints) {
        this.visitHints = visitHints;
    }

    @Override
    public Set getExpressionHints() {
        return expressionHints;
    }

    public void setExpressionHints(Set expressionHints) {
        this.expressionHints = expressionHints;
    }

    @Override
    public FacesContext getFacesContext() {
        return facesContext;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy