mil.dod.th.ose.jaxb.proto.converter/src/mil/dod/th/ose/jaxbprotoconverter/JaxbClassParser.java
private void handleMessage(final Class<?> jaxbClass, final XsdType xsdType) throws JaxbProtoConvertException
    {
        final ProtoMessage protoMessage = getOrCreateMessage(jaxbClass.getSimpleName(), jaxbClass, xsdType);
        
        handleFields(protoMessage, jaxbClass);
        if (xsdType.getBaseType() != null)
        {
            final XsdType baseType = xsdType.getBaseType();
            final Class<?> baseClazz = baseType.getJaxbType();
            final ProtoMessage baseMessage = getOrCreateMessage(baseClazz.getSimpleName(), baseClazz, baseType);
            
            protoMessage.setBaseMessage(baseMessage);
            handleBaseTypeImport(protoMessage);
        }
        protoMessage.setProcessed(true);
    }
/**
     * Method that creates a model that represents a protocol buffer message for the JAXB class specified.
     * 
     * @param jaxbClass
     *      The JAXB class to crate protocol buffer model for.
     * @param xsdType
     *      The XSD type that represents the JAXB class.
     * @throws JaxbProtoConvertException
     *      Thrown if an error occurs handling a message.
     */
Method that creates a model that represents a protocol buffer message for the JAXB class specified.

@param jaxbClass
The JAXB class to crate protocol buffer model for.
@param xsdType
The XSD type that represents the JAXB class.
@throws JaxbProtoConvertException
Thrown if an error occurs handling a message.
Method that creates a model that represents a protocol buffer message for the JAXB class specified . @param jaxbClass The JAXB class to crate protocol buffer model for . @param xsdType The XSD type that represents the JAXB class . @throws JaxbProtoConvertException Thrown if an error occurs handling a message .
private void handleMessage(final Class<?> jaxbClass, final XsdType xsdType) throws JaxbProtoConvertException
    {
        final ProtoMessage protoMessage = getOrCreateMessage(jaxbClass.getSimpleName(), jaxbClass, xsdType);
        handleFields(protoMessage, jaxbClass);
        if (xsdType.getBaseType() != null)
        {
            final XsdType baseType = xsdType.getBaseType();
            final Class<?> baseClazz = baseType.getJaxbType();
            final ProtoMessage baseMessage = getOrCreateMessage(baseClazz.getSimpleName(), baseClazz, baseType);
            protoMessage.setBaseMessage(baseMessage);
            handleBaseTypeImport(protoMessage);
        }
        protoMessage.setProcessed(true);
    }
private void handleMessage ( final Class < ? > jaxbClass , final XsdType xsdType ) throws JaxbProtoConvertException { final ProtoMessage protoMessage = getOrCreateMessage ( jaxbClass . getSimpleName ( ) , jaxbClass , xsdType ) ; handleFields ( protoMessage , jaxbClass ) ; if ( xsdType . getBaseType ( ) != null ) { final XsdType baseType = xsdType . getBaseType ( ) ; final Class < ? > baseClazz = baseType . getJaxbType ( ) ; final ProtoMessage baseMessage = getOrCreateMessage ( baseClazz . getSimpleName ( ) , baseClazz , baseType ) ; protoMessage . setBaseMessage ( baseMessage ) ; handleBaseTypeImport ( protoMessage ) ; } protoMessage . setProcessed ( true ) ; }
Method that creates a model that represents a protocol buffer message for the JAXB class specified.
Method that creates a model that represents a protocol buffer message for the JAXB class specified .