com.sun.enterprise.deployment.node.runtime.web
Class WLWebBundleRuntimeNode

java.lang.Object
  extended by com.sun.enterprise.deployment.node.DeploymentDescriptorNode<T>
      extended by com.sun.enterprise.deployment.node.runtime.RuntimeBundleNode<WebBundleDescriptor>
          extended by com.sun.enterprise.deployment.node.runtime.web.WLWebBundleRuntimeNode
All Implemented Interfaces:
RootXMLNode<WebBundleDescriptor>, XMLNode<WebBundleDescriptor>

public class WLWebBundleRuntimeNode
extends RuntimeBundleNode<WebBundleDescriptor>

This node is responsible for handling all WebLogic runtime information for web bundle.


Field Summary
static java.lang.String SCHEMA_ID
           
 
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
WLWebBundleRuntimeNode()
          Creates new WebBundleRuntimeNode
WLWebBundleRuntimeNode(WebBundleDescriptor descriptor)
          Creates new WLWebBundleRuntimeNode
 
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.String getSystemID()
           
 java.util.List<java.lang.String> getSystemIDs()
           
protected  XMLElement getXMLRootTag()
           
protected  void Init()
          Initialize the child handlers
 void setElementValue(XMLElement element, java.lang.String value)
          receives notification of the value for a particular tag
 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 com.sun.enterprise.deployment.node.DeploymentDescriptorNode
addNamespaceDeclaration, addNodeDescriptor, addPrefixMapping, appendChild, appendQNameChild, appendTextChild, appendTextChild, composeQNameValue, endElement, forceAppendTextChild, getDispatchTable, getHandlerFor, getLocalPartFromQName, getOwnerDocument, getParentNode, getPrefixFromQName, getXMLPath, handlesElement, postParsing, registerElementHandler, registerElementHandler, resolvePrefix, setAttribute, setAttributeNS, setAttributeValue, setDescriptorInfo, setParentNode, setXMLRootTag, startElement, writeAroundInvokeDescriptors, writeAroundTimeoutDescriptors, writeDataSourceDefinitionDescriptors, writeDescriptor, writeEjbReferenceDescriptors, writeEntityManagerFactoryReferenceDescriptors, writeEntityManagerReferenceDescriptors, writeEnvEntryDescriptors, writeJNDIEnvironmentRefs, writeLocalizedDescriptions, writeMessageDestinationRefDescriptors, writePostActivateDescriptors, writePostConstructDescriptors, writePreDestroyDescriptors, writePrePassivateDescriptors, writeResourceEnvRefDescriptors, writeResourceRefDescriptors, writeServiceReferenceDescriptors
 
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, startElement
 

Field Detail

SCHEMA_ID

public static final java.lang.String SCHEMA_ID
See Also:
Constant Field Values
Constructor Detail

WLWebBundleRuntimeNode

public WLWebBundleRuntimeNode(WebBundleDescriptor descriptor)
Creates new WLWebBundleRuntimeNode


WLWebBundleRuntimeNode

public WLWebBundleRuntimeNode()
Creates new WebBundleRuntimeNode

Method Detail

Init

protected void Init()
Initialize the child handlers

Overrides:
Init in class RuntimeBundleNode<WebBundleDescriptor>

getXMLRootTag

protected XMLElement getXMLRootTag()
Overrides:
getXMLRootTag in class DeploymentDescriptorNode<WebBundleDescriptor>
Returns:
the XML tag associated with this XMLNode

getDocType

public java.lang.String getDocType()
Returns:
the DOCTYPE that should be written to the XML file

getSystemID

public java.lang.String getSystemID()
Returns:
the SystemID of the XML file

getSystemIDs

public java.util.List<java.lang.String> getSystemIDs()
Returns:
the list of SystemID of the XML schema supported

getDescriptor

public WebBundleDescriptor getDescriptor()
Specified by:
getDescriptor in interface XMLNode<WebBundleDescriptor>
Overrides:
getDescriptor in class RuntimeBundleNode<WebBundleDescriptor>
Returns:
the web bundle descriptor instance to associate with this XMLNode

setElementValue

public void setElementValue(XMLElement element,
                            java.lang.String value)
receives notification of the value for a particular tag

Specified by:
setElementValue in interface XMLNode<WebBundleDescriptor>
Overrides:
setElementValue in class DeploymentDescriptorNode<WebBundleDescriptor>
Parameters:
element - the xml element
value - it's associated value

addDescriptor

public void addDescriptor(java.lang.Object newDescriptor)
Description copied from class: RuntimeBundleNode
Adds a new DOL descriptor instance to the descriptor instance associated with this XMLNode

Specified by:
addDescriptor in interface XMLNode<WebBundleDescriptor>
Overrides:
addDescriptor in class RuntimeBundleNode<WebBundleDescriptor>
Parameters:
newDescriptor - the new descriptor

writeDescriptor

public org.w3c.dom.Node writeDescriptor(org.w3c.dom.Node parent,
                                        WebBundleDescriptor bundleDescriptor)
write the descriptor class to a DOM tree and return it

Specified by:
writeDescriptor in interface XMLNode<WebBundleDescriptor>
Overrides:
writeDescriptor in class DeploymentDescriptorNode<WebBundleDescriptor>
Parameters:
parent - node for the DOM tree
bundleDescriptor - the descriptor to write
Returns:
the DOM tree top node


Copyright © 2012 GlassFish Community. All Rights Reserved.