com.sun.enterprise.deployment.node.ws
Class WLWebServicesDescriptorNode
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.ws.WLWebServicesDescriptorNode
- All Implemented Interfaces:
- RootXMLNode, XMLNode
public class WLWebServicesDescriptorNode
- extends BundleNode
- implements RootXMLNode
Node representing weblogic-webservices root element in weblogic-webservices.xml
- Author:
- Rama Pulavarthi
| Methods inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode |
addNamespaceDeclaration, addNodeDescriptor, appendChild, appendQNameChild, appendTextChild, appendTextChild, composeQNameValue, endElement, forceAppendTextChild, getLocalPartFromQName, getOwnerDocument, getParentNode, getPrefixFromQName, getXMLPath, handlesElement, postParsing, registerElementHandler, registerElementHandler, resolvePrefix, setAttribute, setAttributeNS, 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 |
WLWebServicesDescriptorNode
public WLWebServicesDescriptorNode(WebServicesDescriptor descriptor)
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
setAttributeValue
protected boolean setAttributeValue(XMLElement elementName,
XMLElement attributeName,
java.lang.String value)
- Description copied from class:
DeploymentDescriptorNode
- parsed an attribute of an element
- Overrides:
setAttributeValue in class DeploymentDescriptorNode
- Parameters:
elementName - the element nameattributeName - the attribute namevalue - the attribute value
- Returns:
- true if the attribute was processed
getHandlerFor
public XMLNode getHandlerFor(XMLElement element)
- Description copied from interface:
XMLNode
- Return the XMLNode implementation respionsible for
handling the sub-element of the current node
- Specified by:
getHandlerFor in interface XMLNode- Overrides:
getHandlerFor in class DeploymentDescriptorNode
- Parameters:
element - the XML element type name
- Returns:
- the handler registered for the subtag element of the curent XMLNode
addDescriptor
public void addDescriptor(java.lang.Object descriptor)
- Description copied from class:
DeploymentDescriptorNode
- 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 WebServicesDescriptor 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,
RootDeploymentDescriptor descriptor)
- Description copied from class:
BundleNode
- write the descriptor class to a DOM tree and return it
- Overrides:
writeDescriptor in class BundleNode
- Parameters:
parent - node for the DOM treedescriptor - the descriptor to write
- Returns:
- the DOM tree top node
addBundleNodeAttributes
protected void addBundleNodeAttributes(org.w3c.dom.Element bundleNode,
RootDeploymentDescriptor descriptor)
- Description copied from class:
BundleNode
- write the necessary attributes for the root node of this DDs document
- Overrides:
addBundleNodeAttributes in class BundleNode
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.