Uses of Class
org.htmlunit.cyberneko.xerces.xni.XMLString
Packages that use XMLString
Package
Description
-
Uses of XMLString in org.htmlunit.cyberneko
Fields in org.htmlunit.cyberneko declared as XMLStringModifier and TypeFieldDescriptionprivate final XMLString
HTMLScanner.SpecialScanner.charBuffer_
A string buffer.(package private) final XMLString
HTMLScanner.fScanComment
private final XMLString
HTMLScanner.fScanLiteral
(package private) final XMLString
HTMLScanner.fScanScriptContent
String buffer, larger because scripts areas are larger(package private) final XMLString
HTMLScanner.fScanUntilEndTag
protected final XMLString
HTMLScanner.fStringBuffer
String buffer.(package private) final XMLString
HTMLScanner.fStringBufferEntiyRef
String buffer used when resolving entity refs.(package private) final XMLString
HTMLScanner.fStringBufferPlainAttribValue
(package private) final XMLString
LostText.Entry.text_
private final XMLString
HTMLScanner.PlainTextScanner.xmlString_
A string buffer.Methods in org.htmlunit.cyberneko with parameters of type XMLStringModifier and TypeMethodDescriptionvoid
LostText.add
(XMLString text, Augmentations augs) Adds some text that need to be re-feed later.void
HTMLTagBalancer.characters
(XMLString text, Augmentations augs) Characters.void
HTMLTagBalancer.comment
(XMLString text, Augmentations augs) Comment.void
HTMLTagBalancer.processingInstruction
(String target, XMLString data, Augmentations augs) Processing instruction.(package private) void
HTMLScanner.CurrentEntity.resetBuffer
(XMLString xmlBuffer, int lineNumber, int columnNumber, int characterOffset) private int
HTMLScanner.returnEntityRefString
(XMLString str, boolean content) protected void
HTMLScanner.ContentScanner.scanAttributeQuotedValue
(int currentQuote, HTMLScanner.CurrentEntity currentEntity, XMLString attribValue, XMLString plainAttribValue, boolean normalizeAttributes) protected void
HTMLScanner.ContentScanner.scanAttributeUnquotedValue
(HTMLScanner.CurrentEntity currentEntity, XMLString attribValue, XMLString plainAttribValue) protected boolean
HTMLScanner.ContentScanner.scanCDataContent
(XMLString xmlString) protected void
HTMLScanner.PlainTextScanner.scanCharacters
(XMLString buffer, boolean complete) protected void
HTMLScanner.SpecialScanner.scanCharacters
(XMLString buffer, int delimiter) protected boolean
HTMLScanner.ContentScanner.scanCommentContent
(XMLString buffer) protected int
HTMLScanner.scanEntityRef
(XMLString str, XMLString plainValue, boolean content) Constructors in org.htmlunit.cyberneko with parameters of type XMLString -
Uses of XMLString in org.htmlunit.cyberneko.filters
Methods in org.htmlunit.cyberneko.filters with parameters of type XMLStringModifier and TypeMethodDescriptionvoid
DefaultFilter.characters
(XMLString text, Augmentations augs) Characters.void
HTMLWriterFilter.characters
(XMLString text, Augmentations augs) Characters.void
DefaultFilter.comment
(XMLString text, Augmentations augs) Comment.void
HTMLWriterFilter.comment
(XMLString text, Augmentations augs) Comment.protected void
HTMLWriterFilter.printCharacters
(XMLString text, boolean normalize) Print characters.void
DefaultFilter.processingInstruction
(String target, XMLString data, Augmentations augs) Processing instruction. -
Uses of XMLString in org.htmlunit.cyberneko.parsers
Methods in org.htmlunit.cyberneko.parsers with parameters of type XMLStringModifier and TypeMethodDescriptionvoid
DOMFragmentParser.characters
(XMLString text, Augmentations augs) void
DOMFragmentParser.comment
(XMLString text, Augmentations augs) void
DOMFragmentParser.processingInstruction
(String target, XMLString data, Augmentations augs) -
Uses of XMLString in org.htmlunit.cyberneko.xerces.parsers
Fields in org.htmlunit.cyberneko.xerces.parsers declared as XMLStringModifier and TypeFieldDescriptionprotected final XMLString
AbstractDOMParser.fStringBuffer
Character bufferMethods in org.htmlunit.cyberneko.xerces.parsers with parameters of type XMLStringModifier and TypeMethodDescriptionvoid
AbstractDOMParser.characters
(XMLString text, Augmentations augs) Character content.void
AbstractSAXParser.characters
(XMLString text, Augmentations augs) Character content.void
AbstractXMLDocumentParser.characters
(XMLString text, Augmentations augs) Character content.void
AbstractDOMParser.comment
(XMLString text, Augmentations augs) A comment.void
AbstractSAXParser.comment
(XMLString text, Augmentations augs) A comment.void
AbstractXMLDocumentParser.comment
(XMLString text, Augmentations augs) A comment.void
AbstractDOMParser.processingInstruction
(String target, XMLString data, Augmentations augs) A processing instruction.void
AbstractSAXParser.processingInstruction
(String target, XMLString data, Augmentations augs) A processing instruction.void
AbstractXMLDocumentParser.processingInstruction
(String target, XMLString data, Augmentations augs) A processing instruction. -
Uses of XMLString in org.htmlunit.cyberneko.xerces.xni
Fields in org.htmlunit.cyberneko.xerces.xni declared as XMLStringMethods in org.htmlunit.cyberneko.xerces.xni that return XMLStringModifier and TypeMethodDescriptionXMLString.append
(char c) Appends a single character to the buffer.XMLString.append
(char[] src, int offset, int length) Add data from a char array to this buffer with the ability to specify a range to copy fromXMLString.append
(char c1, char c2) Append two characters at once, mainly to make a codePoint add more efficientAppend a string to this buffer without copying the string first.Add another buffer to this one.XMLString.clear()
Resets the buffer to 0 length.XMLString.clearAndAppend
(char c) Resets the buffer to 0 length and sets the new data.XMLString.clone()
Returns a content copy of this bufferXMLString.prepend
(char c) Inserts a character at the beginningXMLString.reduceToContent
(String startMarker, String endMarker) Deprecated.XMLString.shortenBy
(int count) Shortens the buffer by that many positions.XMLString.toLowerCase
(Locale locale) This lowercases an XMLString in place and will likely not consume extra memory unless the character might grow.XMLString.toUpperCase
(Locale locale) This uppercases an XMLString in place and will likely not consume extra memory unless the character might grow.XMLString.trim()
Trims the string similar toString.trim()
XMLString.trimLeading()
Removes all whitespace before the first non-whitespace char.XMLString.trimToContent
(String startMarker, String endMarker) Reduces the buffer to the content between start and end marker when only whitespaces are found before the startMarker as well as after the end marker.XMLString.trimTrailing()
Removes all whitespace at the end.XMLString.trimWhitespaceAtEnd()
Deprecated.UsetrimTrailing()
instead.Methods in org.htmlunit.cyberneko.xerces.xni with parameters of type XMLStringModifier and TypeMethodDescriptionAdd another buffer to this one.void
XMLDocumentHandler.characters
(XMLString text, Augmentations augs) Character content.void
XMLDocumentHandler.comment
(XMLString text, Augmentations augs) A comment.boolean
See if this string contains the otherstatic boolean
XMLString.equals
(CharSequence sequence, XMLString s) Compares a CharSequence with an XMLString in a null-safe manner.static boolean
XMLString.equalsIgnoreCase
(CharSequence sequence, XMLString s) Compares a CharSequence with an XMLString in a null-safe manner.int
Search for the first occurrence of another buffer in this buffervoid
XMLDocumentHandler.processingInstruction
(String target, XMLString data, Augmentations augs) A processing instruction.static String
Returns a string representation of a buffer.static String
XMLString.toString
(XMLString seq, FastHashMap<XMLString, String> cache) Returns a string representation of the buffer using a cache as source to avoid duplicates.Method parameters in org.htmlunit.cyberneko.xerces.xni with type arguments of type XMLStringModifier and TypeMethodDescriptionXMLString.toString
(FastHashMap<XMLString, String> cache) Returns a string representation of this buffer using a cache as source to avoid duplicates.static String
XMLString.toString
(XMLString seq, FastHashMap<XMLString, String> cache) Returns a string representation of the buffer using a cache as source to avoid duplicates.Constructors in org.htmlunit.cyberneko.xerces.xni with parameters of type XMLString
trimToContent(String, String)
instead.