本文整理汇总了Java中org.citygml4j.model.citygml.building.CeilingSurface类的典型用法代码示例。如果您正苦于以下问题:Java CeilingSurface类的具体用法?Java CeilingSurface怎么用?Java CeilingSurface使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
CeilingSurface类属于org.citygml4j.model.citygml.building包,在下文中一共展示了CeilingSurface类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: visit
import org.citygml4j.model.citygml.building.CeilingSurface; //导入依赖的package包/类
public void visit(org.citygml4j.model.citygml.bridge.CeilingSurface ceilingSurface) {
visit((org.citygml4j.model.citygml.bridge.AbstractBoundarySurface)ceilingSurface);
if (ceilingSurface.isSetGenericApplicationPropertyOfCeilingSurface())
for (ADEComponent ade : ceilingSurface.getGenericApplicationPropertyOfCeilingSurface())
visit(ade);
}
示例2: visit
import org.citygml4j.model.citygml.building.CeilingSurface; //导入依赖的package包/类
public void visit(org.citygml4j.model.citygml.bridge.CeilingSurface ceilingSurface) {
visit((org.citygml4j.model.citygml.bridge.AbstractBoundarySurface)ceilingSurface);
if (ceilingSurface.isSetGenericApplicationPropertyOfCeilingSurface())
for (ADEComponent ade : new ArrayList<ADEComponent>(ceilingSurface.getGenericApplicationPropertyOfCeilingSurface()))
visit(ade);
}
示例3: getElementMapper
import org.citygml4j.model.citygml.building.CeilingSurface; //导入依赖的package包/类
private TypeMapper<JAXBElement<?>> getElementMapper() {
if (elementMapper == null) {
lock.lock();
try {
if (elementMapper == null) {
elementMapper = TypeMapper.<JAXBElement<?>>create()
.with(Building.class, this::createBuilding)
.with(BuildingFurniture.class, this::createBuildingFurniture)
.with(BuildingInstallation.class, this::createBuildingInstallation)
.with(BuildingPart.class, this::createBuildingPart)
.with(CeilingSurface.class, this::createCeilingSurface)
.with(ClosureSurface.class, this::createClosureSurface)
.with(Door.class, this::createDoor)
.with(FloorSurface.class, this::createFloorSurface)
.with(GroundSurface.class, this::createGroundSurface)
.with(IntBuildingInstallation.class, this::createIntBuildingInstallation)
.with(InteriorWallSurface.class, this::createInteriorWallSurface)
.with(OuterCeilingSurface.class, this::createOuterCeilingSurface)
.with(OuterFloorSurface.class, this::createOuterFloorSurface)
.with(RoofSurface.class, this::createRoofSurface)
.with(Room.class, this::createRoom)
.with(WallSurface.class, this::createWallSurface)
.with(Window.class, this::createWindow);
}
} finally {
lock.unlock();
}
}
return elementMapper;
}
示例4: getTypeMapper
import org.citygml4j.model.citygml.building.CeilingSurface; //导入依赖的package包/类
private TypeMapper<Object> getTypeMapper() {
if (typeMapper == null) {
lock.lock();
try {
if (typeMapper == null) {
typeMapper = TypeMapper.create()
.with(BoundarySurfaceProperty.class, this::marshalBoundarySurfaceProperty)
.with(Building.class, this::marshalBuilding)
.with(BuildingFurniture.class, this::marshalBuildingFurniture)
.with(BuildingInstallation.class, this::marshalBuildingInstallation)
.with(BuildingInstallationProperty.class, this::marshalBuildingInstallationProperty)
.with(BuildingPart.class, this::marshalBuildingPart)
.with(BuildingPartProperty.class, this::marshalBuildingPartProperty)
.with(CeilingSurface.class, this::marshalCeilingSurface)
.with(ClosureSurface.class, this::marshalClosureSurface)
.with(Door.class, this::marshalDoor)
.with(FloorSurface.class, this::marshalFloorSurface)
.with(GroundSurface.class, this::marshalGroundSurface)
.with(IntBuildingInstallation.class, this::marshalIntBuildingInstallation)
.with(IntBuildingInstallationProperty.class, this::marshalIntBuildingInstallationProperty)
.with(InteriorFurnitureProperty.class, this::marshalInteriorFurnitureProperty)
.with(InteriorRoomProperty.class, this::marshalInteriorRoomProperty)
.with(InteriorWallSurface.class, this::marshalInteriorWallSurface)
.with(OpeningProperty.class, this::marshalOpeningProperty)
.with(OuterCeilingSurface.class, this::marshalOuterCeilingSurface)
.with(OuterFloorSurface.class, this::marshalOuterFloorSurface)
.with(RoofSurface.class, this::marshalRoofSurface)
.with(Room.class, this::marshalRoom)
.with(WallSurface.class, this::marshalWallSurface)
.with(Window.class, this::marshalWindow);
}
} finally {
lock.unlock();
}
}
return typeMapper;
}
示例5: marshalCeilingSurface
import org.citygml4j.model.citygml.building.CeilingSurface; //导入依赖的package包/类
public void marshalCeilingSurface(CeilingSurface src, CeilingSurfaceType dest) {
marshalAbstractBoundarySurface(src, dest);
if (src.isSetGenericApplicationPropertyOfCeilingSurface()) {
for (ADEComponent adeComponent : src.getGenericApplicationPropertyOfCeilingSurface()) {
JAXBElement<Object> jaxbElement = jaxb.getADEMarshaller().marshalJAXBElement(adeComponent);
if (jaxbElement != null)
dest.get_GenericApplicationPropertyOfCeilingSurface().add(jaxbElement);
}
}
}
示例6: unmarshalCeilingSurface
import org.citygml4j.model.citygml.building.CeilingSurface; //导入依赖的package包/类
public void unmarshalCeilingSurface(CeilingSurfaceType src, CeilingSurface dest) throws MissingADESchemaException {
unmarshalAbstractBoundarySurface(src, dest);
if (src.isSet_GenericApplicationPropertyOfCeilingSurface()) {
for (JAXBElement<Object> elem : src.get_GenericApplicationPropertyOfCeilingSurface()) {
ADEModelObject ade = jaxb.getADEUnmarshaller().unmarshal(elem);
if (ade != null)
dest.addGenericApplicationPropertyOfCeilingSurface(ade);
}
}
}
示例7: CG_CeilingSurface
import org.citygml4j.model.citygml.building.CeilingSurface; //导入依赖的package包/类
public CG_CeilingSurface(CeilingSurface cS) {
super(cS);
}
示例8: createCeilingSurface
import org.citygml4j.model.citygml.building.CeilingSurface; //导入依赖的package包/类
private JAXBElement<?> createCeilingSurface(CeilingSurface src) {
return bldg.createCeilingSurface(marshalCeilingSurface(src));
}
示例9: assignGenericProperty
import org.citygml4j.model.citygml.building.CeilingSurface; //导入依赖的package包/类
public boolean assignGenericProperty(ADEGenericElement genericProperty, QName substitutionGroup, CityGML dest) {
String name = substitutionGroup.getLocalPart();
boolean success = true;
if (dest instanceof AbstractBuilding && name.equals("_GenericApplicationPropertyOfAbstractBuilding"))
((AbstractBuilding)dest).addGenericApplicationPropertyOfAbstractBuilding(genericProperty);
else if (dest instanceof Building && name.equals("_GenericApplicationPropertyOfBuilding"))
((Building)dest).addGenericApplicationPropertyOfBuilding(genericProperty);
else if (dest instanceof BuildingPart && name.equals("_GenericApplicationPropertyOfBuildingPart"))
((BuildingPart)dest).addGenericApplicationPropertyOfBuildingPart(genericProperty);
else if (dest instanceof AbstractBoundarySurface && name.equals("_GenericApplicationPropertyOfBoundarySurface"))
((AbstractBoundarySurface)dest).addGenericApplicationPropertyOfBoundarySurface(genericProperty);
else if (dest instanceof CeilingSurface && name.equals("_GenericApplicationPropertyOfCeilingSurface"))
((CeilingSurface)dest).addGenericApplicationPropertyOfCeilingSurface(genericProperty);
else if (dest instanceof ClosureSurface && name.equals("_GenericApplicationPropertyOfClosureSurface"))
((ClosureSurface)dest).addGenericApplicationPropertyOfClosureSurface(genericProperty);
else if (dest instanceof FloorSurface && name.equals("_GenericApplicationPropertyOfFloorSurface"))
((FloorSurface)dest).addGenericApplicationPropertyOfFloorSurface(genericProperty);
else if (dest instanceof GroundSurface && name.equals("_GenericApplicationPropertyOfGroundSurface"))
((GroundSurface)dest).addGenericApplicationPropertyOfGroundSurface(genericProperty);
else if (dest instanceof InteriorWallSurface && name.equals("_GenericApplicationPropertyOfInteriorWallSurface"))
((InteriorWallSurface)dest).addGenericApplicationPropertyOfInteriorWallSurface(genericProperty);
else if (dest instanceof RoofSurface && name.equals("_GenericApplicationPropertyOfRoofSurface"))
((RoofSurface)dest).addGenericApplicationPropertyOfRoofSurface(genericProperty);
else if (dest instanceof WallSurface && name.equals("_GenericApplicationPropertyOfWallSurface"))
((WallSurface)dest).addGenericApplicationPropertyOfWallSurface(genericProperty);
else if (dest instanceof AbstractOpening && name.equals("_GenericApplicationPropertyOfOpening"))
((AbstractOpening)dest).addGenericApplicationPropertyOfOpening(genericProperty);
else if (dest instanceof Window && name.equals("_GenericApplicationPropertyOfWindow"))
((Window)dest).addGenericApplicationPropertyOfWindow(genericProperty);
else if (dest instanceof Door && name.equals("_GenericApplicationPropertyOfDoor"))
((Door)dest).addGenericApplicationPropertyOfDoor(genericProperty);
else if (dest instanceof BuildingFurniture && name.equals("_GenericApplicationPropertyOfBuildingFurniture"))
((BuildingFurniture)dest).addGenericApplicationPropertyOfBuildingFurniture(genericProperty);
else if (dest instanceof BuildingInstallation && name.equals("_GenericApplicationPropertyOfBuildingInstallation"))
((BuildingInstallation)dest).addGenericApplicationPropertyOfBuildingInstallation(genericProperty);
else if (dest instanceof IntBuildingInstallation && name.equals("_GenericApplicationPropertyOfIntBuildingInstallation"))
((IntBuildingInstallation)dest).addGenericApplicationPropertyOfIntBuildingInstallation(genericProperty);
else if (dest instanceof Room && name.equals("_GenericApplicationPropertyOfRoom"))
((Room)dest).addGenericApplicationPropertyOfRoom(genericProperty);
else
success = false;
return success;
}
示例10: assignGenericProperty
import org.citygml4j.model.citygml.building.CeilingSurface; //导入依赖的package包/类
public boolean assignGenericProperty(ADEGenericElement genericProperty, QName substitutionGroup, CityGML dest) {
String name = substitutionGroup.getLocalPart();
boolean success = true;
if (dest instanceof AbstractBuilding && name.equals("_GenericApplicationPropertyOfAbstractBuilding"))
((AbstractBuilding)dest).addGenericApplicationPropertyOfAbstractBuilding(genericProperty);
else if (dest instanceof Building && name.equals("_GenericApplicationPropertyOfBuilding"))
((Building)dest).addGenericApplicationPropertyOfBuilding(genericProperty);
else if (dest instanceof BuildingPart && name.equals("_GenericApplicationPropertyOfBuildingPart"))
((BuildingPart)dest).addGenericApplicationPropertyOfBuildingPart(genericProperty);
else if (dest instanceof AbstractBoundarySurface && name.equals("_GenericApplicationPropertyOfBoundarySurface"))
((AbstractBoundarySurface)dest).addGenericApplicationPropertyOfBoundarySurface(genericProperty);
else if (dest instanceof CeilingSurface && name.equals("_GenericApplicationPropertyOfCeilingSurface"))
((CeilingSurface)dest).addGenericApplicationPropertyOfCeilingSurface(genericProperty);
else if (dest instanceof ClosureSurface && name.equals("_GenericApplicationPropertyOfClosureSurface"))
((ClosureSurface)dest).addGenericApplicationPropertyOfClosureSurface(genericProperty);
else if (dest instanceof FloorSurface && name.equals("_GenericApplicationPropertyOfFloorSurface"))
((FloorSurface)dest).addGenericApplicationPropertyOfFloorSurface(genericProperty);
else if (dest instanceof GroundSurface && name.equals("_GenericApplicationPropertyOfGroundSurface"))
((GroundSurface)dest).addGenericApplicationPropertyOfGroundSurface(genericProperty);
else if (dest instanceof InteriorWallSurface && name.equals("_GenericApplicationPropertyOfInteriorWallSurface"))
((InteriorWallSurface)dest).addGenericApplicationPropertyOfInteriorWallSurface(genericProperty);
else if (dest instanceof OuterCeilingSurface && name.equals("_GenericApplicationPropertyOfOuterCeilingSurface"))
((OuterCeilingSurface)dest).addGenericApplicationPropertyOfOuterCeilingSurface(genericProperty);
else if (dest instanceof OuterFloorSurface && name.equals("_GenericApplicationPropertyOfOuterFloorSurface"))
((OuterFloorSurface)dest).addGenericApplicationPropertyOfOuterFloorSurface(genericProperty);
else if (dest instanceof RoofSurface && name.equals("_GenericApplicationPropertyOfRoofSurface"))
((RoofSurface)dest).addGenericApplicationPropertyOfRoofSurface(genericProperty);
else if (dest instanceof WallSurface && name.equals("_GenericApplicationPropertyOfWallSurface"))
((WallSurface)dest).addGenericApplicationPropertyOfWallSurface(genericProperty);
else if (dest instanceof AbstractOpening && name.equals("_GenericApplicationPropertyOfOpening"))
((AbstractOpening)dest).addGenericApplicationPropertyOfOpening(genericProperty);
else if (dest instanceof Window && name.equals("_GenericApplicationPropertyOfWindow"))
((Window)dest).addGenericApplicationPropertyOfWindow(genericProperty);
else if (dest instanceof Door && name.equals("_GenericApplicationPropertyOfDoor"))
((Door)dest).addGenericApplicationPropertyOfDoor(genericProperty);
else if (dest instanceof BuildingFurniture && name.equals("_GenericApplicationPropertyOfBuildingFurniture"))
((BuildingFurniture)dest).addGenericApplicationPropertyOfBuildingFurniture(genericProperty);
else if (dest instanceof BuildingInstallation && name.equals("_GenericApplicationPropertyOfBuildingInstallation"))
((BuildingInstallation)dest).addGenericApplicationPropertyOfBuildingInstallation(genericProperty);
else if (dest instanceof IntBuildingInstallation && name.equals("_GenericApplicationPropertyOfIntBuildingInstallation"))
((IntBuildingInstallation)dest).addGenericApplicationPropertyOfIntBuildingInstallation(genericProperty);
else if (dest instanceof Room && name.equals("_GenericApplicationPropertyOfRoom"))
((Room)dest).addGenericApplicationPropertyOfRoom(genericProperty);
else
success = false;
return success;
}
示例11: generateBoundarySurface
import org.citygml4j.model.citygml.building.CeilingSurface; //导入依赖的package包/类
public static CG_AbstractBoundarySurface generateBoundarySurface(AbstractBoundarySurface bs) {
if (bs instanceof RoofSurface) {
return new CG_RoofSurface((RoofSurface) bs);
} else if (bs instanceof WallSurface) {
return new CG_WallSurface((WallSurface) bs);
} else if (bs instanceof GroundSurface) {
return new CG_GroundSurface((GroundSurface) bs);
} else if (bs instanceof ClosureSurface) {
return new CG_ClosureSurface((ClosureSurface) bs);
} else if (bs instanceof CeilingSurface) {
return new CG_CeilingSurface((CeilingSurface) bs);
} else if (bs instanceof InteriorWallSurface) {
return new CG_InteriorWallSurface((InteriorWallSurface) bs);
} else if (bs instanceof FloorSurface) {
return new CG_FloorSurface((FloorSurface) bs);
}
System.out.println("Classe inconnue " + bs.getClass().toString());
return null;
}