DDBeanRoot (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.enterprise.deploy.model Interface DDBeanRoot

所有父接口:
DDBean

public interface DDBeanRoot
extends DDBean

An interface that represents the root of a standard deployment descriptor. A DDBeanRoot is a type of DDBean.

作者:
gfink

方法摘要
 String getDDBeanRootVersion()
          Returns the version number of an XML instance document.
 DeployableObject getDeployableObject()
          Return the containing DeployableObject
 String getFilename()
          Returns the filename relative to the root of the module of the XML instance document this DDBeanRoot represents.
 String getModuleDTDVersion()
          Deprecated. As of version 1.1 replaced by DDBeanRoot.getDDBeanRootVersion()
 ModuleType getType()
          Return the ModuleType of deployment descriptor.
 String getXpath()
          Return the XPath for this standard bean.
 
Methods inherited from interface javax.enterprise.deploy.model.DDBean
addXpathListener, getAttributeNames, getAttributeValue, getChildBean, getId, getRoot, getText, getText, removeXpathListener
 

方法详细信息

getType

ModuleType getType()
Return the ModuleType of deployment descriptor.

返回:
The ModuleType of deployment descriptor

getDeployableObject

DeployableObject getDeployableObject()
Return the containing DeployableObject

返回:
The DeployableObject that contains this deployment descriptor

getModuleDTDVersion

String getModuleDTDVersion()
Deprecated. As of version 1.1 replaced by DDBeanRoot.getDDBeanRootVersion()

A convenience method to return the DTD version number. The DeployableObject has this information.

返回:
a string containing the DTD version number This method is being deprecated. Two DD data formats are being used, DTD and XML Schema. DDBeanRoot.getDDBeanRootVersion should be used in its place.

getDDBeanRootVersion

String getDDBeanRootVersion()
Returns the version number of an XML instance document. This method is replacing the methods DDBeanRoot.getModuleDTDVersion and DeployableObject.getModuleDTDVersion. This method returns the version number of any J2EE XML instance document.

返回:
a string that is the version number of the XML instance document. Null is returned if no version number can be found.

getXpath

String getXpath()
Return the XPath for this standard bean. The root XPath is "/".

规范说明:
getXpath in interface DDBean
返回:
"/" this is the root standard bean.

getFilename

String getFilename()
Returns the filename relative to the root of the module of the XML instance document this DDBeanRoot represents.

返回:
String the filename relative to the root of the module

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.