public class DocDefParser extends GeneralParser implements SchemaParser
| Modifier and Type | Field and Description |
|---|---|
protected static int |
BUFFER_SIZE |
filename, inputURI, reader, schemaIn| Constructor and Description |
|---|
DocDefParser() |
DocDefParser(GenBeans.Config config,
DocDefHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkBuffer() |
DocDefHandler |
getHandler() |
protected char |
getNext()
Returns the next character of the parsed file.
|
protected char |
peekNext()
Get the next character without moving the parser offset.
|
void |
process()
Start the DTD parsing (called by GenBeans class)
|
void |
setHandler(DocDefHandler handler) |
protected void |
startupReader() |
getReaderURI, setInputURI, shutdownReaderpublic DocDefParser()
public DocDefParser(GenBeans.Config config, DocDefHandler handler)
protected void startupReader()
throws IOException
startupReader in class GeneralParserIOExceptionpublic void setHandler(DocDefHandler handler)
public DocDefHandler getHandler()
protected boolean checkBuffer()
throws IOException
IOExceptionprotected char getNext()
throws IOException
IOExceptionprotected char peekNext()
throws IOException
IOExceptionpublic void process()
throws IOException,
Schema2BeansException
process in interface SchemaParserIOExceptionSchema2BeansExceptionCopyright © 2017. All Rights Reserved.