Class ContentServicesUtil


  • public class ContentServicesUtil
    extends java.lang.Object
    Content Service Utility class
    Since:
    9.0.0
    Version:
    $Revision: 19135 $ $Date: 2016-06-02 18:12:21 -0300 (Thu, 02 Jun 2016) $
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Collection<HierarchicalElement> parseHtml​(java.lang.String htmlFragment)
      Returns a collection of hierarchical elements from a HTML fragment, each element will be related to a LI HTML tag inside an UL/OL HTML tag.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContentServicesUtil

        public ContentServicesUtil()
    • Method Detail

      • parseHtml

        public static java.util.Collection<HierarchicalElement> parseHtml​(java.lang.String htmlFragment)
        Returns a collection of hierarchical elements from a HTML fragment, each element will be related to a LI HTML tag inside an UL/OL HTML tag.
        Parameters:
        htmlFragment - the HTML fragment to be analyzed.
        Returns:
        a collection of hierarchical elements from a HTML fragment.
        Since:
        9.0.0