All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.predic8.wsdl.Registry.groovy Maven / Gradle / Ivy

There is a newer version: 2.0.1
Show newest version
package com.predic8.wsdl

class Registry {

	def wsdls = [:]

	void add(Definitions definitions) {
		if(wsdls[definitions.targetNamespace]) wsdls[definitions.targetNamespace] << definitions
		else wsdls[definitions.targetNamespace] = [definitions]
	}

	List getWsdls(String ns) {
		wsdls[ns]
	}
	
	List getAllWsdls() {
		wsdls.values().flatten().unique()
	}
	
	String toString() {
		wsdls.toString()
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy