FileDocCategorySizeDatePackage
DDBeanRoot.javaAPI DocGlassfish v2 API4011Fri May 04 22:35:44 BST 2007javax.enterprise.deploy.model

DDBeanRoot

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

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetDDBeanRootVersion()
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.

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

public DeployableObjectgetDeployableObject()
Return the containing DeployableObject

return
The DeployableObject that contains this deployment descriptor

public java.lang.StringgetFilename()
Returns the filename relative to the root of the module of the XML instance document this DDBeanRoot represents.

return
String the filename relative to the root of the module

public java.lang.StringgetModuleDTDVersion()
A convenience method to return the DTD version number. The DeployableObject has this information.

return
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.
deprecated
As of version 1.1 replaced by DDBeanRoot.getDDBeanRootVersion()

public javax.enterprise.deploy.shared.ModuleTypegetType()
Return the ModuleType of deployment descriptor.

return
The ModuleType of deployment descriptor

public java.lang.StringgetXpath()
Return the XPath for this standard bean. The root XPath is "/".

return
"/" this is the root standard bean.