站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

MetadataUnit (Java EE Metadata) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.j2ee.metadata/0 1.3

org.netbeans.modules.j2ee.metadata
Interface MetadataUnit


public interface MetadataUnit

This interface is logical unit for metadata providing. Metadata can be specified in XLM descriptor (configuration file), or annotations defined in Java classes. This unit is used for coupling XML-based descriptor with Java classes and it is basic key to pass to DD API providers (instead of XML FileObject used in the past).


Method Summary
 ClassPath getClassPath()
          Provides unit's classpath, which covers sources and libraries logically coupled with XML descriptor.
 FileObject getDeploymentDescriptor()
          Provides unit's XML descriptor
 

Method Detail

getDeploymentDescriptor

FileObject getDeploymentDescriptor()
Provides unit's XML descriptor

Returns:
descriptor FileObject or null if not available

getClassPath

ClassPath getClassPath()
Provides unit's classpath, which covers sources and libraries logically coupled with XML descriptor. Note, that if XML doesn't exist, this classpath is only place where metadata comes from and it describes where can be annotated classes related to this unit found.

Returns:
classpath of the unit

org.netbeans.modules.j2ee.metadata/0 1.3

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.