mil.dod.th.ose.jaxb.proto.converter/src/mil/dod/th/ose/jaxbprotoconverter/JaxbClassParser.java
private ProtoField handleXmlValue(final ProtoMessage message, final Field field) throws JaxbProtoConvertException
    {
        final ProtoField entry = new ProtoField(message);
        entry.setName(field.getName());
        entry.setRule(ProtoField.Rule.Required);
        
        entry.setType(getBasicType(field.getType()));
        if (entry.getType() == null)
        {
            handleReference(field.getType(), entry);
        }
        
        return entry;
    }
/**
     * Method for converting a JAXB class field annotated with the XML value annotations into a protocol buffer field.
     * 
     * @param message
     *      Proto message the field resides in.
     * @param field
     *      Field that contains information about the XML value.
     * @return
     *      The proto field based off the JAXB class field.
     * @throws JaxbProtoConvertException
     *      Thrown if an error occurs handling the XML value.
     */
Method for converting a JAXB class field annotated with the XML value annotations into a protocol buffer field.

@param message
Proto message the field resides in.
@param field
Field that contains information about the XML value.
@return
The proto field based off the JAXB class field.
@throws JaxbProtoConvertException
Thrown if an error occurs handling the XML value.
Method for converting a JAXB class field annotated with the XML value annotations into a protocol buffer field . @param message Proto message the field resides in . @param field Field that contains information about the XML value . @return The proto field based off the JAXB class field . @throws JaxbProtoConvertException Thrown if an error occurs handling the XML value .
private ProtoField handleXmlValue(final ProtoMessage message, final Field field) throws JaxbProtoConvertException
    {
        final ProtoField entry = new ProtoField(message);
        entry.setName(field.getName());
        entry.setRule(ProtoField.Rule.Required);
        entry.setType(getBasicType(field.getType()));
        if (entry.getType() == null)
        {
            handleReference(field.getType(), entry);
        }
        return entry;
    }
private ProtoField handleXmlValue ( final ProtoMessage message , final Field field ) throws JaxbProtoConvertException { final ProtoField entry = new ProtoField ( message ) ; entry . setName ( field . getName ( ) ) ; entry . setRule ( ProtoField . Rule . Required ) ; entry . setType ( getBasicType ( field . getType ( ) ) ) ; if ( entry . getType ( ) == null ) { handleReference ( field . getType ( ) , entry ) ; } return entry ; }
Method for converting a JAXB class field annotated with the XML value annotations into a protocol buffer field.
Method for converting a JAXB class field annotated with the XML value annotations into a protocol buffer field .