Class WebServicesDescriptorNode

    • Constructor Detail

      • WebServicesDescriptorNode

        public WebServicesDescriptorNode()
      • WebServicesDescriptorNode

        public WebServicesDescriptorNode​(BundleDescriptor descriptor)
    • Method Detail

      • registerBundle

        public String registerBundle​(Map<String,​String> publicIDToSystemIDMapping)
        Description copied from interface: BundleNode
        Registers the standard bundle node in the map.

        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.

        Parameters:
        publicIDToSystemIDMapping - map prepared by the caller
        Returns:
        top-level element name for the standard descriptor
      • registerRuntimeBundle

        public Map<String,​Class<?>> registerRuntimeBundle​(Map<String,​String> publicIDToSystemIDMapping,
                                                                Map<String,​List<Class<?>>> versionUpgrades)
        Description copied from interface: BundleNode
        Registers all appropriate runtime bundle nodes for this standard node into the map.

        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 schema
        Returns:
        map from top-level runtime descriptor element name to the corresponding runtime node class
      • getDocType

        public String getDocType()
        Returns:
        the DOCTYPE of the XML file
      • getSystemID

        public String getSystemID()
        Returns:
        the SystemID of the XML file
      • getSystemIDs

        public List<String> getSystemIDs()
        Returns:
        the list of SystemID of the XML schema supported
      • getSpecVersion

        public String getSpecVersion()
        Returns:
        the default spec version level this node complies to