Modifier and Type | Method and Description |
---|---|
String |
getDDBeanRootVersion()
A convenience method to return the version number of an
XML instance document.
|
DeployableObject |
getDeployableObject()
Return the containing DeployableObject
|
String |
getFilename()
Returns the filename relative to the root of the module of the XML instance document this
DDBeanRoot represents.
|
String |
getModuleDTDVersion()
A convenience method to return the DTD version number.
|
ModuleType |
getType()
Return the ModuleType of deployment descriptor.
|
String |
getXpath()
Return the XPath for this standard bean.
|
addXpathListener, getAttributeNames, getAttributeValue, getChildBean, getId, getRoot, getText, getText, removeXpathListener
ModuleType getType()
DeployableObject getDeployableObject()
String getModuleDTDVersion()
getDDBeanRootVersion()
String getDDBeanRootVersion()
a string that is the version number of the XML instance document. Null is returned if no version number can be found.
A 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:
<!DOCTYPE root_element PUBLIC "-//organization//label//language" "location">
An example J2EE deployment descriptor DOCTYPE statement is:
In this example the label is, "DTD J2EE Application Client 1.3", and the DTD version number is 1.3. A call to getModuleDTDVersion would return a string containing, "1.3".
String getXpath()
String getFilename()
Copyright © 2013. All Rights Reserved.