| Package | Description |
|---|---|
| org.htmlunit.cyberneko | |
| org.htmlunit.cyberneko.filters | |
| org.htmlunit.cyberneko.parsers | |
| org.htmlunit.cyberneko.xerces.parsers | |
| org.htmlunit.cyberneko.xerces.xni |
| Modifier and Type | Field and Description |
|---|---|
protected XMLString |
HTMLScanner.fStringBuffer
String buffer.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected void |
HTMLScanner.ContentScanner.scanAttributeQuotedValue(int currentQuote,
org.htmlunit.cyberneko.HTMLScanner.CurrentEntity currentEntity,
XMLString attribValue,
XMLString plainAttribValue,
boolean normalizeAttributes) |
protected void |
HTMLScanner.ContentScanner.scanAttributeUnquotedValue(org.htmlunit.cyberneko.HTMLScanner.CurrentEntity currentEntity,
XMLString attribValue,
XMLString plainAttribValue) |
protected boolean |
HTMLScanner.ContentScanner.scanCDataContent(XMLString xmlString) |
protected void |
HTMLScanner.SpecialScanner.scanCharacters(XMLString buffer) |
protected void |
HTMLScanner.PlainTextScanner.scanCharacters(XMLString buffer,
boolean complete) |
protected boolean |
HTMLScanner.ContentScanner.scanCommentContent(XMLString buffer) |
protected int |
HTMLScanner.scanEntityRef(XMLString str,
XMLString plainValue,
boolean content) |
| Modifier and Type | Method and Description |
|---|---|
void |
HTMLWriterFilter.characters(XMLString text,
Augmentations augs)
Characters.
|
void |
DefaultFilter.characters(XMLString text,
Augmentations augs)
Characters.
|
void |
HTMLWriterFilter.comment(XMLString text,
Augmentations augs)
Comment.
|
void |
DefaultFilter.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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DOMFragmentParser.characters(XMLString text,
Augmentations augs) |
void |
DOMFragmentParser.comment(XMLString text,
Augmentations augs) |
void |
DOMFragmentParser.processingInstruction(String target,
XMLString data,
Augmentations augs) |
| Modifier and Type | Field and Description |
|---|---|
protected XMLString |
AbstractDOMParser.fStringBuffer
Character buffer
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractXMLDocumentParser.characters(XMLString text,
Augmentations augs)
Character content.
|
void |
AbstractSAXParser.characters(XMLString text,
Augmentations augs)
Character content.
|
void |
AbstractDOMParser.characters(XMLString text,
Augmentations augs)
Character content.
|
void |
AbstractXMLDocumentParser.comment(XMLString text,
Augmentations augs)
A comment.
|
void |
AbstractSAXParser.comment(XMLString text,
Augmentations augs)
A comment.
|
void |
AbstractDOMParser.comment(XMLString text,
Augmentations augs)
A comment.
|
void |
AbstractXMLDocumentParser.processingInstruction(String target,
XMLString data,
Augmentations augs)
A processing instruction.
|
void |
AbstractSAXParser.processingInstruction(String target,
XMLString data,
Augmentations augs)
A processing instruction.
|
void |
AbstractDOMParser.processingInstruction(String target,
XMLString data,
Augmentations augs)
A processing instruction.
|
| Modifier and Type | Field and Description |
|---|---|
static XMLString |
XMLString.EMPTY |
| Modifier and Type | Method and Description |
|---|---|
XMLString |
XMLString.append(char c)
Appends a single character to the buffer.
|
XMLString |
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 from
|
XMLString |
XMLString.append(char c1,
char c2)
Append two characters at once, mainly to make
a codePoint add more efficient
|
XMLString |
XMLString.append(String src)
Append a string to this buffer without copying the string first.
|
XMLString |
XMLString.append(XMLString src)
Add another buffer to this one.
|
XMLString |
XMLString.clear()
Resets the buffer to 0 length.
|
XMLString |
XMLString.clearAndAppend(char c)
Resets the buffer to 0 length and sets the new data.
|
XMLString |
XMLString.clone()
Returns a content copy of this buffer
|
XMLString |
XMLString.prepend(char c)
Inserts a character at the beginning
|
XMLString |
XMLString.reduceToContent(String startMarker,
String endMarker)
Deprecated.
Use the new method
trimToContent(String, String) instead. |
XMLString |
XMLString.shortenBy(int count)
Shortens the buffer by that many positions.
|
XMLString |
XMLString.toLowerCase(Locale locale)
This lowercases an XMLString in place and will likely not
consume extra memory unless the character might grow.
|
XMLString |
XMLString.toUpperCase(Locale locale)
This uppercases an XMLString in place and will likely not
consume extra memory unless the character might grow.
|
XMLString |
XMLString.trim()
Trims the string similar to
String.trim() |
XMLString |
XMLString.trimLeading()
Removes all whitespace before the first non-whitespace char.
|
XMLString |
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 |
XMLString.trimTrailing()
Removes all whitespace at the end.
|
XMLString |
XMLString.trimWhitespaceAtEnd()
Deprecated.
Use
trimTrailing() instead. |
| Modifier and Type | Method and Description |
|---|---|
XMLString |
XMLString.append(XMLString src)
Add another buffer to this one.
|
void |
XMLDocumentHandler.characters(XMLString text,
Augmentations augs)
Character content.
|
void |
XMLDocumentHandler.comment(XMLString text,
Augmentations augs)
A comment.
|
boolean |
XMLString.contains(XMLString s)
See if this string contains the other
|
static 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 |
XMLString.indexOf(XMLString s)
Search for the first occurrence of another buffer in this buffer
|
void |
XMLDocumentHandler.processingInstruction(String target,
XMLString data,
Augmentations augs)
A processing instruction.
|
static String |
XMLString.toString(XMLString seq)
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.
|
| Modifier and Type | Method and Description |
|---|---|
String |
XMLString.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.
|
| Constructor and Description |
|---|
XMLString(XMLString src)
Constructs an XMLCharBuffer from another buffer.
|
XMLString(XMLString src,
int addCapacity)
Constructs an XMLCharBuffer from another buffer.
|
Copyright © 2024 HtmlUnit. All rights reserved.