All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zkoss.zk.ui.metainfo.impl.NativeDefinition Maven / Gradle / Ivy

There is a newer version: 10.0.0-jakarta
Show newest version
/* NativeDefinition.java

	Purpose:
		
	Description:
		
	History:
		Thu Aug 16 12:33:49     2007, Created by tomyeh

Copyright (C) 2007 Potix Corporation. All Rights Reserved.

{{IS_RIGHT
	This program is distributed under LGPL Version 2.1 in the hope that
	it will be useful, but WITHOUT ANY WARRANTY.
}}IS_RIGHT
*/
package org.zkoss.zk.ui.metainfo.impl;

import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.metainfo.*;

/**
 * The component definition for the native components.
 * It is used to implement the native namespace
 *
 * @author tomyeh
 * @since 3.0.0
 * @see ComponentDefinitionImpl#newNativeDefinition
 */
/*package*/ class NativeDefinition extends ComponentDefinitionImpl {
	/*package*/ NativeDefinition(LanguageDefinition langdef, String name,
	Class cls) {
		super(langdef, null, name, cls);

		if (cls == null)
			throw new IllegalArgumentException("null");
	}

	public boolean isNative() {
		return true;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy