• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java InteriorFurnitureProperty类的典型用法和代码示例

java 10次浏览

本文整理汇总了Java中org.citygml4j.model.citygml.building.InteriorFurnitureProperty的典型用法代码示例。如果您正苦于以下问题:Java InteriorFurnitureProperty类的具体用法?Java InteriorFurnitureProperty怎么用?Java InteriorFurnitureProperty使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

InteriorFurnitureProperty类属于org.citygml4j.model.citygml.building包,在下文中一共展示了InteriorFurnitureProperty类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: getTypeMapper

点赞 2

import org.citygml4j.model.citygml.building.InteriorFurnitureProperty; //导入依赖的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;
}
 

开发者ID:citygml4j,
项目名称:citygml4j,
代码行数:39,
代码来源:Building200Marshaller.java

示例2: marshalInteriorFurnitureProperty

点赞 2

import org.citygml4j.model.citygml.building.InteriorFurnitureProperty; //导入依赖的package包/类
public InteriorFurniturePropertyType marshalInteriorFurnitureProperty(InteriorFurnitureProperty src) {
	InteriorFurniturePropertyType dest = bldg.createInteriorFurniturePropertyType();
	jaxb.getGMLMarshaller().marshalFeatureProperty(src, dest);

	if (src.isSetBuildingFurniture()) {
		JAXBElement<?> elem = jaxb.marshalJAXBElement(src.getBuildingFurniture());
		if (elem != null && elem.getValue() instanceof BuildingFurnitureType)
			dest.set_Object((JAXBElement<?>)elem);
	}

	return dest;
}
 

开发者ID:citygml4j,
项目名称:citygml4j,
代码行数:13,
代码来源:Building100Marshaller.java

示例3: unmarshalInteriorFurnitureProperty

点赞 2

import org.citygml4j.model.citygml.building.InteriorFurnitureProperty; //导入依赖的package包/类
public InteriorFurnitureProperty unmarshalInteriorFurnitureProperty(InteriorFurniturePropertyType src) throws MissingADESchemaException {
	InteriorFurnitureProperty dest = new InteriorFurnitureProperty(module);
	jaxb.getGMLUnmarshaller().unmarshalFeatureProperty(src, dest);

	if (src.isSet_Object()) {
		ModelObject object = jaxb.unmarshal(src.get_Object());
		if (object instanceof BuildingFurniture)
			dest.setObject((BuildingFurniture)object);
	}

	return dest;
}
 

开发者ID:citygml4j,
项目名称:citygml4j,
代码行数:13,
代码来源:Building100Unmarshaller.java

示例4: unmarshalInteriorFurnitureProperty

点赞 2

import org.citygml4j.model.citygml.building.InteriorFurnitureProperty; //导入依赖的package包/类
public InteriorFurnitureProperty unmarshalInteriorFurnitureProperty(InteriorFurniturePropertyType src) throws MissingADESchemaException {
	InteriorFurnitureProperty dest = new InteriorFurnitureProperty(module);

	if (src.isSet_CityObject()) {
		ModelObject object = jaxb.unmarshal(src.get_CityObject());
		if (object instanceof BuildingFurniture)
			dest.setBuildingFurniture((BuildingFurniture)object);
	}

	if (src.isSet_ADEComponent())
		dest.setGenericADEElement(jaxb.getADEUnmarshaller().unmarshal(src.get_ADEComponent()));

	if (src.isSetRemoteSchema())
		dest.setRemoteSchema(src.getRemoteSchema());

	if (src.isSetType())
		dest.setType(XLinkType.fromValue(src.getType().value()));

	if (src.isSetHref())
		dest.setHref(src.getHref());

	if (src.isSetRole())
		dest.setRole(src.getRole());

	if (src.isSetArcrole())
		dest.setArcrole(src.getArcrole());

	if (src.isSetTitle())
		dest.setTitle(src.getTitle());

	if (src.isSetShow())
		dest.setShow(XLinkShow.fromValue(src.getShow().value()));

	if (src.isSetActuate())
		dest.setActuate(XLinkActuate.fromValue(src.getActuate().value()));

	return dest;
}
 

开发者ID:citygml4j,
项目名称:citygml4j,
代码行数:39,
代码来源:Building200Unmarshaller.java

示例5: marshalInteriorFurnitureProperty

点赞 2

import org.citygml4j.model.citygml.building.InteriorFurnitureProperty; //导入依赖的package包/类
@SuppressWarnings("unchecked")
public InteriorFurniturePropertyType marshalInteriorFurnitureProperty(InteriorFurnitureProperty src) {
	InteriorFurniturePropertyType dest = bldg.createInteriorFurniturePropertyType();

	if (src.isSetBuildingFurniture()) {
		JAXBElement<?> elem = jaxb.marshalJAXBElement(src.getBuildingFurniture());
		if (elem != null && elem.getValue() instanceof BuildingFurnitureType)
			dest.set_CityObject((JAXBElement<? extends BuildingFurnitureType>)elem);
	}

	if (src.isSetGenericADEElement()) {
		Element element = jaxb.getADEMarshaller().marshalDOMElement(src.getGenericADEElement());
		if (element != null)
			dest.set_ADEComponent(element);
	}

	if (src.isSetRemoteSchema())
		dest.setRemoteSchema(src.getRemoteSchema());

	if (src.isSetType())
		dest.setType(TypeType.fromValue(src.getType().getValue()));

	if (src.isSetHref())
		dest.setHref(src.getHref());

	if (src.isSetRole())
		dest.setRole(src.getRole());

	if (src.isSetArcrole())
		dest.setArcrole(src.getArcrole());

	if (src.isSetTitle())
		dest.setTitle(src.getTitle());

	if (src.isSetShow())
		dest.setShow(ShowType.fromValue(src.getShow().getValue()));

	if (src.isSetActuate())
		dest.setActuate(ActuateType.fromValue(src.getActuate().getValue()));

	return dest;
}
 

开发者ID:citygml4j,
项目名称:citygml4j,
代码行数:43,
代码来源:Building200Marshaller.java

示例6: marshalRoom

点赞 2

import org.citygml4j.model.citygml.building.InteriorFurnitureProperty; //导入依赖的package包/类
public void marshalRoom(Room src, RoomType dest) {
	citygml.getCore200Marshaller().marshalAbstractCityObject(src, dest);

	if (src.isSetClazz())
		dest.setClazz(jaxb.getGMLMarshaller().marshalCode(src.getClazz()));

	if (src.isSetFunction()) {
		for (Code function : src.getFunction())
			dest.getFunction().add(jaxb.getGMLMarshaller().marshalCode(function));
	}

	if (src.isSetUsage()) {
		for (Code usage : src.getUsage())
			dest.getUsage().add(jaxb.getGMLMarshaller().marshalCode(usage));
	}

	if (src.isSetLod4Solid())
		dest.setLod4Solid(jaxb.getGMLMarshaller().marshalSolidProperty(src.getLod4Solid()));

	if (src.isSetLod4MultiSurface())
		dest.setLod4MultiSurface(jaxb.getGMLMarshaller().marshalMultiSurfaceProperty(src.getLod4MultiSurface()));

	if (src.isSetBoundedBySurface()) {
		for (BoundarySurfaceProperty boundarySurfaceProperty : src.getBoundedBySurface())
			dest.getBoundedBySurface().add(marshalBoundarySurfaceProperty(boundarySurfaceProperty));
	}

	if (src.isSetInteriorFurniture()) {
		for (InteriorFurnitureProperty interiorFurnitureProperty : src.getInteriorFurniture())
			dest.getInteriorFurniture().add(marshalInteriorFurnitureProperty(interiorFurnitureProperty));
	}

	if (src.isSetRoomInstallation()) {
		for (IntBuildingInstallationProperty intBuildingInstallationProperty : src.getRoomInstallation())
			dest.getRoomInstallation().add(marshalIntBuildingInstallationProperty(intBuildingInstallationProperty));
	}	

	if (src.isSetGenericApplicationPropertyOfRoom()) {
		for (ADEComponent adeComponent : src.getGenericApplicationPropertyOfRoom()) {
			JAXBElement<Object> jaxbElement = jaxb.getADEMarshaller().marshalJAXBElement(adeComponent);
			if (jaxbElement != null)
				dest.get_GenericApplicationPropertyOfRoom().add(jaxbElement);
		}
	}
}
 

开发者ID:citygml4j,
项目名称:citygml4j,
代码行数:46,
代码来源:Building200Marshaller.java

示例7: marshalRoom

点赞 2

import org.citygml4j.model.citygml.building.InteriorFurnitureProperty; //导入依赖的package包/类
public void marshalRoom(Room src, RoomType dest) {
	citygml.getCore100Marshaller().marshalAbstractCityObject(src, dest);

	if (src.isSetClazz())
		dest.setClazz(src.getClazz().getValue());

	if (src.isSetFunction()) {
		for (Code function : src.getFunction())
			dest.getFunction().add(function.getValue());
	}

	if (src.isSetUsage()) {
		for (Code usage : src.getUsage())
			dest.getUsage().add(usage.getValue());
	}

	if (src.isSetLod4Solid())
		dest.setLod4Solid(jaxb.getGMLMarshaller().marshalSolidProperty(src.getLod4Solid()));

	if (src.isSetLod4MultiSurface())
		dest.setLod4MultiSurface(jaxb.getGMLMarshaller().marshalMultiSurfaceProperty(src.getLod4MultiSurface()));

	if (src.isSetBoundedBySurface()) {
		for (BoundarySurfaceProperty boundarySurfaceProperty : src.getBoundedBySurface())
			dest.getBoundedBySurface().add(marshalBoundarySurfaceProperty(boundarySurfaceProperty));
	}

	if (src.isSetInteriorFurniture()) {
		for (InteriorFurnitureProperty interiorFurnitureProperty : src.getInteriorFurniture())
			dest.getInteriorFurniture().add(marshalInteriorFurnitureProperty(interiorFurnitureProperty));
	}

	if (src.isSetRoomInstallation()) {
		for (IntBuildingInstallationProperty intBuildingInstallationProperty : src.getRoomInstallation())
			dest.getRoomInstallation().add(marshalIntBuildingInstallationProperty(intBuildingInstallationProperty));
	}	

	if (src.isSetGenericApplicationPropertyOfRoom()) {
		for (ADEComponent adeComponent : src.getGenericApplicationPropertyOfRoom()) {
			JAXBElement<Object> jaxbElement = jaxb.getADEMarshaller().marshalJAXBElement(adeComponent);
			if (jaxbElement != null)
				dest.get_GenericApplicationPropertyOfRoom().add(jaxbElement);
		}
	}
}
 

开发者ID:citygml4j,
项目名称:citygml4j,
代码行数:46,
代码来源:Building100Marshaller.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)