private void outputIndexTermStartElement(final IndexTerm term, final XMLStreamWriter serializer, final boolean indexsee) throws XMLStreamException {
        //RFE 2987769 Eclipse index-see
        if (indexsee){
            if (term.getTermPrefix() != null) {
                inIndexsee = true;
                serializer.writeStartElement("see");
                serializer.writeAttribute("keyword", term.getTermName());
            } else if (inIndexsee) { // subterm of an indexsee.
                serializer.writeStartElement("subpath");
                serializer.writeAttribute("keyword", term.getTermName());
                serializer.writeEndElement(); // subpath
            } else {
                serializer.writeStartElement("entry");
                serializer.writeAttribute("keyword", term.getTermName());
                outputIndexEntryEclipseIndexsee(term, serializer);
            }
        } else {
            serializer.writeStartElement("entry");
            serializer.writeAttribute("keyword", term.getTermFullName());
            outputIndexEntry(term, serializer);
        }
    }
private void outputIndexTermStartElement ( final IndexTerm term , final XMLStreamWriter serializer , final boolean indexsee ) throws XMLStreamException { if ( indexsee ) { if ( term . getTermPrefix ( ) != null ) { inIndexsee = true ; serializer . writeStartElement ( "see" ) ; serializer . writeAttribute ( "keyword" , term . getTermName ( ) ) ; } else if ( inIndexsee ) { serializer . writeStartElement ( "subpath" ) ; serializer . writeAttribute ( "keyword" , term . getTermName ( ) ) ; serializer . writeEndElement ( ) ; } else { serializer . writeStartElement ( "entry" ) ; serializer . writeAttribute ( "keyword" , term . getTermName ( ) ) ; outputIndexEntryEclipseIndexsee ( term , serializer ) ; } } else { serializer . writeStartElement ( "entry" ) ; serializer . writeAttribute ( "keyword" , term . getTermFullName ( ) ) ; outputIndexEntry ( term , serializer ) ; } }
/*
Logic for adding various start index entry elements for Eclipse help.

@param term  The indexterm to be processed.
@param printWriter The Writer used for writing content to disk.
@param indexsee Boolean value for using the new markup for see references.