public class HTMLScanner.ContentScanner extends Object implements HTMLScanner.Scanner
| Constructor and Description |
|---|
ContentScanner() |
| Modifier and Type | Method and Description |
|---|---|
int |
scan(boolean complete)
Scan.
|
protected int |
scanAttribute(XMLAttributesImpl attributes,
boolean[] empty)
Scans a real attribute.
|
protected int |
scanAttributeQuotedValue(int currentQuote,
org.htmlunit.cyberneko.HTMLScanner.CurrentEntity currentEntity,
XMLString attribValue,
XMLString plainAttribValue,
boolean normalizeAttributes) |
protected int |
scanAttributeUnquotedValue(org.htmlunit.cyberneko.HTMLScanner.CurrentEntity currentEntity,
XMLString attribValue,
XMLString plainAttribValue) |
protected int |
scanCDATA() |
protected int |
scanCDataContent(XMLString xmlString) |
protected void |
scanCharacters() |
protected int |
scanComment() |
protected int |
scanCommentContent(XMLString buffer) |
protected void |
scanEndElement() |
protected int |
scanPI() |
protected int |
scanStartElement(boolean[] empty)
Scans a start element.
|
public int scan(boolean complete)
throws IOException
scan in interface HTMLScanner.Scannercomplete - True if the scanner should not return until scanning is
complete.IOException - Thrown if I/O error occurs.protected void scanCharacters()
throws IOException
IOExceptionprotected int scanCDATA()
throws IOException
IOExceptionprotected int scanComment()
throws IOException
IOExceptionprotected int scanCommentContent(XMLString buffer) throws IOException
IOExceptionprotected int scanCDataContent(XMLString xmlString) throws IOException
IOExceptionprotected int scanPI()
throws IOException
IOExceptionprotected int scanStartElement(boolean[] empty)
throws IOException
empty - Is used for a second return value to indicate whether the start
element tag is empty (e.g. "/>").IOException - in case of io problemsprotected int scanAttribute(XMLAttributesImpl attributes, boolean[] empty) throws IOException
attributes - The list of attributes.empty - Is used for a second return value to indicate whether the
start element tag is empty (e.g. "/>").IOException - in case of io problemsprotected int scanAttributeUnquotedValue(org.htmlunit.cyberneko.HTMLScanner.CurrentEntity currentEntity,
XMLString attribValue,
XMLString plainAttribValue)
throws IOException
IOExceptionprotected int scanAttributeQuotedValue(int currentQuote,
org.htmlunit.cyberneko.HTMLScanner.CurrentEntity currentEntity,
XMLString attribValue,
XMLString plainAttribValue,
boolean normalizeAttributes)
throws IOException
IOExceptionprotected void scanEndElement()
throws IOException
IOExceptionCopyright © 2025 HtmlUnit. All rights reserved.