com.caucho.j2ee.deploytool
Class DeployableObjectImpl

java.lang.Object
  extended by com.caucho.j2ee.deploytool.DeployableObjectImpl

public class DeployableObjectImpl
extends java.lang.Object

Represents a deployable object


Constructor Summary
DeployableObjectImpl()
           
 
Method Summary
 java.util.Enumeration entries()
          Returns an enumeration of the entries, which are filenames relative to the module root.
 DDBean[] getChildBean(java.lang.String xpath)
          Returns the array of standard beans for the XML content based on the XPath.
 java.lang.Class getClassFromScope(java.lang.String className)
          Returns the class from the module.
 DDBeanRoot getDDBeanRoot()
          Returns the deployment descriptor root.
 DDBeanRoot getDDBeanRoot(java.lang.String filename)
          Returns the Deployment descriptor root.
 java.io.InputStream getEntry(java.lang.String name)
          Returns the InputStream for a given entry.
 java.lang.String getModuleDTDVersion()
          Deprecated method to get the version.
 java.lang.String[] getText(java.lang.String xpath)
          Returns the XML content matching the xpath.
 ModuleType getType()
          Returns the module type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeployableObjectImpl

public DeployableObjectImpl()
Method Detail

getType

public ModuleType getType()
Returns the module type.


getDDBeanRoot

public DDBeanRoot getDDBeanRoot()
Returns the deployment descriptor root.


getChildBean

public DDBean[] getChildBean(java.lang.String xpath)
Returns the array of standard beans for the XML content based on the XPath.


getText

public java.lang.String[] getText(java.lang.String xpath)
Returns the XML content matching the xpath.


getClassFromScope

public java.lang.Class getClassFromScope(java.lang.String className)
Returns the class from the module.


getModuleDTDVersion

public java.lang.String getModuleDTDVersion()
Deprecated method to get the version.


getDDBeanRoot

public DDBeanRoot getDDBeanRoot(java.lang.String filename)
                         throws java.io.FileNotFoundException,
                                DDBeanCreateException
Returns the Deployment descriptor root.

Throws:
java.io.FileNotFoundException
DDBeanCreateException

entries

public java.util.Enumeration entries()
Returns an enumeration of the entries, which are filenames relative to the module root.


getEntry

public java.io.InputStream getEntry(java.lang.String name)
Returns the InputStream for a given entry. The filename is relative to the module root.