com.sun.enterprise.deployment.node
Class WebServicesDescriptorNode
java.lang.Object
com.sun.enterprise.deployment.node.DeploymentDescriptorNode<T>
com.sun.enterprise.deployment.node.DisplayableComponentNode<T>
com.sun.enterprise.deployment.node.BundleNode
com.sun.enterprise.deployment.node.WebServicesDescriptorNode
- All Implemented Interfaces:
- RootXMLNode, XMLNode
public class WebServicesDescriptorNode
- extends BundleNode
- implements RootXMLNode
Root node for webservices deployment descriptor
- Version:
- Author:
- Kenneth Saks
| 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 |
ROOT_ELEMENT
public static final XMLElement ROOT_ELEMENT
SCHEMA_ID
public static final java.lang.String SCHEMA_ID
- See Also:
- Constant Field Values
SCHEMA_ID_12
public static final java.lang.String SCHEMA_ID_12
- See Also:
- Constant Field Values
SPEC_VERSION
public static final java.lang.String SPEC_VERSION
- See Also:
- Constant Field Values
WebServicesDescriptorNode
public WebServicesDescriptorNode(BundleDescriptor descriptor)
WebServicesDescriptorNode
public WebServicesDescriptorNode()
getDocType
public java.lang.String getDocType()
- Specified by:
getDocType in interface RootXMLNode
- Returns:
- the DOCTYPE of the XML file
getSystemID
public java.lang.String getSystemID()
- Specified by:
getSystemID in interface RootXMLNode
- Returns:
- the SystemID of the XML file
getSystemIDs
public java.util.List<java.lang.String> getSystemIDs()
- Specified by:
getSystemIDs in interface RootXMLNode
- Returns:
- the list of SystemID of the XML schema supported
getSchemaURL
protected java.lang.String getSchemaURL()
- Overrides:
getSchemaURL in class BundleNode
- Returns:
- the complete URL for J2EE schemas
getXMLRootTag
protected XMLElement getXMLRootTag()
- Overrides:
getXMLRootTag in class DeploymentDescriptorNode
- Returns:
- the XML tag associated with this XMLNode
setElementValue
public void setElementValue(XMLElement element,
java.lang.String value)
- receives notiification of the value for a particular tag
- Specified by:
setElementValue in interface XMLNode- Overrides:
setElementValue in class BundleNode
- Parameters:
element - the xml elementvalue - it's associated value
addDescriptor
public void addDescriptor(java.lang.Object descriptor)
- Adds a new DOL descriptor instance to the descriptor
instance associated with this XMLNode
- Specified by:
addDescriptor in interface XMLNode- Overrides:
addDescriptor in class DeploymentDescriptorNode
- Parameters:
descriptor - the new descriptor
getDescriptor
public java.lang.Object getDescriptor()
- Specified by:
getDescriptor in interface XMLNode- Overrides:
getDescriptor in class DeploymentDescriptorNode
- Returns:
- the descriptor instance to associate with this XMLNode
writeDescriptor
public org.w3c.dom.Node writeDescriptor(org.w3c.dom.Node parent,
Descriptor descriptor)
- write the descriptor class to a DOM tree and return it
- Overrides:
writeDescriptor in class DisplayableComponentNode
- Parameters:
parent - node for the DOM treethe - descriptor to write
- Returns:
- the DOM tree top node
getSpecVersion
public java.lang.String getSpecVersion()
- Specified by:
getSpecVersion in interface RootXMLNode
- Returns:
- the default spec version level this node complies to
Copyright © 2012 GlassFish Community. All Rights Reserved.