Package org.htmlunit.cyberneko
Class LostText
java.lang.Object
org.htmlunit.cyberneko.LostText
Container for text that should be hold and re-feed later like text before <html> that will be re-feed
in <body>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
Pair of (text, augmentation) -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(XMLString text, Augmentations augs) Adds some text that need to be re-feed later.void
clear()
Clears the listboolean
isEmpty()
Indicates if this container contains somethingvoid
refeed
(XMLDocumentHandler tagBalancer) Pushes the characters into theXMLDocumentHandler
-
Field Details
-
entries_
-
-
Constructor Details
-
LostText
LostText()
-
-
Method Details
-
add
Adds some text that need to be re-feed later. The information gets copied. -
refeed
Pushes the characters into theXMLDocumentHandler
- 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
-