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 classPair of (text, augmentation) -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(XMLString text, Augmentations augs) Adds some text that need to be re-feed later.voidclear()Clears the listbooleanisEmpty()Indicates if this container contains somethingvoidrefeed(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:
trueif no lost text has been collected
-
clear
public void clear()Clears the list
-