mil.dod.th.ose.jaxb.proto.converter/src/mil/dod/th/ose/jaxbprotoconverter/xsd/XsdParser.java
private Element searchAnnotationForAppInfo(final NodeList annotationNodes)
    {
        for (int i = 0; i < annotationNodes.getLength(); i++)
        {
            final Node annotationNode = annotationNodes.item(i);
            if (annotationNode.getNodeType() == Node.ELEMENT_NODE)
            {
                final Element annotationElement = (Element)annotationNode;
                final String annotationNodeName = annotationElement.getNodeName();
                if ("xs:appinfo".equals(annotationNodeName))
                {
                    return annotationElement;
                }
            }
        }
        return null;
    }
/**
     * Searches the specified xs:annotation children for xs:appinfo nodes.
     * 
     * @param annotationNodes
     *      Node list that contains the children of an xs:annotation node.
     * @return
     *      Returns an xs:appinfo node if found. Otherwise returns null.
     */
Searches the specified xs:annotation children for xs:appinfo nodes.

@param annotationNodes
Node list that contains the children of an xs:annotation node.
@return
Returns an xs:appinfo node if found. Otherwise returns null.
Searches the specified xs : annotation children for xs : appinfo nodes . @param annotationNodes Node list that contains the children of an xs : annotation node . @return Returns an xs : appinfo node if found . Otherwise returns null .
private Element searchAnnotationForAppInfo(final NodeList annotationNodes)
    {
        for (int i = 0; i < annotationNodes.getLength(); i++)
        {
            final Node annotationNode = annotationNodes.item(i);
            if (annotationNode.getNodeType() == Node.ELEMENT_NODE)
            {
                final Element annotationElement = (Element)annotationNode;
                final String annotationNodeName = annotationElement.getNodeName();
                if ("xs:appinfo".equals(annotationNodeName))
                {
                    return annotationElement;
                }
            }
        }
        return null;
    }
private Element searchAnnotationForAppInfo ( final NodeList annotationNodes ) { for ( int i = 0 ; i < annotationNodes . getLength ( ) ; i ++ ) { final Node annotationNode = annotationNodes . item ( i ) ; if ( annotationNode . getNodeType ( ) == Node . ELEMENT_NODE ) { final Element annotationElement = ( Element ) annotationNode ; final String annotationNodeName = annotationElement . getNodeName ( ) ; if ( "xs:appinfo" . equals ( annotationNodeName ) ) { return annotationElement ; } } } return null ; }
Searches the specified xs:annotation children for xs:appinfo nodes.
Searches the specified xs : annotation children for xs : appinfo nodes .