Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.enterprise.deploy.model
Interface DDBeanRoot  view DDBeanRoot download DDBeanRoot.java

All Superinterfaces:
DDBean

public interface DDBeanRoot
extends DDBean

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

Version:
$Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $

Method Summary
 java.lang.String getDDBeanRootVersion()
          A convenience method to return the version number of an XML instance document.
 DeployableObject getDeployableObject()
          Return the containing DeployableObject
 java.lang.String getFilename()
          Returns the filename relative to the root of the module of the XML instance document this DDBeanRoot represents.
 java.lang.String getModuleDTDVersion()
          A convenience method to return the DTD version number.
 javax.enterprise.deploy.shared.ModuleType getType()
          Return the ModuleType of deployment descriptor.
 java.lang.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

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


getDeployableObject

public DeployableObject getDeployableObject()
Return the containing DeployableObject


getModuleDTDVersion

public java.lang.String getModuleDTDVersion()
A convenience method to return the DTD version number. The DeployableObject has this information. Note: the method getDDBeanRootVersion() is preferred to this method.


getDDBeanRootVersion

public java.lang.String getDDBeanRootVersion()
A convenience method to return the version number of an XML instance document. This method is replacing the method DeployableObject.getModuleDTDVersion, because it returns the version number of any J2EE XML instance document


getXpath

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

Specified by:
getXpath in interface DDBean

getFilename

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

Since:
1.1