// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space
// Source File Name: UIComponentBase.java
package javax.faces.component;
import java.beans.*;
import java.io.IOException;
import java.io.Serializable;
import java.lang.reflect.*;
import java.util.*;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.el.ELException;
import javax.el.ValueExpression;
import javax.faces.FacesException;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
import javax.faces.event.*;
import javax.faces.render.RenderKit;
import javax.faces.render.Renderer;
// Referenced classes of package javax.faces.component:
// UIComponent, NamingContainer, StateHolderSaver, UIViewRoot,
// ValueBindingValueExpressionAdapter, ValueExpressionValueBindingAdapter, ContextCallback
public abstract class UIComponentBase extends UIComponent
{
private class AttributesMap
implements Map, Serializable
{
private Map attributes;
final UIComponentBase this$0;
public boolean containsKey(Object keyObj)
{
String key = (String)keyObj;
PropertyDescriptor pd = getPropertyDescriptor(key);
if (pd == null)
{
if (attributes != null)
return attributes.containsKey(key);
else
return false;
} else
{
return false;
}
}
public Object get(Object keyObj)
{
String key;
PropertyDescriptor pd;
key = (String)keyObj;
if (key == null)
throw new NullPointerException();
pd = getPropertyDescriptor(key);
if (pd == null)
break MISSING_BLOCK_LABEL_90;
Method readMethod = pd.getReadMethod();
if (readMethod != null)
return readMethod.invoke(UIComponentBase.this, UIComponentBase.empty);
try
{
throw new IllegalArgumentException(key);
}
catch (IllegalAccessException e)
{
throw new FacesException(e);
}
catch (InvocationTargetException e)
{
throw new FacesException(e.getTargetException());
}
ValueExpression ve;
Object result;
if (attributes != null && attributes.containsKey(key))
return attributes.get(key);
ve = getValueExpression(key);
if (ve == null)
break MISSING_BLOCK_LABEL_171;
result = null;
result = ve.getValue(getFacesContext().getELContext());
return result;
ELException e;
e;
throw new FacesException(e);
return null;
}
public Object put(Object keyValue, Object value)
{
String key;
PropertyDescriptor pd;
if (keyValue == null)
throw new NullPointerException();
if (!(keyValue instanceof String))
throw new ClassCastException("Key must be a String");
key = keyValue.toString();
pd = getPropertyDescriptor(key);
if (pd == null)
break MISSING_BLOCK_LABEL_149;
Object result;
result = null;
Method readMethod = pd.getReadMethod();
if (readMethod != null)
result = readMethod.invoke(UIComponentBase.this, UIComponentBase.empty);
Method writeMethod = pd.getWriteMethod();
if (writeMethod != null)
writeMethod.invoke(UIComponentBase.this, new Object[] {
value
});
else
throw new IllegalArgumentException();
return result;
IllegalAccessException e;
e;
throw new FacesException(e);
e;
throw new FacesException(e.getTargetException());
if (value == null)
throw new NullPointerException();
if (attributes == null)
initMap();
return attributes.put(key, value);
}
public void putAll(Map map)
{
if (map == null)
throw new NullPointerException();
if (attributes == null)
initMap();
attributes.putAll(map);
}
public Object remove(Object keyObj)
{
String key = (String)keyObj;
if (key == null)
throw new NullPointerException();
PropertyDescriptor pd = getPropertyDescriptor(key);
if (pd != null)
throw new IllegalArgumentException(key);
if (attributes != null)
return attributes.remove(key);
else
return null;
}
public int size()
{
return attributes == null ? 0 : attributes.size();
}
public boolean isEmpty()
{
return attributes == null || attributes.isEmpty();
}
public boolean containsValue(Object value)
{
return attributes != null && attributes.containsValue(value);
}
public void clear()
{
if (attributes != null)
attributes.clear();
}
public Set keySet()
{
return attributes == null ? Collections.EMPTY_SET : attributes.keySet();
}
public Collection values()
{
return ((Collection) (attributes == null ? Collections.EMPTY_LIST : attributes.values()));
}
public Set entrySet()
{
return attributes == null ? Collections.EMPTY_SET : attributes.entrySet();
}
Map getBackingAttributes()
{
return attributes;
}
public boolean equals(Object o)
{
Map t;
if (o == this)
return true;
if (!(o instanceof Map))
return false;
t = (Map)o;
if (t.size() != size())
return false;
Iterator i$ = entrySet().iterator();
_L2:
Object key;
Object value;
do
{
if (!i$.hasNext())
break MISSING_BLOCK_LABEL_147;
Object e = i$.next();
java.util.Map.Entry entry = (java.util.Map.Entry)e;
key = entry.getKey();
value = entry.getValue();
if (value != null)
continue; /* Loop/switch isn't completed */
} while (t.get(key) == null && t.containsKey(key));
return false;
if (value.equals(t.get(key))) goto _L2; else goto _L1
_L1:
return false;
ClassCastException unused;
unused;
return false;
unused;
return false;
return true;
}
public int hashCode()
{
int h = 0;
for (Iterator i$ = entrySet().iterator(); i$.hasNext();)
{
Object o = i$.next();
h += o.hashCode();
}
return h;
}
private void initMap()
{
attributes = new HashMap(8);
}
private AttributesMap()
{
this$0 = UIComponentBase.this;
super();
}
private AttributesMap(Map attributes)
{
this$0 = UIComponentBase.this;
super();
this.attributes = attributes;
}
}
private class ChildrenList extends ArrayList
{
final UIComponentBase this$0;
public void add(int index, UIComponent element)
{
if (element == null)
throw new NullPointerException();
if (index < 0 || index > size())
{
throw new IndexOutOfBoundsException();
} else
{
eraseParent(element);
element.setParent(UIComponentBase.this);
super.add(index, element);
return;
}
}
public boolean add(UIComponent element)
{
if (element == null)
{
throw new NullPointerException();
} else
{
eraseParent(element);
element.setParent(UIComponentBase.this);
return super.add(element);
}
}
public boolean addAll(Collection collection)
{
Iterator elements = (new ArrayList(collection)).iterator();
boolean changed;
for (changed = false; elements.hasNext(); changed = true)
{
UIComponent element = (UIComponent)elements.next();
if (element == null)
throw new NullPointerException();
add(element);
}
return changed;
}
public boolean addAll(int index, Collection collection)
{
Iterator elements = (new ArrayList(collection)).iterator();
boolean changed;
for (changed = false; elements.hasNext(); changed = true)
{
UIComponent element = (UIComponent)elements.next();
if (element == null)
throw new NullPointerException();
add(index++, element);
}
return changed;
}
public void clear()
{
int n = size();
if (n < 1)
return;
for (int i = 0; i < n; i++)
{
UIComponent child = (UIComponent)get(i);
child.setParent(null);
}
没有合适的资源?快使用搜索试试~ 我知道了~
javaee_api.zip_JavaEE_Javaee的api_Javax.javaee-api_javaee api 文档_
共1087个文件
java:1075个
properties:12个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 67 浏览量
2022-09-14
22:14:12
上传
评论
收藏 819KB ZIP 举报
温馨提示
javaee官方英文版api文档,zip格式。需要的可以转换为chm格式
资源详情
资源评论
资源推荐
收起资源包目录
javaee_api.zip_JavaEE_Javaee的api_Javax.javaee-api_javaee api 文档_ (1087个子文件)
UIComponentBase.java 45KB
UIComponentClassicTagBase.java 23KB
MimeUtility.java 22KB
MimeMessage.java 21KB
Session.java 20KB
UIInput.java 19KB
ImplicitObjectELResolver.java 18KB
MimeBodyPart.java 18KB
UIData.java 17KB
InternetAddress.java 16KB
MimeMultipart.java 15KB
HtmlInputSecret.java 15KB
HtmlPanelGrid.java 14KB
HtmlInputText.java 14KB
HtmlSelectManyCheckbox.java 14KB
HtmlSelectOneRadio.java 14KB
HtmlDataTable.java 14KB
HtmlSelectManyListbox.java 13KB
HtmlSelectOneListbox.java 13KB
HtmlInputTextarea.java 13KB
MailcapCommandMap.java 13KB
HtmlCommandButton.java 13KB
UIViewRoot.java 13KB
HtmlCommandLink.java 13KB
HtmlOutputLink.java 13KB
HtmlSelectManyMenu.java 13KB
HtmlSelectOneMenu.java 13KB
HtmlSelectBooleanCheckbox.java 12KB
NumberConverter.java 12KB
Folder.java 12KB
ResultSetDataModel.java 11KB
ContextFinder.java 11KB
HtmlOutputLabel.java 10KB
HtmlGraphicImage.java 10KB
MailDateParser.java 10KB
HtmlForm.java 10KB
FactoryFinder.java 9KB
URLName.java 9KB
DataHandler.java 9KB
InternetHeaders.java 9KB
HttpMethodSpec.java 9KB
EJBMethodPermission.java 8KB
AbstractMarshallerImpl.java 8KB
HttpServlet.java 8KB
AbstractUnmarshallerImpl.java 8KB
BeanELResolver.java 8KB
LifeCycleManager.java 8KB
HtmlMessages.java 8KB
MethodBindingMethodExpressionAdapter.java 7KB
HtmlMessage.java 7KB
ParameterList.java 7KB
LocaleSupport.java 7KB
ValueExpressionValueBindingAdapter.java 7KB
DateTimeConverter.java 7KB
MethodExpressionMethodBindingAdapter.java 7KB
MimetypesFileTypeMap.java 7KB
SharedFileInputStream.java 7KB
Service.java 6KB
ValueBindingValueExpressionAdapter.java 6KB
LoopTagSupport.java 6KB
UISelectMany.java 6KB
DoubleRangeValidator.java 6KB
UIComponent.java 6KB
LongRangeValidator.java 6KB
SaveOrganizationTest.java 6KB
MessageFactory.java 6KB
MessageFactory.java 6KB
MessageFactory.java 6KB
MessageFactory.java 6KB
Application.java 6KB
WebUserDataPermission.java 6KB
URLPatternSpec.java 6KB
ScriptFreeTLV.java 6KB
UICommand.java 6KB
Config.java 5KB
Message.java 5KB
DatatypeConverter.java 5KB
Transport.java 5KB
Flags.java 5KB
ScopedAttributeELResolver.java 5KB
MimeTypeParameterList.java 5KB
UISelectItem.java 5KB
HeaderTokenizer.java 5KB
ExternalContext.java 5KB
StreamReaderDelegate.java 5KB
LengthValidator.java 5KB
FactoryFinder.java 5KB
ConverterTag.java 5KB
MimeType.java 5KB
TagInfo.java 4KB
JAXBSource.java 4KB
CompositeELResolver.java 4KB
ValidatorTag.java 4KB
XMLInputFactory.java 4KB
NoBodyResponse.java 4KB
PolicyConfigurationFactory.java 4KB
Message.java 4KB
MimeHeaders.java 4KB
HttpUtils.java 4KB
RegistryObject.java 4KB
共 1087 条
- 1
- 2
- 3
- 4
- 5
- 6
- 11
朱moyimi
- 粉丝: 61
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 珍藏多年的基于matlab实现潮流计算程序源代码集合,包含多个潮流计算程序.rar
- 使用FPGA实现串-并型乘法器
- 基于matlab实现针对基于双曲线定位的DV-Hop算法中误差误差出一种基于加权双曲线定位的DV-Hop改进算法.rar
- 基于matlab实现由遗传算法开发的整数规划,车辆调度问题.rar
- 电视家7.0(对电视配置要求高).apk
- 免费计算机毕业设计-基于JavaEE的医院病历管理系统设计与实现(包含论文+源码)
- 手机端 我的世界融合植物大战僵尸版.apk
- 植物大战僵尸 · 戴夫的老年生活 手机版.apk
- Runcraft · 我的世界跑酷游戏 手机端.apk
- pta题库答案c语言.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0