|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of a deployment module. It provides access to the deployment descriptor and class files.
Method Summary | |
java.util.Enumeration |
entries()
Returns an enumeration of file names (as strings) for each file relative to the root of the module |
DDBean (src) [] |
getChildBean(java.lang.String xpath)
Get the child elements with the specified xpath |
java.lang.Class |
getClassFromScope(java.lang.String className)
Retrieves the specified class from the deployment module |
DDBeanRoot (src) |
getDDBeanRoot()
Get the top level element of the deployment descriptor |
DDBeanRoot (src) |
getDDBeanRoot(java.lang.String filename)
Returns a DDBeanRoot for the xml document. |
java.io.InputStream |
getEntry(java.lang.String name)
Get an input stream to the module entry. |
java.lang.String |
getModuleDTDVersion()
Deprecated. use DDBeanRoot.getDDBeanRootVersion |
java.lang.String[] |
getText(java.lang.String xpath)
Get the text for the given xpath |
ModuleType (src) |
getType()
Get the module type of this deployment module |
Method Detail |
public ModuleType (src) getType()
public DDBeanRoot (src) getDDBeanRoot()
public DDBean (src) [] getChildBean(java.lang.String xpath)
xpath
- the xpath of the children
public java.lang.String[] getText(java.lang.String xpath)
xpath
- the xpath
public java.lang.Class getClassFromScope(java.lang.String className)
className
- the name of the class
public java.lang.String getModuleDTDVersion()
public DDBeanRoot (src) getDDBeanRoot(java.lang.String filename) throws java.io.FileNotFoundException, DDBeanCreateException (src)
filename
- the file name of the document
java.io.FileNotFoundException
- if the file is not found
DDBeanCreateException (src)
- for other errors creating the objectpublic java.util.Enumeration entries()
public java.io.InputStream getEntry(java.lang.String name)
name
- the name of the module entry
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |