public Collection withLicenses()

in apache-whisker-xml/src/main/java/org/apache/creadur/whisker/fromxml/JDomBuilder.java [330:340]


	public Collection<WithLicense> withLicenses(Map<String, License> licenses,
			Map<String, Organisation> organisations, Element parent) {
		final List<WithLicense> results = new ArrayList<WithLicense>();
		for (Element withLicenseElement : (List<Element>) parent
				.getChildren("with-license")) {
			results.add(new JDomBuilder().withLicense(withLicenseElement,
					licenses, organisations));
		}
		Collections.sort(results);
		return results;
	}