com.sun.enterprise.deployment.node.runtime
Class JavaWebStartAccessNode

java.lang.Object
  extended by com.sun.enterprise.deployment.node.DeploymentDescriptorNode<JavaWebStartAccessDescriptor>
      extended by com.sun.enterprise.deployment.node.runtime.JavaWebStartAccessNode
All Implemented Interfaces:
XMLNode<JavaWebStartAccessDescriptor>

public class JavaWebStartAccessNode
extends DeploymentDescriptorNode<JavaWebStartAccessDescriptor>

Author:
tjquinn

Field Summary
protected  JavaWebStartAccessDescriptor descriptor
           
 
Fields inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode
abstractDescriptor, handlers, localStrings, parentNode
 
Constructor Summary
JavaWebStartAccessNode()
          Creates a new instance of JavaWebStartAccessNode
 
Method Summary
 JavaWebStartAccessDescriptor getDescriptor()
           
protected  java.util.Map getDispatchTable()
          all sub-implementation of this class can use a dispatch table to map xml element to method name on the descriptor class for setting the element value.
 org.w3c.dom.Node writeDescriptor(org.w3c.dom.Node parent, java.lang.String nodeName, JavaWebStartAccessDescriptor descr)
          write the descriptor class to a DOM tree and return it
static void writeJavaWebStartInfo(org.w3c.dom.Node parent, JavaWebStartAccessDescriptor descr)
           
 
Methods inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode
addDescriptor, addNamespaceDeclaration, addNodeDescriptor, addPrefixMapping, appendChild, appendQNameChild, appendTextChild, appendTextChild, composeQNameValue, endElement, forceAppendTextChild, getHandlerFor, getLocalPartFromQName, getOwnerDocument, getParentNode, getPrefixFromQName, getXMLPath, getXMLRootTag, handlesElement, postParsing, registerElementHandler, registerElementHandler, resolvePrefix, setAttribute, setAttributeNS, setAttributeValue, setDescriptorInfo, setElementValue, 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
 

Field Detail

descriptor

protected JavaWebStartAccessDescriptor descriptor
Constructor Detail

JavaWebStartAccessNode

public JavaWebStartAccessNode()
Creates a new instance of JavaWebStartAccessNode

Method Detail

getDescriptor

public JavaWebStartAccessDescriptor getDescriptor()
Specified by:
getDescriptor in interface XMLNode<JavaWebStartAccessDescriptor>
Overrides:
getDescriptor in class DeploymentDescriptorNode<JavaWebStartAccessDescriptor>
Returns:
the descriptor instance to associate with this XMLNode

getDispatchTable

protected java.util.Map getDispatchTable()
all sub-implementation of this class can use a dispatch table to map xml element to method name on the descriptor class for setting the element value.

Overrides:
getDispatchTable in class DeploymentDescriptorNode<JavaWebStartAccessDescriptor>
Returns:
the map with the element name as a key, the setter method as a value

writeDescriptor

public org.w3c.dom.Node writeDescriptor(org.w3c.dom.Node parent,
                                        java.lang.String nodeName,
                                        JavaWebStartAccessDescriptor descr)
write the descriptor class to a DOM tree and return it

Overrides:
writeDescriptor in class DeploymentDescriptorNode<JavaWebStartAccessDescriptor>
Parameters:
parent - node for the DOM tree
node - name for the descriptor
the - descriptor to write
Returns:
the DOM tree top node

writeJavaWebStartInfo

public static void writeJavaWebStartInfo(org.w3c.dom.Node parent,
                                         JavaWebStartAccessDescriptor descr)


Copyright © 2012 GlassFish Community. All Rights Reserved.