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