|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.enterprise.deploy.model Interface DDBeanRoot
- All Superinterfaces:
- DDBean
public interface DDBeanRoot
- extends DDBean
Implements:
DDBean
表示标准部署描述符根的接口。DDBeanRoot 是 DDBean 的一种类型。
An interface that represents the root of a standard deployment descriptor. A DDBeanRoot is a type of DDBean.
- Author:
- gfink
Method Summary | |
---|---|
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 |
Method Detail |
---|
public ModuleType
getType()
返回部署描述符的 ModuleType。
return | 部署描述符的 ModuleType。 |
getType
ModuleType getType()
- Return the ModuleType of deployment descriptor.
- Returns:
- The ModuleType of deployment descriptor
public DeployableObject
getDeployableObject()
返回包含的 DeployableObject。
return | 包含此部署描述符的 DeployableObject。 |
getDeployableObject
DeployableObject getDeployableObject()
- Return the containing DeployableObject
- Returns:
- The DeployableObject that contains this deployment descriptor
public String
getModuleDTDVersion()
返回 DTD 版本号的便捷方法。DeployableObject 拥有此信息。
return | 包含 DTD 版本号的字符串 此方法已过时。目前正在使用的 DD 数据格式有两种:DTD 和 XML Schema。应该使用 DDBeanRoot.getDDBeanRootVersion 取代此方法。 |
deprecated | 从 1.1 版本开始,用 DDBeanRoot.getDDBeanRootVersion() 取代 |
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.
- Returns:
- 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.
public String
getDDBeanRootVersion()
返回 XML 实例文档的版本号。此方法将取代 DDBeanRoot.getModuleDTDVersion 和 DeployableObject.getModuleDTDVersion 方法。此方法可返回任何 J2EE XML 实例文档的版本号。
return | 表示 XML 实例文档版本号的字符串。如果找不到任何版本号,则返回 null。 |
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.
- Returns:
- a string that is the version number of the XML instance document. Null is returned if no version number can be found.
public String
getXpath()
返回此标准 Bean 的 XPath。根 XPath 为 "/"。
return | "/",它是根标准 Bean。 |
getXpath
String getXpath()
- Return the XPath for this standard bean.
The root XPath is "/".
- Returns:
- "/" this is the root standard bean.
public String
getFilename()
返回与此 DDBeanRoot 所表示的 XML 实例文档模块的根相对的文件名称。
return | 相对于模块根的文件名称 (String)。 |
getFilename
String getFilename()
- Returns the filename relative to the root of the module
of the XML instance document this DDBeanRoot represents.
- Returns:
- String the filename relative to the root of the module
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!