|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DeployableObject
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 |
---|
ModuleType getType()
DDBeanRoot getDDBeanRoot()
DDBean[] getChildBean(String xpath)
xpath
- the xpath of the children
String[] getText(String xpath)
xpath
- the xpath
Class getClassFromScope(String className)
className
- the name of the class
String getModuleDTDVersion()
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 objectEnumeration entries()
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 |