当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
MetadataModelFactory (Java EE Metadata) - NetBeans API Javadoc (Current Development Version)
org.netbeans.modules.j2ee.metadata.model.spi
Class MetadataModelFactory
java.lang.Object
org.netbeans.modules.j2ee.metadata.model.spi.MetadataModelFactory
public final class MetadataModelFactory
- extends Object
Provides a way to create MetadataModel
instances. They cannot be
created directly; instead, a model provider implements the
MetadataModelImplementation
interface and uses this class.
- Since:
- 1.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createMetadataModel
public static <T> MetadataModel<T> createMetadataModel(MetadataModelImplementation<T> impl)
- Creates a metadata model.
- Parameters:
impl
- the instance of MetadataModelImplementation
which
the model will delegate to; never null.
- Returns:
- a
MetadataModel
delegating to impl
; never null.
- Throws:
NullPointerException
- if the impl
parameter was null.