|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Parser
The public interface for all XTVD parsers.
All parsers are implemented using a factory
design pattern and are based upon Streaming API for XML
(StAX).
AbstractParser,
ParserFactory| Field Summary | |
|---|---|
static java.lang.String |
END_OF_LINE
The system specific end of line character. |
| Method Summary | |
|---|---|
java.io.Writer |
getLog()
Returns the log writer that is currently in use. |
void |
parseXTVD()
Parse the XTVD document and extract the information
from the top-level elements. |
void |
setLog(java.io.Writer log)
Set the log writer to use for writing information/messages to. |
| Field Detail |
|---|
static final java.lang.String END_OF_LINE
end of line character.
| Method Detail |
|---|
void parseXTVD()
throws DataDirectException
XTVD document and extract the information
from the top-level elements. Concrete implementations
of this class must be properly initialised with the appropriate
means for saving the data extracted by this method.
net.sf.xtvdclient.gui.DataDirectException - - If errors are encountered while
parsing the XML data stream or while saving the parsed contents.
DataDirectExceptionjava.io.Writer getLog()
System.err.
void setLog(java.io.Writer log)
Writer - log - The value to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||