mil.dod.th.ose.jaxb.proto.converter/src/mil/dod/th/ose/jaxbprotoconverter/xsd/XsdParser.java
private void handleSimpleType(final Element element, final Element parentElement, final XsdNamespace xsdNamespace, 
            final File xsdFile) throws ClassNotFoundException
    {
        final String elementName = 
                element.getAttribute("name"); //NOCHECKSTYLE Duplicate string is more readable
        final String typeName = elementName.isEmpty() ? parentElement.getAttribute("name") : elementName;
        final Class<?> newJaxbClass = determineJaxbClass(xsdFile, WordUtils.capitalize(typeName));
        getOrCreateXsdType(xsdNamespace, xsdFile, newJaxbClass, null);
    }
/**
     * Method that handles an XSD element that is a simple type.
     * 
     * @param element
     *      XML element that represents the simply type.
     * @param parentElement
     *      Parent element of the simple type.
     * @param xsdNamespace
     *      XSD namespace the simple type belongs to.
     * @param xsdFile
     *      XSD file the simple type is in.
     * @throws ClassNotFoundException
     *      Thrown if no JAXB class can be found for the simple type.
     */
Method that handles an XSD element that is a simple type.

@param element
XML element that represents the simply type.
@param parentElement
Parent element of the simple type.
@param xsdNamespace
XSD namespace the simple type belongs to.
@param xsdFile
XSD file the simple type is in.
@throws ClassNotFoundException
Thrown if no JAXB class can be found for the simple type.
Method that handles an XSD element that is a simple type . @param element XML element that represents the simply type . @param parentElement Parent element of the simple type . @param xsdNamespace XSD namespace the simple type belongs to . @param xsdFile XSD file the simple type is in . @throws ClassNotFoundException Thrown if no JAXB class can be found for the simple type .
private void handleSimpleType(final Element element, final Element parentElement, final XsdNamespace xsdNamespace, 
            final File xsdFile) throws ClassNotFoundException
    {
        final String elementName = 
                element.getAttribute("name"); 
        final String typeName = elementName.isEmpty() ? parentElement.getAttribute("name") : elementName;
        final Class<?> newJaxbClass = determineJaxbClass(xsdFile, WordUtils.capitalize(typeName));
        getOrCreateXsdType(xsdNamespace, xsdFile, newJaxbClass, null);
    }
private void handleSimpleType ( final Element element , final Element parentElement , final XsdNamespace xsdNamespace , final File xsdFile ) throws ClassNotFoundException { final String elementName = element . getAttribute ( "name" ) ; final String typeName = elementName . isEmpty ( ) ? parentElement . getAttribute ( "name" ) : elementName ; final Class < ? > newJaxbClass = determineJaxbClass ( xsdFile , WordUtils . capitalize ( typeName ) ) ; getOrCreateXsdType ( xsdNamespace , xsdFile , newJaxbClass , null ) ; }
Method that handles an XSD element that is a simple type.
Method that handles an XSD element that is a simple type .
//NOCHECKSTYLE Duplicate string is more readable