org.citygml4j.model.module.Module Java Examples
The following examples show how to use
org.citygml4j.model.module.Module.
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: GMLVersion.java From citygml4j with Apache License 2.0 | 5 votes |
public List<GMLModule> getGMLModules() { List<GMLModule> gml = new ArrayList<GMLModule>(); for (Module module : modules) gml.add((GMLModule)module); return gml; }
Example #2
Source File: WaterBodyModule.java From citygml4j with Apache License 2.0 | 5 votes |
private WaterBodyModule ( CityGMLModuleType type, CityGMLModuleVersion version, String namespaceURI, String namespacePrefix, String schemaLocation, Module... dependencies) { super(type, version, namespaceURI, namespacePrefix, schemaLocation, dependencies); instances.add(this); }
Example #3
Source File: CityGMLVersion.java From citygml4j with Apache License 2.0 | 5 votes |
public List<AbstractXALModule> getXALModules() { List<AbstractXALModule> xal = new ArrayList<AbstractXALModule>(); for (Module module : modules) if (module instanceof AbstractXALModule) xal.add((AbstractXALModule)module); return xal; }
Example #4
Source File: ReliefModule.java From citygml4j with Apache License 2.0 | 5 votes |
private ReliefModule ( CityGMLModuleType type, CityGMLModuleVersion version, String namespaceURI, String namespacePrefix, String schemaLocation, Module... dependencies) { super(type, version, namespaceURI, namespacePrefix, schemaLocation, dependencies); instances.add(this); }
Example #5
Source File: CityGMLVersion.java From citygml4j with Apache License 2.0 | 5 votes |
public List<GMLModule> getGMLModules() { List<GMLModule> gml = new ArrayList<GMLModule>(); for (Module module : modules) if (module instanceof GMLModule) gml.add((GMLModule)module); return gml; }
Example #6
Source File: TexturedSurfaceModule.java From citygml4j with Apache License 2.0 | 5 votes |
private TexturedSurfaceModule ( CityGMLModuleType type, CityGMLModuleVersion version, String namespaceURI, String namespacePrefix, String schemaLocation, Module... dependencies) { super(type, version, namespaceURI, namespacePrefix, schemaLocation, dependencies); instances.add(this); }
Example #7
Source File: LandUseModule.java From citygml4j with Apache License 2.0 | 5 votes |
private LandUseModule ( CityGMLModuleType type, CityGMLModuleVersion version, String namespaceURI, String namespacePrefix, String schemaLocation, Module... dependencies) { super(type, version, namespaceURI, namespacePrefix, schemaLocation, dependencies); instances.add(this); }
Example #8
Source File: XALCoreModule.java From citygml4j with Apache License 2.0 | 5 votes |
public XALCoreModule ( XALModuleType type, XALModuleVersion version, String namespaceURI, String namespacePrefix, String schemaLocation, Module... dependencies) { super(type, version, namespaceURI, namespacePrefix, schemaLocation, dependencies); instances.add(this); }
Example #9
Source File: XLinkModule.java From citygml4j with Apache License 2.0 | 5 votes |
public XLinkModule ( GMLModuleType type, GMLModuleVersion version, String namespaceURI, String namespacePrefix, String schemaLocation, Module... dependencies) { super(type, version, namespaceURI, namespacePrefix, schemaLocation, dependencies); instances.add(this); }
Example #10
Source File: GMLCoreModule.java From citygml4j with Apache License 2.0 | 5 votes |
private GMLCoreModule ( GMLModuleType type, GMLModuleVersion version, String namespaceURI, String namespacePrefix, String schemaLocation, Module... dependencies) { super(type, version, namespaceURI, namespacePrefix, schemaLocation, dependencies); instances.add(this); }
Example #11
Source File: FeatureTypes.java From web-feature-service with Apache License 2.0 | 5 votes |
public Set<Module> getModules() { Set<Module> result = new HashSet<>(); for (QName name : getFeatureTypes().keySet()) result.add(Modules.getModule(name.getNamespaceURI())); return result; }
Example #12
Source File: XMLQueryView.java From importer-exporter with Apache License 2.0 | 5 votes |
private String wrapQuery(String query) { StringBuilder wrapper = new StringBuilder("<wrapper xmlns=\"") .append(ConfigUtil.CITYDB_CONFIG_NAMESPACE_URI).append("\" "); ModuleContext context = new ModuleContext(CityGMLVersion.v2_0_0); for (Module module : context.getModules()) { wrapper.append("xmlns:").append(module.getNamespacePrefix()).append("=\"") .append(module.getNamespaceURI()).append("\" "); } wrapper.append(">\n").append(query).append("</wrapper>"); return wrapper.toString(); }
Example #13
Source File: ADEModule.java From citygml4j with Apache License 2.0 | 5 votes |
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 #14
Source File: BuildingInstallation.java From citygml4j with Apache License 2.0 | 4 votes |
public BuildingInstallation(Module module) { super(module); }
Example #15
Source File: BuildingPart.java From citygml4j with Apache License 2.0 | 4 votes |
public BuildingPart(Module module) { super(module); }
Example #16
Source File: AbstractJAXBWriter.java From citygml4j with Apache License 2.0 | 4 votes |
public void setPrefixes(CityGMLVersion version) { for (Module module : version.getModules()) setPrefix(module); }
Example #17
Source File: CityGMLNamespaceContext.java From citygml4j with Apache License 2.0 | 4 votes |
public void setPrefix(Module module) { setPrefix(module.getNamespacePrefix(), module.getNamespaceURI()); }
Example #18
Source File: AbstractTransportationObject.java From citygml4j with Apache License 2.0 | 4 votes |
public AbstractTransportationObject(Module module) { super(module); }
Example #19
Source File: AbstractTextureParameterization.java From citygml4j with Apache License 2.0 | 4 votes |
public void setModule(Module module) { this.module = module; }
Example #20
Source File: GMLVersion.java From citygml4j with Apache License 2.0 | 4 votes |
private GMLVersion(Module... modules) { super(modules); instances.add(this); }
Example #21
Source File: AbstractOpening.java From citygml4j with Apache License 2.0 | 4 votes |
public AbstractOpening(Module module) { super(module); }
Example #22
Source File: TransportationComplex.java From citygml4j with Apache License 2.0 | 4 votes |
public TransportationComplex(Module module) { super(module); }
Example #23
Source File: CityGMLVersion.java From citygml4j with Apache License 2.0 | 4 votes |
private CityGMLVersion(Module... modules) { super(modules); instances.add(this); }
Example #24
Source File: TrafficArea.java From citygml4j with Apache License 2.0 | 4 votes |
public TrafficArea(Module module) { super(module); }
Example #25
Source File: CityGMLNamespaceContext.java From citygml4j with Apache License 2.0 | 4 votes |
public void setPrefixes(ModuleContext moduleContext) { for (Module module : moduleContext.getModules()) setPrefix(module); }
Example #26
Source File: AbstractVegetationObject.java From citygml4j with Apache License 2.0 | 4 votes |
public AbstractVegetationObject(Module module) { super(module); }
Example #27
Source File: TunnelPart.java From citygml4j with Apache License 2.0 | 4 votes |
public TunnelPart(Module module) { super(module); }
Example #28
Source File: TunnelFurniture.java From citygml4j with Apache License 2.0 | 4 votes |
public TunnelFurniture(Module module) { super(module); }
Example #29
Source File: OuterFloorSurface.java From citygml4j with Apache License 2.0 | 4 votes |
public OuterFloorSurface(Module module) { super(module); }
Example #30
Source File: Window.java From citygml4j with Apache License 2.0 | 4 votes |
public Window(Module module) { super(module); }