Java Code Examples for org.citygml4j.model.module.citygml.CityGMLVersion#getModules()

The following examples show how to use org.citygml4j.model.module.citygml.CityGMLVersion#getModules() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ModuleContext.java    From citygml4j with Apache License 2.0 5 votes vote down vote up
public ModuleContext(CityGMLVersion version) {
	this.version = version;
	for (Module module : version.getModules())
		modules.put(module.getType(), module);

	addADEModules();
}
 
Example 2
Source File: ModuleContext.java    From citygml4j with Apache License 2.0 5 votes vote down vote up
public void setCityGMLVersion(CityGMLVersion version) {
	this.version = version;
	modules = new HashMap<>();
	adeModules = null;

	for (Module module : version.getModules())
		modules.put(module.getType(), module);

	addADEModules();
}
 
Example 3
Source File: ADEModule.java    From citygml4j with Apache License 2.0 5 votes vote down vote up
public ADEModule (
		ModuleType type, 
		ModuleVersion version,
		String namespaceURI, 
		String namespacePrefix, 
		String schemaLocation,
		CityGMLVersion cityGMLVersion) {
	super(type, version, namespaceURI, namespacePrefix, schemaLocation, (Module)null);
	this.cityGMLVersion = cityGMLVersion;
	adeDependencies = new ArrayList<>(cityGMLVersion.getModules());
}
 
Example 4
Source File: CityGMLNamespaceContext.java    From citygml4j with Apache License 2.0 4 votes vote down vote up
public void setPrefixes(CityGMLVersion version) {
	for (Module module : version.getModules())
		setPrefix(module);
}
 
Example 5
Source File: AbstractJAXBWriter.java    From citygml4j with Apache License 2.0 4 votes vote down vote up
public void setPrefixes(CityGMLVersion version) {
	for (Module module : version.getModules())
		setPrefix(module);
}