Class LostText

java.lang.Object
org.htmlunit.cyberneko.LostText

class LostText extends Object
Container for text that should be hold and re-feed later like text before <html> that will be re-feed in <body>
  • Field Details

  • Constructor Details

    • LostText

      LostText()
  • Method Details

    • add

      public void add(XMLString text, Augmentations augs)
      Adds some text that need to be re-feed later. The information gets copied.
    • refeed

      public void refeed(XMLDocumentHandler tagBalancer)
      Pushes the characters into the XMLDocumentHandler
      Parameters:
      tagBalancer - the tag balancer that will receive the events
    • isEmpty

      public boolean isEmpty()
      Indicates if this container contains something
      Returns:
      true if no lost text has been collected
    • clear

      public void clear()
      Clears the list