|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnu.validator.htmlparser.impl.MetaScanner
public abstract class MetaScanner
Field Summary | |
---|---|
protected ByteReadable |
readable
The data source. |
protected int |
stateSave
The tokenizer state. |
Constructor Summary | |
---|---|
MetaScanner()
|
Method Summary | |
---|---|
protected int |
read()
Reads a byte from the data source. |
protected void |
stateLoop(int state)
The runs the meta scanning algorithm. |
protected abstract boolean |
tryCharset(java.lang.String encoding)
Tries to switch to an encoding. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ByteReadable readable
protected int stateSave
Constructor Detail |
---|
public MetaScanner()
Method Detail |
---|
protected int read() throws java.io.IOException
java.io.IOException
protected final void stateLoop(int state) throws org.xml.sax.SAXException, java.io.IOException
org.xml.sax.SAXException
java.io.IOException
protected abstract boolean tryCharset(java.lang.String encoding) throws org.xml.sax.SAXException
encoding
-
true
if successful
org.xml.sax.SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |