How to use a class customization to resolve conflict when generating jaxb object from xsd

Use below binding

<bindings version="2.0" xmlns="http://java.sun.com/xml/ns/jaxb" xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:annox="http://annox.dev.java.net"
    xmlns:namespace="http://jaxb2-commons.dev.java.net/namespace-prefix">
    <bindings schemaLocation="../schema.xsd">

        <bindings node="//xs:schema//xs:element[@name='IfcCondenserTypeEnum']">
            <class name="CondenserType" />
        </bindings>

    </bindings>
</bindings>

Tags:

Java

Xsd

Jaxb

Ifc