org.richfaces.renderkit.MessageForRender Maven / Gradle / Ivy
package org.richfaces.renderkit;
import javax.faces.application.FacesMessage;
import javax.faces.application.FacesMessage.Severity;
public class MessageForRender {
private final FacesMessage msg;
private final String sourceId;
public MessageForRender(FacesMessage msg, String sourceId) {
this.msg = msg;
this.sourceId = sourceId;
}
/**
*
*
*
* @see javax.faces.application.FacesMessage#getDetail()
*/
public String getDetail() {
return this.msg.getDetail();
}
/**
*
*
*
* @see javax.faces.application.FacesMessage#getSeverity()
*/
public Severity getSeverity() {
return this.msg.getSeverity();
}
/**
*
*
*
* @see javax.faces.application.FacesMessage#getSummary()
*/
public String getSummary() {
return this.msg.getSummary();
}
/**
*
*
*
* @see javax.faces.application.FacesMessage#isRendered()
*/
public boolean isRendered() {
return this.msg.isRendered();
}
/**
*
*
*
* @see javax.faces.application.FacesMessage#rendered()
*/
public void rendered() {
this.msg.rendered();
}
/**
*
*
*
* @return the sourceId
*/
public String getSourceId() {
return sourceId;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy