mil.dod.th.ose.lexicon.doc/src/mil/dod/th/ose/lexicon/doc/parser/LexiconParser.java
private void handleAttribute(final Element element, final String elementName, final LexiconComplexType complexType)
    {
        String type = getTypeAttribute(element);
        if (type.isEmpty())
        {
            type = " ";
        }
        final String use = element.getAttribute("use");
        final LexiconAttribute lexAttribute = new LexiconAttribute();
        
        lexAttribute.setName(elementName);
        lexAttribute.setType(type);
        lexAttribute.setUse(use);
        
        complexType.getAttributes().add(lexAttribute);
        traverseNodes(element.getChildNodes(), element, lexAttribute);
    }
/**
     * Method that handles parsing an attribute.
     * 
     * @param element
     *      XSD attribute.
     * @param elementName
     *      Name of the attribute.
     * @param complexType
     *      Complex type the attribute belongs to.
     */
Method that handles parsing an attribute.

@param element
XSD attribute.
@param elementName
Name of the attribute.
@param complexType
Complex type the attribute belongs to.
Method that handles parsing an attribute . @param element XSD attribute . @param elementName Name of the attribute . @param complexType Complex type the attribute belongs to .
private void handleAttribute(final Element element, final String elementName, final LexiconComplexType complexType)
    {
        String type = getTypeAttribute(element);
        if (type.isEmpty())
        {
            type = " ";
        }
        final String use = element.getAttribute("use");
        final LexiconAttribute lexAttribute = new LexiconAttribute();
        lexAttribute.setName(elementName);
        lexAttribute.setType(type);
        lexAttribute.setUse(use);
        complexType.getAttributes().add(lexAttribute);
        traverseNodes(element.getChildNodes(), element, lexAttribute);
    }
private void handleAttribute ( final Element element , final String elementName , final LexiconComplexType complexType ) { String type = getTypeAttribute ( element ) ; if ( type . isEmpty ( ) ) { type = " " ; } final String use = element . getAttribute ( "use" ) ; final LexiconAttribute lexAttribute = new LexiconAttribute ( ) ; lexAttribute . setName ( elementName ) ; lexAttribute . setType ( type ) ; lexAttribute . setUse ( use ) ; complexType . getAttributes ( ) . add ( lexAttribute ) ; traverseNodes ( element . getChildNodes ( ) , element , lexAttribute ) ; }
Method that handles parsing an attribute.
Method that handles parsing an attribute .