-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method and Description String
getDDBeanRootVersion()
Returns the version number of an XML instance document.DeployableObject
getDeployableObject()
Return the containing DeployableObjectString
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
-
getType
ModuleType getType()
Return the ModuleType of deployment descriptor.- Returns:
- The ModuleType of deployment descriptor
-
getDeployableObject
DeployableObject getDeployableObject()
Return the containing DeployableObject- Returns:
- 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.- 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.
-
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 Java EE 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.
-
getXpath
String getXpath()
Return the XPath for this standard bean. The root XPath is "/".
-
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
-
-
Document created the 11/06/2005, last modified the 18/08/2025
Source of the printed document:https://www.gaudry.be/en/java-api-javaee-rf-javax/enterprise/deploy/model/DDBeanRoot.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author of this site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.