Interface TagProcessorService

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    TagProcessorServiceImpl

    public interface TagProcessorService
    extends java.io.Serializable
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> blockElement​(org.jsoup.nodes.Element element)
      This method return elements as map-structure.
      java.util.Map<java.lang.String,​java.lang.Object> blockElement​(org.jsoup.nodes.Element element, RequestElement request)
      This method return elements as map-structure.
      java.util.List<java.lang.Object> buildBlockElements​(org.jsoup.select.Elements blockElements)
      This method build elements.
      java.util.List<java.lang.Object> buildForeachElements​(org.jsoup.select.Elements foreachElements)
      This method builds elements.
      java.util.List<java.lang.Object> buildFragmentElements​(org.jsoup.select.Elements fragmentElements)
      This method build elements.
      java.util.List<java.lang.Object> buildIfElements​(org.jsoup.select.Elements ifElements)
      This method build elements.
      java.util.List<java.lang.Object> buildResourceElements​(org.jsoup.select.Elements resourceElements)
      This method builds elements.
      java.util.List<java.lang.Object> buildRestElements​(org.jsoup.select.Elements restElements)
      This method build elements.
      java.util.List<java.lang.Object> buildSelectElements​(org.jsoup.select.Elements selectElements)
      This method build elements.
      java.util.List<java.lang.Object> buildTextElements​(org.jsoup.select.Elements textElements)
      This method build elements.
      java.util.List<java.lang.Object> buildTreeElements​(org.jsoup.select.Elements treeElements)
      This method build elements.
      java.lang.String compileBlockElement​(org.jsoup.nodes.Element element)
      This method compile element.
      java.util.Map<java.lang.String,​java.lang.Object> compileElement​(java.lang.String html, RequestElement request)
      This method compiles element.
      java.lang.String compileForeachElement​(org.jsoup.nodes.Element element)
      This method compile element.
      java.lang.String compileFragmentElement​(org.jsoup.nodes.Element element)
      This method compile element.
      java.lang.String compileIfElement​(org.jsoup.nodes.Element element)
      This method compile elements.
      java.lang.String compileResourceElement​(org.jsoup.nodes.Element element)
      This method compile elements.
      java.lang.String compileRestElement​(org.jsoup.nodes.Element element)
      This method compile elements.
      java.lang.String compileSelectElement​(org.jsoup.nodes.Element element)
      This method compile elements.
      java.util.List<java.lang.Object> compileTemplate​(java.lang.String html)
      This method compiles template.
      java.lang.String compileTemplateAsHtml​(java.lang.String html)
      This method compiles template.
      java.lang.String compileTextElement​(org.jsoup.nodes.Element element)
      This method compile element.
      java.lang.String compileTreeElement​(org.jsoup.nodes.Element element)
      This method compile elements.
      java.lang.String completeCompile​(java.lang.String html)
      This method does update links on the page for language awareness, it works if language detection is disabled.
      java.util.Map<java.lang.String,​java.lang.Object> foreachElement​(org.jsoup.nodes.Element element)
      This method return elements as map-structure.
      java.util.Map<java.lang.String,​java.lang.Object> foreachElement​(org.jsoup.nodes.Element element, RequestElement request)
      This method return elements as map-structure.
      java.util.Map<java.lang.String,​java.lang.Object> fragmentElement​(org.jsoup.nodes.Element element)
      This method return elements as map-structure.
      java.util.Map<java.lang.String,​java.lang.Object> fragmentElement​(org.jsoup.nodes.Element element, RequestElement request)
      This method return elements as map-structure.
      java.util.Map<java.lang.String,​java.lang.Object> ifElement​(org.jsoup.nodes.Element element)
      This method return elements as map-structure.
      java.util.Map<java.lang.String,​java.lang.Object> ifElement​(org.jsoup.nodes.Element element, RequestElement request)
      This method return elements as map-structure.
      java.lang.String recursiveCompile​(java.lang.String html, java.util.Map<java.lang.String,​java.lang.Object> map, java.lang.String itemPrefix)
      This method compiles template recursive.
      java.util.Map<java.lang.String,​java.lang.Object> resourceElement​(org.jsoup.nodes.Element element)
      This method return elements as map-structure.
      java.util.Map<java.lang.String,​java.lang.Object> resourceElement​(org.jsoup.nodes.Element element, RequestElement request)
      This method return elements as map-structure.
      java.util.Map<java.lang.String,​java.lang.Object> restElement​(org.jsoup.nodes.Element element)
      This method return elements as map-structure.
      java.util.Map<java.lang.String,​java.lang.Object> restElement​(org.jsoup.nodes.Element element, RequestElement request)
      This method return elements as map-structure.
      java.util.Map<java.lang.String,​java.lang.Object> selectElement​(org.jsoup.nodes.Element element)
      This method return elements as map-structure.
      java.util.Map<java.lang.String,​java.lang.Object> selectElement​(org.jsoup.nodes.Element element, RequestElement request)
      This method return elements as map-structure.
      java.util.Map<java.lang.String,​java.lang.Object> textElement​(org.jsoup.nodes.Element element)
      This method return elements as map-structure.
      java.util.Map<java.lang.String,​java.lang.Object> textElement​(org.jsoup.nodes.Element element, RequestElement request)
      This method return elements as map-structure.
      java.util.Map<java.lang.String,​java.lang.Object> treeElement​(org.jsoup.nodes.Element element)
      This method return elements as map-structure.
      java.util.Map<java.lang.String,​java.lang.Object> treeElement​(org.jsoup.nodes.Element element, RequestElement request)
      This method return elements as map-structure.
    • Method Detail

      • compileTemplate

        java.util.List<java.lang.Object> compileTemplate​(java.lang.String html)
        This method compiles template.
        Parameters:
        html - html which will be compiled
        Returns:
        objects as list
      • compileElement

        java.util.Map<java.lang.String,​java.lang.Object> compileElement​(java.lang.String html,
                                                                              RequestElement request)
        This method compiles element.
        Parameters:
        html - html which will be compiled
        request - request with the help of which get the element for compilation
        Returns:
        map-structure
      • compileTemplateAsHtml

        java.lang.String compileTemplateAsHtml​(java.lang.String html)
        This method compiles template.
        Parameters:
        html - html which will be compiled
        Returns:
        value as text
      • completeCompile

        java.lang.String completeCompile​(java.lang.String html)
        This method does update links on the page for language awareness, it works if language detection is disabled. It does also postprocessing for script tags and style tags.
        Parameters:
        html - html which will be processed
        Returns:
        value as text
      • recursiveCompile

        java.lang.String recursiveCompile​(java.lang.String html,
                                          java.util.Map<java.lang.String,​java.lang.Object> map,
                                          java.lang.String itemPrefix)
        This method compiles template recursive.
        Parameters:
        html - html which will be compiled
        map - map which will be compiled
        itemPrefix - itemPrefix which will be compiled
        Returns:
        value as text
      • buildForeachElements

        java.util.List<java.lang.Object> buildForeachElements​(org.jsoup.select.Elements foreachElements)
        This method builds elements.
        Parameters:
        foreachElements - elements which will be built
        Returns:
        objects as list
      • foreachElement

        java.util.Map<java.lang.String,​java.lang.Object> foreachElement​(org.jsoup.nodes.Element element)
        This method return elements as map-structure.
        Parameters:
        element - which will be retrieved
        Returns:
        data as map
      • foreachElement

        java.util.Map<java.lang.String,​java.lang.Object> foreachElement​(org.jsoup.nodes.Element element,
                                                                              RequestElement request)
        This method return elements as map-structure.
        Parameters:
        element - which will be retrieved
        request - request with the help of which get the element
        Returns:
        data as map
      • compileForeachElement

        java.lang.String compileForeachElement​(org.jsoup.nodes.Element element)
        This method compile element.
        Parameters:
        element - which will be compiled
        Returns:
        data as text
      • buildRestElements

        java.util.List<java.lang.Object> buildRestElements​(org.jsoup.select.Elements restElements)
        This method build elements.
        Parameters:
        restElements - which will be built
        Returns:
        data as list
      • restElement

        java.util.Map<java.lang.String,​java.lang.Object> restElement​(org.jsoup.nodes.Element element)
        This method return elements as map-structure.
        Parameters:
        element - which will be retrieved
        Returns:
        data as map
      • restElement

        java.util.Map<java.lang.String,​java.lang.Object> restElement​(org.jsoup.nodes.Element element,
                                                                           RequestElement request)
        This method return elements as map-structure.
        Parameters:
        element - which will be retrieved
        request - request with the help of which get the element
        Returns:
        data as map
      • compileRestElement

        java.lang.String compileRestElement​(org.jsoup.nodes.Element element)
        This method compile elements.
        Parameters:
        element - which will be compiled
        Returns:
        data as text
      • buildFragmentElements

        java.util.List<java.lang.Object> buildFragmentElements​(org.jsoup.select.Elements fragmentElements)
        This method build elements.
        Parameters:
        fragmentElements - which will be built
        Returns:
        data as list
      • fragmentElement

        java.util.Map<java.lang.String,​java.lang.Object> fragmentElement​(org.jsoup.nodes.Element element)
        This method return elements as map-structure.
        Parameters:
        element - which will be retrieved
        Returns:
        data as map
      • fragmentElement

        java.util.Map<java.lang.String,​java.lang.Object> fragmentElement​(org.jsoup.nodes.Element element,
                                                                               RequestElement request)
        This method return elements as map-structure.
        Parameters:
        element - which will be retrieved
        request - request with the help of which get the element
        Returns:
        data as map
      • compileFragmentElement

        java.lang.String compileFragmentElement​(org.jsoup.nodes.Element element)
        This method compile element.
        Parameters:
        element - which will be compiled
        Returns:
        data as text
      • buildBlockElements

        java.util.List<java.lang.Object> buildBlockElements​(org.jsoup.select.Elements blockElements)
        This method build elements.
        Parameters:
        blockElements - which will be built
        Returns:
        data as list
      • blockElement

        java.util.Map<java.lang.String,​java.lang.Object> blockElement​(org.jsoup.nodes.Element element)
        This method return elements as map-structure.
        Parameters:
        element - which will be retrieved
        Returns:
        data as map
      • blockElement

        java.util.Map<java.lang.String,​java.lang.Object> blockElement​(org.jsoup.nodes.Element element,
                                                                            RequestElement request)
        This method return elements as map-structure.
        Parameters:
        element - which will be retrieved
        request - request with the help of which get the element
        Returns:
        data as map
      • compileBlockElement

        java.lang.String compileBlockElement​(org.jsoup.nodes.Element element)
        This method compile element.
        Parameters:
        element - which will be compiled
        Returns:
        data as text
      • buildTextElements

        java.util.List<java.lang.Object> buildTextElements​(org.jsoup.select.Elements textElements)
        This method build elements.
        Parameters:
        textElements - which will be built
        Returns:
        data as list
      • textElement

        java.util.Map<java.lang.String,​java.lang.Object> textElement​(org.jsoup.nodes.Element element)
        This method return elements as map-structure.
        Parameters:
        element - which will be retrieved
        Returns:
        data as map
      • textElement

        java.util.Map<java.lang.String,​java.lang.Object> textElement​(org.jsoup.nodes.Element element,
                                                                           RequestElement request)
        This method return elements as map-structure.
        Parameters:
        element - which will be retrieved
        request - request with the help of which get the element
        Returns:
        data as map
      • compileTextElement

        java.lang.String compileTextElement​(org.jsoup.nodes.Element element)
        This method compile element.
        Parameters:
        element - which will be compiled
        Returns:
        data as text
      • buildTreeElements

        java.util.List<java.lang.Object> buildTreeElements​(org.jsoup.select.Elements treeElements)
        This method build elements.
        Parameters:
        treeElements - which will be built
        Returns:
        data as list
      • treeElement

        java.util.Map<java.lang.String,​java.lang.Object> treeElement​(org.jsoup.nodes.Element element)
        This method return elements as map-structure.
        Parameters:
        element - which will be retrieved
        Returns:
        data as map
      • treeElement

        java.util.Map<java.lang.String,​java.lang.Object> treeElement​(org.jsoup.nodes.Element element,
                                                                           RequestElement request)
        This method return elements as map-structure.
        Parameters:
        element - which will be retrieved
        request - request with the help of which get the element
        Returns:
        data as map
      • compileTreeElement

        java.lang.String compileTreeElement​(org.jsoup.nodes.Element element)
        This method compile elements.
        Parameters:
        element - which will be compiled
        Returns:
        data as text
      • buildIfElements

        java.util.List<java.lang.Object> buildIfElements​(org.jsoup.select.Elements ifElements)
        This method build elements.
        Parameters:
        ifElements - which will be built
        Returns:
        data as list
      • ifElement

        java.util.Map<java.lang.String,​java.lang.Object> ifElement​(org.jsoup.nodes.Element element)
        This method return elements as map-structure.
        Parameters:
        element - which will be retrieved
        Returns:
        data as map
      • ifElement

        java.util.Map<java.lang.String,​java.lang.Object> ifElement​(org.jsoup.nodes.Element element,
                                                                         RequestElement request)
        This method return elements as map-structure.
        Parameters:
        element - which will be retrieved
        request - request with the help of which get the element
        Returns:
        data as map
      • compileIfElement

        java.lang.String compileIfElement​(org.jsoup.nodes.Element element)
        This method compile elements.
        Parameters:
        element - which will be compiled
        Returns:
        data as text
      • buildSelectElements

        java.util.List<java.lang.Object> buildSelectElements​(org.jsoup.select.Elements selectElements)
        This method build elements.
        Parameters:
        selectElements - which will be built
        Returns:
        data as list
      • selectElement

        java.util.Map<java.lang.String,​java.lang.Object> selectElement​(org.jsoup.nodes.Element element)
        This method return elements as map-structure.
        Parameters:
        element - which will be retrieved
        Returns:
        data as map
      • selectElement

        java.util.Map<java.lang.String,​java.lang.Object> selectElement​(org.jsoup.nodes.Element element,
                                                                             RequestElement request)
        This method return elements as map-structure.
        Parameters:
        element - which will be retrieved
        request - request with the help of which get the element
        Returns:
        data as map
      • compileSelectElement

        java.lang.String compileSelectElement​(org.jsoup.nodes.Element element)
        This method compile elements.
        Parameters:
        element - which will be compiled
        Returns:
        data as text
      • buildResourceElements

        java.util.List<java.lang.Object> buildResourceElements​(org.jsoup.select.Elements resourceElements)
        This method builds elements.
        Parameters:
        resourceElements - elements which will be built
        Returns:
        objects as list
      • resourceElement

        java.util.Map<java.lang.String,​java.lang.Object> resourceElement​(org.jsoup.nodes.Element element)
        This method return elements as map-structure.
        Parameters:
        element - which will be retrieved
        Returns:
        data as map
      • resourceElement

        java.util.Map<java.lang.String,​java.lang.Object> resourceElement​(org.jsoup.nodes.Element element,
                                                                               RequestElement request)
        This method return elements as map-structure.
        Parameters:
        element - which will be retrieved
        request - request with the help of which get the element
        Returns:
        data as map
      • compileResourceElement

        java.lang.String compileResourceElement​(org.jsoup.nodes.Element element)
        This method compile elements.
        Parameters:
        element - which will be compiled
        Returns:
        data as text