javax.faces.component.html.HtmlOutputText Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of myfaces-api Show documentation
Show all versions of myfaces-api Show documentation
The public API classes of the Apache MyFaces CORE JSF-2.2 project
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package javax.faces.component.html;
import javax.el.ValueExpression;
import javax.faces.context.FacesContext;
import javax.faces.component.UIComponent;
import javax.faces.convert.Converter;
// Generated from class javax.faces.component.html._HtmlOutputText.
//
// WARNING: This file was automatically generated. Do not edit it directly,
// or you will lose your changes.
public class HtmlOutputText extends javax.faces.component.UIOutput
{
static public final String COMPONENT_FAMILY =
"javax.faces.Output";
static public final String COMPONENT_TYPE =
"javax.faces.HtmlOutputText";
public HtmlOutputText()
{
setRendererType("javax.faces.Text");
}
@Override
public String getFamily()
{
return COMPONENT_FAMILY;
}
// Property: style
private String _style;
public String getStyle()
{
if (_style != null)
{
return _style;
}
ValueExpression vb = getValueExpression("style");
if (vb != null)
{
return (String) vb.getValue(getFacesContext().getELContext());
}
return null;
}
public void setStyle(String style)
{
this._style = style;
}
// Property: styleClass
private String _styleClass;
public String getStyleClass()
{
if (_styleClass != null)
{
return _styleClass;
}
ValueExpression vb = getValueExpression("styleClass");
if (vb != null)
{
return (String) vb.getValue(getFacesContext().getELContext());
}
return null;
}
public void setStyleClass(String styleClass)
{
this._styleClass = styleClass;
}
// Property: escape
private boolean _escape;
private boolean _escapeSet;
public boolean isEscape()
{
if (_escapeSet)
{
return _escape;
}
ValueExpression vb = getValueExpression("escape");
if (vb != null)
{
return ((Boolean) vb.getValue(getFacesContext().getELContext())).booleanValue();
}
return true;
}
public void setEscape(boolean escape)
{
this._escape = escape;
this._escapeSet = true;
}
// Property: dir
private String _dir;
public String getDir()
{
if (_dir != null)
{
return _dir;
}
ValueExpression vb = getValueExpression("dir");
if (vb != null)
{
return (String) vb.getValue(getFacesContext().getELContext());
}
return null;
}
public void setDir(String dir)
{
this._dir = dir;
}
// Property: lang
private String _lang;
public String getLang()
{
if (_lang != null)
{
return _lang;
}
ValueExpression vb = getValueExpression("lang");
if (vb != null)
{
return (String) vb.getValue(getFacesContext().getELContext());
}
return null;
}
public void setLang(String lang)
{
this._lang = lang;
}
// Property: title
private String _title;
public String getTitle()
{
if (_title != null)
{
return _title;
}
ValueExpression vb = getValueExpression("title");
if (vb != null)
{
return (String) vb.getValue(getFacesContext().getELContext());
}
return null;
}
public void setTitle(String title)
{
this._title = title;
}
@Override
public Object saveState(FacesContext facesContext)
{
Object[] values = new Object[8];
values[0] = super.saveState(facesContext);
values[1] = _style;
values[2] = _styleClass;
values[3] = Boolean.valueOf(_escape);
values[4] = Boolean.valueOf(_escapeSet);
values[5] = _dir;
values[6] = _lang;
values[7] = _title;
return values;
}
@Override
public void restoreState(FacesContext facesContext, Object state)
{
Object[] values = (Object[])state;
super.restoreState(facesContext,values[0]);
_style = (java.lang.String) values[1];
_styleClass = (java.lang.String) values[2];
_escape = ((Boolean) values[3]).booleanValue();
_escapeSet = ((Boolean) values[4]).booleanValue();
_dir = (java.lang.String) values[5];
_lang = (java.lang.String) values[6];
_title = (java.lang.String) values[7];
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy