Class Style

    • Constructor Detail

      • Style

        public Style()
    • Method Detail

      • content

        public List<Element> content​(WorkerContext ctx,
                                     Tag tag,
                                     String content)
        Description copied from interface: TagProcessor
        This method is called if there is text content encountered between the opening and closing tags this TagProcessor is mapped to.
        Specified by:
        content in interface TagProcessor
        Overrides:
        content in class AbstractTagProcessor
        Parameters:
        ctx - the WorkerContext
        tag - the tag encountered
        content - the text content between the tags this TagProcessor is mapped to.
        Returns:
        the element to add to the currentContent list