@Service public class WebServicesDescriptorNode extends AbstractBundleNode<BundleDescriptor>
| Modifier and Type | Field and Description |
|---|---|
static XMLElement |
ROOT_ELEMENT |
static String |
SCHEMA_ID |
static String |
SCHEMA_ID_12 |
static String |
SCHEMA_ID_13 |
static String |
SPEC_VERSION |
docType, SCHEMA_LOCATION_TAG, W3C_XML_SCHEMA, W3C_XML_SCHEMA_INSTANCEabstractDescriptor, handlers, localStrings, parentNode, rootNode, serviceLocator| Constructor and Description |
|---|
WebServicesDescriptorNode() |
WebServicesDescriptorNode(BundleDescriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDescriptor(Object descriptor)
Adds a new DOL descriptor instance to the descriptor instance associated with this XMLNode
|
BundleDescriptor |
getDescriptor() |
String |
getDocType() |
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.
|
void |
setElementValue(XMLElement element,
String value)
Receives notiification of the value for a particular tag
|
Node |
writeDescriptor(Node parent,
BundleDescriptor descriptor)
write the descriptor class to a DOM tree and return it
|
addBundleNodeAttributes, addPrefixMapping, appendChildNS, elementsAllowingEmptyValue, elementsPreservingWhiteSpace, getDispatchTable, getSchemaURL, setDocType, setSpecVersion, topLevelTagName, topLevelTagValue, writeMessageDestinationswriteDisplayableComponentInfoaddNamespaceDeclaration, addNodeDescriptor, appendChild, appendQNameChild, appendTextChild, appendTextChild, composeQNameValue, createDescriptor, endElement, forceAppendTextChild, getHandlerFor, getLocalPartFromQName, getOwnerDocument, getParentNode, getPrefixFromQName, getRootNode, getXMLPath, handlesElement, postParsing, registerElementHandler, registerElementHandler, resolvePrefix, setAttribute, setAttributeNS, setAttributeValue, setDescriptorInfo, setParentNode, setXMLRootTag, startElement, writeDescriptor, writeDescriptors, writeEjbReferenceDescriptors, writeEntityManagerFactoryReferenceDescriptors, writeEntityManagerReferenceDescriptors, writeEnvEntryDescriptors, writeJNDIEnvironmentRefs, writeLifeCycleCallbackDescriptors, writeLocalizedDescriptions, writeMessageDestinationRefDescriptors, writeResourceDescriptors, writeResourceEnvRefDescriptors, writeResourceRefDescriptors, writeServiceReferenceDescriptors, writeSimpleTextDescriptor, writeSubDescriptorsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendElement, getHandlerFor, getParentNode, getRootNode, getXMLPath, handlesElement, resolvePrefix, startElementpublic static final XMLElement ROOT_ELEMENT
public static final String SCHEMA_ID
public static final String SCHEMA_ID_12
public static final String SCHEMA_ID_13
public static final String SPEC_VERSION
public WebServicesDescriptorNode()
public WebServicesDescriptorNode(BundleDescriptor descriptor)
public String registerBundle(Map<String,String> publicIDToSystemIDMapping)
BundleNodeThe 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)
BundleNodeThe 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 schemapublic String getDocType()
public String getSystemID()
public List<String> getSystemIDs()
protected XMLElement getXMLRootTag()
getXMLRootTag in class DeploymentDescriptorNode<BundleDescriptor>public void setElementValue(XMLElement element, String value)
setElementValue in interface XMLNode<BundleDescriptor>setElementValue in class AbstractBundleNode<BundleDescriptor>element - the xml elementvalue - it's associated valuepublic void addDescriptor(Object descriptor)
addDescriptor in interface XMLNode<BundleDescriptor>addDescriptor in class DeploymentDescriptorNode<BundleDescriptor>descriptor - the new descriptorpublic BundleDescriptor getDescriptor()
getDescriptor in interface XMLNode<BundleDescriptor>getDescriptor in class DeploymentDescriptorNode<BundleDescriptor>public Node writeDescriptor(Node parent, BundleDescriptor descriptor)
writeDescriptor in interface XMLNode<BundleDescriptor>writeDescriptor in class AbstractBundleNode<BundleDescriptor>parent - node for the DOM treedescriptor - to writepublic String getSpecVersion()
Copyright © 2019. All rights reserved.