Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
The contents of this file are subject to the terms of the Common Development and Distribution License (the License). You may not use this file except in compliance with the License. You can obtain a copy of the License at https://javaserverfaces.dev.java.net/CDDL.html or legal/CDDLv1.0.txt. See the License for the specific language governing permission and limitations under the License. When distributing Covered Code, include this CDDL Header Notice in each file and include the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL Header, with the fields enclosed by brackets [] replaced by your own identifying information: "Portions Copyrighted [year] [name of copyright owner]" [Name of File] [ver.__] [Date] Copyright 2006 Sun Microsystems Inc. All Rights Reserved
 
 package javax.faces.component.html;
 
 import java.util.List;
 
 
 
 /*
  * ******* GENERATED CODE - DO NOT EDIT *******
  */


By default, the rendererType property must be set to "javax.faces.Message". This value can be changed by calling the setRendererType() method.

 
 public class HtmlMessage extends javax.faces.component.UIMessage {
 
 
 
     public HtmlMessage() {
         super();
         setRendererType("javax.faces.Message");
     }


    

The standard component type for this component.

 
     public static final String COMPONENT_TYPE = "javax.faces.HtmlMessage";
 
 
     private java.lang.String dir;

    

Return the value of the dir property.

Contents: Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left).

 
     public java.lang.String getDir() {
         if (null != this.) {
             return this.;
         }
         ValueExpression _ve = getValueExpression("dir");
         if (_ve != null) {
             return (java.lang.String_ve.getValue(getFacesContext().getELContext());
         } else {
             return null;
         }
     }

    

Set the value of the dir property.

 
     public void setDir(java.lang.String dir) {
         this. = dir;
     }
 
 
     private java.lang.String errorClass;

    

Return the value of the errorClass property.

Contents: CSS style class to apply to any message with a severity class of "ERROR".

 
     public java.lang.String getErrorClass() {
         if (null != this.) {
             return this.;
         }
        ValueExpression _ve = getValueExpression("errorClass");
        if (_ve != null) {
            return (java.lang.String_ve.getValue(getFacesContext().getELContext());
        } else {
            return null;
        }
    }

    

Set the value of the errorClass property.

    public void setErrorClass(java.lang.String errorClass) {
        this. = errorClass;
    }
    private java.lang.String errorStyle;

    

Return the value of the errorStyle property.

Contents: CSS style(s) to apply to any message with a severity class of "ERROR".

    public java.lang.String getErrorStyle() {
        if (null != this.) {
            return this.;
        }
        ValueExpression _ve = getValueExpression("errorStyle");
        if (_ve != null) {
            return (java.lang.String_ve.getValue(getFacesContext().getELContext());
        } else {
            return null;
        }
    }

    

Set the value of the errorStyle property.

    public void setErrorStyle(java.lang.String errorStyle) {
        this. = errorStyle;
    }
    private java.lang.String fatalClass;

    

Return the value of the fatalClass property.

Contents: CSS style class to apply to any message with a severity class of "FATAL".

    public java.lang.String getFatalClass() {
        if (null != this.) {
            return this.;
        }
        ValueExpression _ve = getValueExpression("fatalClass");
        if (_ve != null) {
            return (java.lang.String_ve.getValue(getFacesContext().getELContext());
        } else {
            return null;
        }
    }

    

Set the value of the fatalClass property.

    public void setFatalClass(java.lang.String fatalClass) {
        this. = fatalClass;
    }
    private java.lang.String fatalStyle;

    

Return the value of the fatalStyle property.

Contents: CSS style(s) to apply to any message with a severity class of "FATAL".

    public java.lang.String getFatalStyle() {
        if (null != this.) {
            return this.;
        }
        ValueExpression _ve = getValueExpression("fatalStyle");
        if (_ve != null) {
            return (java.lang.String_ve.getValue(getFacesContext().getELContext());
        } else {
            return null;
        }
    }

    

Set the value of the fatalStyle property.

    public void setFatalStyle(java.lang.String fatalStyle) {
        this. = fatalStyle;
    }
    private java.lang.String infoClass;

    

Return the value of the infoClass property.

Contents: CSS style class to apply to any message with a severity class of "INFO".

    public java.lang.String getInfoClass() {
        if (null != this.) {
            return this.;
        }
        ValueExpression _ve = getValueExpression("infoClass");
        if (_ve != null) {
            return (java.lang.String_ve.getValue(getFacesContext().getELContext());
        } else {
            return null;
        }
    }

    

Set the value of the infoClass property.

    public void setInfoClass(java.lang.String infoClass) {
        this. = infoClass;
    }
    private java.lang.String infoStyle;

    

Return the value of the infoStyle property.

Contents: CSS style(s) to apply to any message with a severity class of "INFO".

    public java.lang.String getInfoStyle() {
        if (null != this.) {
            return this.;
        }
        ValueExpression _ve = getValueExpression("infoStyle");
        if (_ve != null) {
            return (java.lang.String_ve.getValue(getFacesContext().getELContext());
        } else {
            return null;
        }
    }

    

Set the value of the infoStyle property.

    public void setInfoStyle(java.lang.String infoStyle) {
        this. = infoStyle;
    }
    private java.lang.String lang;

    

Return the value of the lang property.

Contents: Code describing the language used in the generated markup for this component.

    public java.lang.String getLang() {
        if (null != this.) {
            return this.;
        }
        ValueExpression _ve = getValueExpression("lang");
        if (_ve != null) {
            return (java.lang.String_ve.getValue(getFacesContext().getELContext());
        } else {
            return null;
        }
    }

    

Set the value of the lang property.

    public void setLang(java.lang.String lang) {
        this. = lang;
    }
    private java.lang.String style;

    

Return the value of the style property.

Contents: CSS style(s) to be applied when this component is rendered.

    public java.lang.String getStyle() {
        if (null != this.) {
            return this.;
        }
        ValueExpression _ve = getValueExpression("style");
        if (_ve != null) {
            return (java.lang.String_ve.getValue(getFacesContext().getELContext());
        } else {
            return null;
        }
    }

    

Set the value of the style property.

    public void setStyle(java.lang.String style) {
        this. = style;
    }
    private java.lang.String styleClass;

    

Return the value of the styleClass property.

Contents: Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.

    public java.lang.String getStyleClass() {
        if (null != this.) {
            return this.;
        }
        ValueExpression _ve = getValueExpression("styleClass");
        if (_ve != null) {
            return (java.lang.String_ve.getValue(getFacesContext().getELContext());
        } else {
            return null;
        }
    }

    

Set the value of the styleClass property.

    public void setStyleClass(java.lang.String styleClass) {
        this. = styleClass;
    }
    private java.lang.String title;

    

Return the value of the title property.

Contents: Advisory title information about markup elements generated for this component.

    public java.lang.String getTitle() {
        if (null != this.) {
            return this.;
        }
        ValueExpression _ve = getValueExpression("title");
        if (_ve != null) {
            return (java.lang.String_ve.getValue(getFacesContext().getELContext());
        } else {
            return null;
        }
    }

    

Set the value of the title property.

    public void setTitle(java.lang.String title) {
        this. = title;
    }
    private boolean tooltip = false;
    private boolean tooltip_set = false;

    

Return the value of the tooltip property.

Contents: Flag indicating whether the detail portion of the message should be displayed as a tooltip.

    public boolean isTooltip() {
        if (this.) {
            return this.;
        }
        ValueExpression _ve = getValueExpression("tooltip");
        if (_ve != null) {
            Object _result = _ve.getValue(getFacesContext().getELContext());
            if (_result == null) {
                return false;
            } else {
                return ((java.lang.Boolean_result).booleanValue();
            }
        } else {
            return this.;
        }
    }

    

Set the value of the tooltip property.

    public void setTooltip(boolean tooltip) {
        this. = tooltip;
        this. = true;
    }
    private java.lang.String warnClass;

    

Return the value of the warnClass property.

Contents: CSS style class to apply to any message with a severity class of "WARN".

    public java.lang.String getWarnClass() {
        if (null != this.) {
            return this.;
        }
        ValueExpression _ve = getValueExpression("warnClass");
        if (_ve != null) {
            return (java.lang.String_ve.getValue(getFacesContext().getELContext());
        } else {
            return null;
        }
    }

    

Set the value of the warnClass property.

    public void setWarnClass(java.lang.String warnClass) {
        this. = warnClass;
    }
    private java.lang.String warnStyle;

    

Return the value of the warnStyle property.

Contents: CSS style(s) to apply to any message with a severity class of "WARN".

    public java.lang.String getWarnStyle() {
        if (null != this.) {
            return this.;
        }
        ValueExpression _ve = getValueExpression("warnStyle");
        if (_ve != null) {
            return (java.lang.String_ve.getValue(getFacesContext().getELContext());
        } else {
            return null;
        }
    }

    

Set the value of the warnStyle property.

    public void setWarnStyle(java.lang.String warnStyle) {
        this. = warnStyle;
    }
    private Object[] _values;
    public Object saveState(FacesContext _context) {
        if ( == null) {
             = new Object[16];
        }
        [0] = super.saveState(_context);
        [1] = ;
        [2] = ;
        [3] = ;
        [4] = ;
        [5] = ;
        [6] = ;
        [7] = ;
        [8] = ;
        [9] = ;
        [10] = ;
        [11] = ;
        [12] = this. ? . : .;
        [13] = this. ? . : .;
        [14] = ;
        [15] = ;
        return ;
    public void restoreState(FacesContext _contextObject _state) {
         = (Object[]) _state;
        super.restoreState(_context, _values[0]);
        this. = (java.lang.String[1];
        this. = (java.lang.String[2];
        this. = (java.lang.String[3];
        this. = (java.lang.String[4];
        this. = (java.lang.String[5];
        this. = (java.lang.String[6];
        this. = (java.lang.String[7];
        this. = (java.lang.String[8];
        this. = (java.lang.String[9];
        this. = (java.lang.String[10];
        this. = (java.lang.String[11];
        this. = ((java.lang.Boolean[12]).booleanValue();
        this. = ((Boolean[13]).booleanValue();
        this. = (java.lang.String[14];
        this. = (java.lang.String[15];
    }
New to GrepCode? Check out our FAQ X