com.sun.enterprise.deployment.node.appclient
Class AppClientNode
java.lang.Object
com.sun.enterprise.deployment.node.DeploymentDescriptorNode<T>
com.sun.enterprise.deployment.node.DisplayableComponentNode<T>
com.sun.enterprise.deployment.node.BundleNode<ApplicationClientDescriptor>
com.sun.enterprise.deployment.node.appclient.AppClientNode
- All Implemented Interfaces:
- RootXMLNode<ApplicationClientDescriptor>, XMLNode<ApplicationClientDescriptor>
public class AppClientNode
- extends BundleNode<ApplicationClientDescriptor>
This class is responsible for handling app clients
- Version:
- Author:
- Sheetal Vartak
| Methods inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode |
addNamespaceDeclaration, addNodeDescriptor, appendChild, appendQNameChild, appendTextChild, appendTextChild, composeQNameValue, endElement, forceAppendTextChild, 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 |
PUBLIC_DTD_ID_12
public static final java.lang.String PUBLIC_DTD_ID_12
- See Also:
- Constant Field Values
SYSTEM_ID_12
public static final java.lang.String SYSTEM_ID_12
- See Also:
- Constant Field Values
PUBLIC_DTD_ID
public static final java.lang.String PUBLIC_DTD_ID
- See Also:
- Constant Field Values
SYSTEM_ID
public static final java.lang.String SYSTEM_ID
- See Also:
- Constant Field Values
SCHEMA_ID_14
public static final java.lang.String SCHEMA_ID_14
- See Also:
- Constant Field Values
SCHEMA_ID_15
public static final java.lang.String SCHEMA_ID_15
- See Also:
- Constant Field Values
SCHEMA_ID
public static final java.lang.String SCHEMA_ID
- See Also:
- Constant Field Values
SPEC_VERSION
public static final java.lang.String SPEC_VERSION
- See Also:
- Constant Field Values
tag
public static final XMLElement tag
AppClientNode
public AppClientNode()
- Creates new AppClientNode
registerBundle
public static java.lang.String registerBundle(java.util.Map publicIDToDTD)
- register this node as a root node capable of loading entire DD files
- Parameters:
publicIDToDTD - is a mapping between xml Public-ID to DTD
- Returns:
- the doctype tag name
addDescriptor
public void addDescriptor(java.lang.Object newDescriptor)
- Adds a new DOL descriptor instance to the descriptor instance associated with
this XMLNode
- Specified by:
addDescriptor in interface XMLNode<ApplicationClientDescriptor>- Overrides:
addDescriptor in class DeploymentDescriptorNode<ApplicationClientDescriptor>
- Parameters:
descriptor - the new descriptor
getDescriptor
public ApplicationClientDescriptor getDescriptor()
- Specified by:
getDescriptor in interface XMLNode<ApplicationClientDescriptor>- Overrides:
getDescriptor in class DeploymentDescriptorNode<ApplicationClientDescriptor>
- 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 BundleNode<ApplicationClientDescriptor>
- Returns:
- the map with the element name as a key, the setter method as a value
getXMLRootTag
protected XMLElement getXMLRootTag()
- Overrides:
getXMLRootTag in class DeploymentDescriptorNode<ApplicationClientDescriptor>
- Returns:
- the XML tag associated with this XMLNode
getDocType
public java.lang.String getDocType()
- Returns:
- the DOCTYPE of 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
setElementValue
public void setElementValue(XMLElement element,
java.lang.String value)
- Description copied from class:
BundleNode
- receives notiification of the value for a particular tag
- Specified by:
setElementValue in interface XMLNode<ApplicationClientDescriptor>- Overrides:
setElementValue in class BundleNode<ApplicationClientDescriptor>
- Parameters:
element - the xml elementvalue - it's associated value
writeDescriptor
public org.w3c.dom.Node writeDescriptor(org.w3c.dom.Node parent,
ApplicationClientDescriptor appclientDesc)
- write the descriptor class to a DOM tree and return it
- Specified by:
writeDescriptor in interface XMLNode<ApplicationClientDescriptor>- Overrides:
writeDescriptor in class BundleNode<ApplicationClientDescriptor>
- Parameters:
parent - node for the DOM treethe - descriptor to write
- Returns:
- the DOM tree top node
getSpecVersion
public java.lang.String getSpecVersion()
- Returns:
- the default spec version level this node complies to
Copyright © 2012 GlassFish Community. All Rights Reserved.