站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档

DDBeanRoot (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档


javax.enterprise.deploy.model
Interface DDBeanRoot

All Superinterfaces:
DDBean

public interface DDBeanRoot
extends DDBean

The root of a DDBean tree (a standard deployment descriptor)

Version:
$Revision: 1.2 $
Author:
Adrian Brock

Method Summary
 String getDDBeanRootVersion()
          Return the version number of the j2ee xml document
 DeployableObject getDeployableObject()
          Get the deployable object for this descriptor
 String getFilename()
          Returns the filename relative to the root of the module this XML instance document.
 String getModuleDTDVersion()
          Deprecated. use getDDBeanRootVersion
 ModuleType getType()
          Return the module type of this descriptor
 String getXpath()
          Returns the xpath, the root path is "/"
 
Methods inherited from interface javax.enterprise.deploy.model.DDBean
addXpathListener, getAttributeNames, getAttributeValue, getChildBean, getId, getRoot, getText, getText, removeXpathListener
 

Method Detail

getType

public ModuleType getType()
Return the module type of this descriptor

Returns:
the module type

getDeployableObject

public DeployableObject getDeployableObject()
Get the deployable object for this descriptor

Returns:
the deployable object

getModuleDTDVersion

public String getModuleDTDVersion()
Deprecated. use getDDBeanRootVersion

A convenience method for information on the deployable object

Returns:
the dtd version

getDDBeanRootVersion

public String getDDBeanRootVersion()
Return the version number of the j2ee xml document

Returns:
the version

getXpath

public String getXpath()
Returns the xpath, the root path is "/"

Specified by:
getXpath in interface DDBean
Returns:
the root path "/"

getFilename

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

Returns:
The file name relative to the root of the module


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.