@Service public class WLWebServicesDescriptorNode extends AbstractBundleNode
docType, SCHEMA_LOCATION_TAG, W3C_XML_SCHEMA, W3C_XML_SCHEMA_INSTANCE
abstractDescriptor, habitat, handlers, localStrings, parentNode, rootNode
Constructor and Description |
---|
WLWebServicesDescriptorNode() |
WLWebServicesDescriptorNode(WebServicesDescriptor descriptor) |
Modifier and Type | Method and Description |
---|---|
protected void |
addBundleNodeAttributes(Element bundleNode,
RootDeploymentDescriptor descriptor)
write the necessary attributes for the root node of this DDs document
|
void |
addDescriptor(Object descriptor)
Adds a new DOL descriptor instance to the descriptor instance associated with
this XMLNode
|
WebServicesDescriptor |
getDescriptor() |
String |
getDocType() |
XMLNode |
getHandlerFor(XMLElement element)
Return the XMLNode implementation respionsible for
handling the sub-element of the current node
|
protected String |
getSchemaURL() |
String |
getSpecVersion() |
String |
getSystemID() |
List<String> |
getSystemIDs() |
protected XMLElement |
getXMLRootTag() |
String |
registerBundle(Map<String,String> publicIDToSystemIDMapping)
Registers the standard bundle node in the map.
|
Map<String,Class> |
registerRuntimeBundle(Map<String,String> publicIDToSystemIDMapping,
Map<String,List<Class>> versionUpgrades)
Registers all appropriate runtime bundle nodes for this standard node
into the map.
|
protected boolean |
setAttributeValue(XMLElement elementName,
XMLElement attributeName,
String value)
parsed an attribute of an element
|
Node |
writeDescriptor(Node parent,
RootDeploymentDescriptor descriptor)
write the descriptor class to a DOM tree and return it
|
addPrefixMapping, appendChildNS, elementsAllowingEmptyValue, elementsPreservingWhiteSpace, getDispatchTable, setDocType, setElementValue, setSpecVersion, topLevelTagName, topLevelTagValue, writeMessageDestinations
writeDisplayableComponentInfo
addNamespaceDeclaration, addNodeDescriptor, appendChild, appendQNameChild, appendTextChild, appendTextChild, composeQNameValue, createDescriptor, endElement, forceAppendTextChild, getLocalPartFromQName, getOwnerDocument, getParentNode, getPrefixFromQName, getRootNode, getXMLPath, handlesElement, postParsing, registerElementHandler, registerElementHandler, resolvePrefix, setAttribute, setAttributeNS, setDescriptorInfo, setParentNode, setXMLRootTag, startElement, writeDescriptor, writeDescriptors, writeEjbReferenceDescriptors, writeEntityManagerFactoryReferenceDescriptors, writeEntityManagerReferenceDescriptors, writeEnvEntryDescriptors, writeJNDIEnvironmentRefs, writeLifeCycleCallbackDescriptors, writeLocalizedDescriptions, writeMessageDestinationRefDescriptors, writeResourceDescriptors, writeResourceEnvRefDescriptors, writeResourceRefDescriptors, writeServiceReferenceDescriptors, writeSimpleTextDescriptor, writeSubDescriptors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endElement, getParentNode, getRootNode, getXMLPath, handlesElement, resolvePrefix, startElement
public WLWebServicesDescriptorNode(WebServicesDescriptor descriptor)
public WLWebServicesDescriptorNode()
public String getDocType()
public String getSystemID()
public List<String> getSystemIDs()
public String registerBundle(Map<String,String> publicIDToSystemIDMapping)
BundleNode
The implementation class must add to the map an entry with the key equal to the public ID of the DTD and the value the system ID.
publicIDToSystemIDMapping
- map prepared by the callerpublic Map<String,Class> registerRuntimeBundle(Map<String,String> publicIDToSystemIDMapping, Map<String,List<Class>> versionUpgrades)
BundleNode
The implementation class must add to the map one entry for each associated runtime descriptor node, with the entry key equal to the public ID of the runtime DTD and the value the system ID of the runtime DTD. The implementation must also return a map containing one entry for each associated runtime node, with the entry key equal to the top-level element name for the runtime descriptor and the entry value equal to the class of the runtime node.
versionUpgrades
- The list of upgrades from older versions
to the latest schemaprotected String getSchemaURL()
getSchemaURL
in class AbstractBundleNode
protected XMLElement getXMLRootTag()
getXMLRootTag
in class DeploymentDescriptorNode
protected boolean setAttributeValue(XMLElement elementName, XMLElement attributeName, String value)
DeploymentDescriptorNode
setAttributeValue
in class DeploymentDescriptorNode
elementName
- the element nameattributeName
- the attribute namevalue
- the attribute valuepublic XMLNode getHandlerFor(XMLElement element)
XMLNode
getHandlerFor
in interface XMLNode
getHandlerFor
in class DeploymentDescriptorNode
element
- the XML element type namepublic void addDescriptor(Object descriptor)
DeploymentDescriptorNode
addDescriptor
in interface XMLNode
addDescriptor
in class DeploymentDescriptorNode
descriptor
- the new descriptorpublic WebServicesDescriptor getDescriptor()
getDescriptor
in interface XMLNode
getDescriptor
in class DeploymentDescriptorNode
public Node writeDescriptor(Node parent, RootDeploymentDescriptor descriptor)
AbstractBundleNode
writeDescriptor
in class AbstractBundleNode
parent
- node for the DOM treedescriptor
- the descriptor to writeprotected void addBundleNodeAttributes(Element bundleNode, RootDeploymentDescriptor descriptor)
AbstractBundleNode
addBundleNodeAttributes
in class AbstractBundleNode
public String getSpecVersion()
Copyright © 2018. All rights reserved.