|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.deployment.node.DeploymentDescriptorNode<T>
com.sun.enterprise.deployment.node.runtime.RuntimeBundleNode<WebBundleDescriptor>
com.sun.enterprise.deployment.node.runtime.web.WebBundleRuntimeNode
public class WebBundleRuntimeNode
This node is responsible for handling all runtime information for web bundle.
| Field Summary |
|---|
| Fields inherited from class com.sun.enterprise.deployment.node.runtime.RuntimeBundleNode |
|---|
descriptor |
| Fields inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode |
|---|
abstractDescriptor, handlers, localStrings, parentNode |
| Constructor Summary | |
|---|---|
WebBundleRuntimeNode()
Creates new WebBundleRuntimeNode |
|
WebBundleRuntimeNode(WebBundleDescriptor descriptor)
Creates new WebBundleRuntimeNode |
|
| Method Summary | |
|---|---|
void |
addDescriptor(java.lang.Object newDescriptor)
Adds a new DOL descriptor instance to the descriptor instance associated with this XMLNode |
WebBundleDescriptor |
getDescriptor()
|
java.lang.String |
getDocType()
|
java.lang.Object |
getSunDescriptor()
|
java.lang.String |
getSystemID()
|
java.util.List<java.lang.String> |
getSystemIDs()
|
WebBundleDescriptor |
getWebBundleDescriptor()
|
protected XMLElement |
getXMLRootTag()
|
protected void |
Init()
Initialize the child handlers |
static java.lang.String |
registerBundle(java.util.Map publicIDToDTD)
register this node as a root node capable of loading entire DD files |
protected boolean |
setAttributeValue(XMLElement elementName,
XMLElement attributeName,
java.lang.String value)
parsed an attribute of an element |
void |
setElementValue(XMLElement element,
java.lang.String value)
receives notification of the value for a particular tag |
void |
startElement(XMLElement element,
org.xml.sax.Attributes attributes)
SAX Parser API implementation, we don't really care for now. |
org.w3c.dom.Node |
writeDescriptor(org.w3c.dom.Node parent,
WebBundleDescriptor bundleDescriptor)
write the descriptor class to a DOM tree and return it |
| Methods inherited from class com.sun.enterprise.deployment.node.runtime.RuntimeBundleNode |
|---|
appendChildNS, getSpecVersion, restrictDTDDeclarations, setDocType, setSpecVersion, writeMessageDestinationInfo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.enterprise.deployment.node.XMLNode |
|---|
addPrefixMapping, endElement, getHandlerFor, getParentNode, getXMLPath, handlesElement, resolvePrefix |
| Constructor Detail |
|---|
public WebBundleRuntimeNode(WebBundleDescriptor descriptor)
public WebBundleRuntimeNode()
| Method Detail |
|---|
protected void Init()
Init in class RuntimeBundleNode<WebBundleDescriptor>protected XMLElement getXMLRootTag()
getXMLRootTag in class DeploymentDescriptorNode<WebBundleDescriptor>public java.lang.String getDocType()
public java.lang.String getSystemID()
public java.util.List<java.lang.String> getSystemIDs()
public static java.lang.String registerBundle(java.util.Map publicIDToDTD)
publicIDToDTD - is a mapping between xml Public-ID to DTD
public java.lang.Object getSunDescriptor()
public WebBundleDescriptor getDescriptor()
getDescriptor in interface XMLNode<WebBundleDescriptor>getDescriptor in class RuntimeBundleNode<WebBundleDescriptor>public WebBundleDescriptor getWebBundleDescriptor()
public void addDescriptor(java.lang.Object newDescriptor)
addDescriptor in interface XMLNode<WebBundleDescriptor>addDescriptor in class RuntimeBundleNode<WebBundleDescriptor>descriptor - the new descriptor
public void startElement(XMLElement element,
org.xml.sax.Attributes attributes)
DeploymentDescriptorNode
startElement in interface XMLNode<WebBundleDescriptor>startElement in class DeploymentDescriptorNode<WebBundleDescriptor>element - the XML element type nameattributes - the specified or defaultted attritutes
protected boolean setAttributeValue(XMLElement elementName,
XMLElement attributeName,
java.lang.String value)
setAttributeValue in class DeploymentDescriptorNode<WebBundleDescriptor>the - element namethe - attribute namethe - attribute value
public void setElementValue(XMLElement element,
java.lang.String value)
setElementValue in interface XMLNode<WebBundleDescriptor>setElementValue in class DeploymentDescriptorNode<WebBundleDescriptor>element - the xml elementvalue - it's associated value
public org.w3c.dom.Node writeDescriptor(org.w3c.dom.Node parent,
WebBundleDescriptor bundleDescriptor)
writeDescriptor in interface XMLNode<WebBundleDescriptor>writeDescriptor in class DeploymentDescriptorNode<WebBundleDescriptor>parent - node for the DOM treethe - descriptor to write
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||