Class WSBrowser.SchemaMapHolder

  • Enclosing class:
    WSBrowser

    public static class WSBrowser.SchemaMapHolder
    extends Object
    Holder for a SchemaMap, allows invoked methods to change the SchemaMap reference.
    • Field Detail

      • schemaDocMap

        public com.boomi.webservices.SchemaMap schemaDocMap
        the current schemaDocMap
    • Constructor Detail

      • SchemaMapHolder

        public SchemaMapHolder​(com.boomi.webservices.SchemaMap initMap)
    • Method Detail

      • setRootSchema

        public void setRootSchema​(String nsUri)
        Sets the root namespaceURI of the current schemaDocMap to the given namespace. If the current schemaDocMap has a different root namespaceURI, it is first duplicated (using duplicate()) and then the root namespaceURI is changed.
        Parameters:
        nsUri - the new root namespaceURI for the schemaDocMap
      • setRootSchema

        public void setRootSchema​(String nsUri,
                                  QName elQName)
      • duplicate

        public void duplicate()
        Changes the reference of the schemaDocMap to a cloned instance of the current schemaDocMap.