blob: 3f6e78fa1a9abc1a778a2cfb28bbf777f29cc37f [file] [log] [blame]
package org.eclipse.jem.internal.proxy.ide;
/*******************************************************************************
* Copyright (c) 2001, 2003 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
/*
* $RCSfile: IDECharTypeBeanTypeProxy.java,v $
* $Revision: 1.1 $ $Date: 2003/10/27 17:22:23 $
*/
import org.eclipse.jem.internal.proxy.core.*;
/**
* char BeanType Proxy.
*/
final class IDECharTypeBeanTypeProxy extends IDEPrimitiveBeanTypeProxy {
protected IDECharTypeBeanTypeProxy(ProxyFactoryRegistry aRegistry, Class aClass) {
super(aRegistry, aClass);
}
ICharacterBeanProxy createCharBeanProxy(char aChar){
return new IDECharacterBeanProxy(fProxyFactoryRegistry,new Character(aChar),this);
}
int getPrimitiveType(){
return CHAR;
}
protected IIDEBeanProxy newBeanProxy(Object anObject){
return (IIDEBeanProxy)createCharBeanProxy(((Character)anObject).charValue());
}
}