org.cyberneko.html
public class HTMLScanner.ContentScanner extends Object implements HTMLScanner.Scanner
Method Summary | |
---|---|
protected void | addLocationItem(XMLAttributes attributes, int index) Adds location augmentations to the specified attribute. |
boolean | scan(boolean complete) Scan. |
protected boolean | scanAttribute(XMLAttributesImpl attributes, boolean[] empty)
Scans a real attribute.
|
protected boolean | scanAttribute(XMLAttributesImpl attributes, boolean[] empty, char endc)
Scans an attribute, pseudo or real.
|
protected void | scanCDATA() Scans a CDATA section. |
protected void | scanCharacters() Scans characters. |
protected void | scanComment() Scans a comment. |
protected void | scanEndElement() Scans an end element. |
protected boolean | scanMarkupContent(XMLStringBuffer buffer, char cend) Scans markup content. |
protected void | scanPI() Scans a processing instruction. |
protected boolean | scanPseudoAttribute(XMLAttributesImpl attributes)
Scans a pseudo attribute.
|
protected String | scanStartElement(boolean[] empty)
Scans a start element.
|
Parameters: attributes The list of attributes. empty Is used for a second return value to indicate whether the start element tag is empty (e.g. "/>").
Parameters: attributes The list of attributes. empty Is used for a second return value to indicate whether the start element tag is empty (e.g. "/>"). endc The end character that appears before the closing angle bracket ('>').
Parameters: attributes The list of attributes.
Parameters: empty Is used for a second return value to indicate whether the start element tag is empty (e.g. "/>").