mil.dod.th.ose.jaxb.proto.converter/src/mil/dod/th/ose/jaxbprotoconverter/xsd/XsdParser.java
private void handleBaseAttribute(final Element element, final XsdType type) 
            throws ClassNotFoundException
    {
        final String base = element.getAttribute(BASE_ATTRIBUTE);
        final String[] splitBase = base.split(":");
        final String baseTypeName;
        if (splitBase.length == 2)
        {
            baseTypeName = splitBase[1];
        }
        else
        {
            baseTypeName = splitBase[0];
        }
        final XsdType baseType = getOrCreateBaseXsdType(baseTypeName);
        type.setBaseType(baseType);
    }
/**
     * Method that handles an XSD element that contains a base attribute.
     * 
     * @param element
     *      XML element that has a base attribute.
     * @param type
     *      The XSD type the XML element with the attribute belongs to.
     * @throws ClassNotFoundException
     *      Thrown if no JAXB class can be found for the base type.
     */
Method that handles an XSD element that contains a base attribute.

@param element
XML element that has a base attribute.
@param type
The XSD type the XML element with the attribute belongs to.
@throws ClassNotFoundException
Thrown if no JAXB class can be found for the base type.
Method that handles an XSD element that contains a base attribute . @param element XML element that has a base attribute . @param type The XSD type the XML element with the attribute belongs to . @throws ClassNotFoundException Thrown if no JAXB class can be found for the base type .
private void handleBaseAttribute(final Element element, final XsdType type) 
            throws ClassNotFoundException
    {
        final String base = element.getAttribute(BASE_ATTRIBUTE);
        final String[] splitBase = base.split(":");
        final String baseTypeName;
        if (splitBase.length == 2)
        {
            baseTypeName = splitBase[1];
        }
        else
        {
            baseTypeName = splitBase[0];
        }
        final XsdType baseType = getOrCreateBaseXsdType(baseTypeName);
        type.setBaseType(baseType);
    }
private void handleBaseAttribute ( final Element element , final XsdType type ) throws ClassNotFoundException { final String base = element . getAttribute ( BASE_ATTRIBUTE ) ; final String [ ] splitBase = base . split ( ":" ) ; final String baseTypeName ; if ( splitBase . length == 2 ) { baseTypeName = splitBase [ 1 ] ; } else { baseTypeName = splitBase [ 0 ] ; } final XsdType baseType = getOrCreateBaseXsdType ( baseTypeName ) ; type . setBaseType ( baseType ) ; }
Method that handles an XSD element that contains a base attribute.
Method that handles an XSD element that contains a base attribute .