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 *******
  */


Represents a component that looks up a localized message in a resource bundle, optionally uses it as a MessageFormat pattern string and substitutes in parameter values from nested UIParameter components, and renders the result. If the "dir" or "lang" attributes are present, render a span element and pass them through as attributes on the span.

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

 
 public class HtmlOutputFormat extends javax.faces.component.UIOutput {
 
 
 
     public HtmlOutputFormat() {
         super();
         setRendererType("javax.faces.Format");
     }


    

The standard component type for this component.

 
     public static final String COMPONENT_TYPE = "javax.faces.HtmlOutputFormat";
 
 
     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 boolean escape = true;
     private boolean escape_set = false;

    

Return the value of the escape property.

Contents: Flag indicating that characters that are sensitive in HTML and XML markup must be escaped. This flag is set to "true" by default.

    public boolean isEscape() {
        if (this.) {
            return this.;
        }
        ValueExpression _ve = getValueExpression("escape");
        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 escape property.

    public void setEscape(boolean escape) {
        this. = escape;
        this. = true;
    }
    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 Object[] _values;
    public Object saveState(FacesContext _context) {
        if ( == null) {
             = new Object[8];
        }
        [0] = super.saveState(_context);
        [1] = ;
        [2] = this. ? . : .;
        [3] = this. ? . : .;
        [4] = ;
        [5] = ;
        [6] = ;
        [7] = ;
        return ;
    public void restoreState(FacesContext _contextObject _state) {
         = (Object[]) _state;
        super.restoreState(_context, _values[0]);
        this. = (java.lang.String[1];
        this. = ((java.lang.Boolean[2]).booleanValue();
        this. = ((Boolean[3]).booleanValue();
        this. = (java.lang.String[4];
        this. = (java.lang.String[5];
        this. = (java.lang.String[6];
        this. = (java.lang.String[7];
    }
New to GrepCode? Check out our FAQ X