|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cyberneko.html.HTMLScanner.ContentScanner
The primary HTML document scanner.
Constructor Summary | |
---|---|
HTMLScanner.ContentScanner()
|
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 java.lang.String |
scanStartElement(boolean[] empty)
Scans a start element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HTMLScanner.ContentScanner()
Method Detail |
public boolean scan(boolean complete) throws java.io.IOException
scan
in interface HTMLScanner.Scanner
complete
- True if the scanner should not return until
scanning is complete.
java.io.IOException
- Thrown if I/O error occurs.protected void scanCharacters() throws java.io.IOException
java.io.IOException
protected void scanCDATA() throws java.io.IOException
java.io.IOException
protected void scanComment() throws java.io.IOException
java.io.IOException
protected boolean scanMarkupContent(XMLStringBuffer buffer, char cend) throws java.io.IOException
java.io.IOException
protected void scanPI() throws java.io.IOException
java.io.IOException
protected java.lang.String scanStartElement(boolean[] empty) throws java.io.IOException
empty
- Is used for a second return value to indicate whether
the start element tag is empty (e.g. "/>").
java.io.IOException
protected boolean scanAttribute(XMLAttributesImpl attributes, boolean[] empty) throws java.io.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. "/>").
java.io.IOException
protected boolean scanPseudoAttribute(XMLAttributesImpl attributes) throws java.io.IOException
attributes
- The list of attributes.
java.io.IOException
protected boolean scanAttribute(XMLAttributesImpl attributes, boolean[] empty, char endc) throws java.io.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. "/>").endc
- The end character that appears before the
closing angle bracket ('>').
java.io.IOException
protected void addLocationItem(XMLAttributes attributes, int index)
protected void scanEndElement() throws java.io.IOException
java.io.IOException
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |