| Modifier and Type | Method and Description |
|---|---|
| public Enumeration | Returns: an enumeration of the archive file entries.Returns an enumeration of the module file entries. |
| public DDBean[] | Returns: a array of DDBeans or 'null' if no matching data found.An XPath string identifying the data to
be extracted from the deployment descriptor. xpath)Return an array of standard beans representing the XML content returned based upon the XPath. |
| public Class | Returns: Class representation of the classClass to retrieve. className)Retrieve the specified class from this deployable module. |
| public DDBeanRoot | Returns: A standard bean representing the deployment descriptor.Return the top level standard bean representing the root of the deployment descriptor. |
| public DDBeanRoot | Returns: a DDBeanRoot object for the XML data.Returns a DDBeanRoot object for the XML instance document named. |
| public InputStream | |
| public String | Returns: a string containing the DTD version numberA module's deployment descriptor file always contains a document type identifier, DOCTYPE. The DOCTYPE statement contains the module DTD version number in the label of the statement. The format of the DOCTYPE statement is:
Deprecated
As of version 1.1 replaced by
DDBeanRoot.getDDBeanRootVersion()
Returns the DTD version number given in the XML
DOCTYPE text provided in every standard Java EE module's
deployment descriptor file.
|
| public String[] | |
| public ModuleType | Returns: The ModuleType of deployable objectReturn the ModuleType of deployment descriptor (i.e., EAR, JAR, WAR, RAR) this deployable object represents. |
| entries | back to summary |
|---|---|
| public Enumeration Returns an enumeration of the module file entries. All elements in the enumeration are of type String. Each String represents a file name relative to the root of the module.
| |
| getChildBean | back to summary |
|---|---|
| public DDBean[] getChildBean(String xpath) Return an array of standard beans representing the XML content returned based upon the XPath. | |
| getClassFromScope | back to summary |
|---|---|
| public Class Retrieve the specified class from this deployable module. One use: to get all finder methods from an EJB If the tool is attempting to package an module and retrieve a class from the package, the class request may fail. The class may not yet be available. The tool should respect the manifest cross-path entries. | |
| getDDBeanRoot | back to summary |
|---|---|
| public DDBeanRoot getDDBeanRoot() Return the top level standard bean representing the root of the deployment descriptor.
| |
| getDDBeanRoot | back to summary |
|---|---|
| public DDBeanRoot getDDBeanRoot(String filename) throws FileNotFoundException, DDBeanCreateException Returns a DDBeanRoot object for the XML instance document named. This method should be used to return DDBeanRoot objects for non deployment descriptor XML instance documents such as WSDL files.
| |
| getEntry | back to summary |
|---|---|
| public InputStream getEntry(String name) Returns the InputStream for the given entry name The file name must be relative to the root of the module.
| |
| getModuleDTDVersion | back to summary |
|---|---|
| public String getModuleDTDVersion()
Deprecated As of version 1.1 replaced by DDBeanRoot.getDDBeanRootVersion() Returns the DTD version number given in the XML DOCTYPE text provided in every standard Java EE module's deployment descriptor file.
| |
| getText | back to summary |
|---|---|
| public String[] getText(String xpath) Return the XML content associated with the XPath from a deployment descriptor. | |
| getType | back to summary |
|---|---|
| public ModuleType getType() Return the ModuleType of deployment descriptor (i.e., EAR, JAR, WAR, RAR) this deployable object represents. Values are found in DeploymentManager.
| |