Package com.redhat.topicindex.rest.sort

Examples of com.redhat.topicindex.rest.sort.TopicV1TitleComparator


          /* don't add an empty list */
          if (relatedTopics.size() != 0)
          {
            final Node itemizedlist = DocbookUtils.createRelatedTopicItemizedList(xmlDoc, "Related " + genericInjectionPoint.getCategoryIDAndName().getSecond() + "s");

            Collections.sort(relatedTopics, new TopicV1TitleComparator());

            for (final TopicV1 relatedTopic : relatedTopics)
            {
              if (internal)
                DocbookUtils.createRelatedTopicULink(xmlDoc, getURLToInternalTopic(relatedTopic.getId()), relatedTopic.getTitle(), itemizedlist);
View Full Code Here


          /* don't add an empty list */
          if (relatedTopics.size() != 0)
          {
            final Node itemizedlist = DocbookUtils.createRelatedTopicItemizedList(xmlDoc, "Related " + genericInjectionPoint.getCategoryIDAndName().getSecond() + "s");

            Collections.sort(relatedTopics, new TopicV1TitleComparator());

            for (final TopicV1 relatedTopic : relatedTopics)
            {
              if (internal)
              {
View Full Code Here

TOP

Related Classes of com.redhat.topicindex.rest.sort.TopicV1TitleComparator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.