Search in sources :

Example 1 with AddressPropertyType

use of net.opengis.citygml._1.AddressPropertyType in project citygml4j by citygml4j.

the class Core100Marshaller method marshalAddressProperty.

public AddressPropertyType marshalAddressProperty(AddressProperty src) {
    AddressPropertyType dest = core.createAddressPropertyType();
    jaxb.getGMLMarshaller().marshalFeatureProperty(src, dest);
    if (src.isSetAddress()) {
        JAXBElement<?> elem = jaxb.marshalJAXBElement(src.getAddress());
        if (elem != null && elem.getValue() instanceof AddressType)
            dest.set_Object((JAXBElement<?>) elem);
    }
    return dest;
}
Also used : AddressPropertyType(net.opengis.citygml._1.AddressPropertyType) XalAddressPropertyType(net.opengis.citygml._1.XalAddressPropertyType) JAXBElement(javax.xml.bind.JAXBElement) AddressType(net.opengis.citygml._1.AddressType)

Aggregations

JAXBElement (javax.xml.bind.JAXBElement)1 AddressPropertyType (net.opengis.citygml._1.AddressPropertyType)1 AddressType (net.opengis.citygml._1.AddressType)1 XalAddressPropertyType (net.opengis.citygml._1.XalAddressPropertyType)1