public class HTMLScanner.ContentScanner extends Object implements HTMLScanner.Scanner
| Constructor and Description |
|---|
ContentScanner() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
scan(boolean complete)
Scan.
|
protected boolean |
scanAttribute(XMLAttributesImpl attributes,
boolean[] empty)
Scans a real attribute.
|
protected void |
scanAttributeQuotedValue(int currentQuote,
org.htmlunit.cyberneko.HTMLScanner.CurrentEntity currentEntity,
XMLString attribValue,
XMLString plainAttribValue,
boolean normalizeAttributes) |
protected void |
scanAttributeUnquotedValue(org.htmlunit.cyberneko.HTMLScanner.CurrentEntity currentEntity,
XMLString attribValue,
XMLString plainAttribValue) |
protected void |
scanCDATA() |
protected boolean |
scanCDataContent(XMLString xmlString) |
protected void |
scanCharacters() |
protected void |
scanComment() |
protected boolean |
scanCommentContent(XMLString buffer) |
protected void |
scanEndElement() |
protected void |
scanPI() |
protected String |
scanStartElement(boolean[] empty)
Scans a start element.
|
public boolean 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 void scanCDATA()
throws IOException
IOExceptionprotected void scanComment()
throws IOException
IOExceptionprotected boolean scanCommentContent(XMLString buffer) throws IOException
IOExceptionprotected boolean scanCDataContent(XMLString xmlString) throws IOException
IOExceptionprotected void scanPI()
throws IOException
IOExceptionprotected String 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 boolean 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 void scanAttributeUnquotedValue(org.htmlunit.cyberneko.HTMLScanner.CurrentEntity currentEntity,
XMLString attribValue,
XMLString plainAttribValue)
throws IOException
IOExceptionprotected void scanAttributeQuotedValue(int currentQuote,
org.htmlunit.cyberneko.HTMLScanner.CurrentEntity currentEntity,
XMLString attribValue,
XMLString plainAttribValue,
boolean normalizeAttributes)
throws IOException
IOExceptionprotected void scanEndElement()
throws IOException
IOExceptionCopyright © 2024 HtmlUnit. All rights reserved.