|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InputModule
An interface to which all input modules must conform.
| Method Summary | |
|---|---|
XMLDocumentType |
parse(File inputFile)
Given an input file, produce an XMLDocumentType object
representing the vocabulary described by the input file. |
XMLDocumentType |
parse(InputStream input)
Given an input source, produce an XMLDocumentType object
representing the vocabulary described by the input file. |
XMLDocumentType |
parse(String inputFilePath)
Given an input file path, produce an XMLDocumentType object
representing the vocabulary described by the input file. |
String |
toString()
Describe the InputModule for documentation purposes. |
| Method Detail |
|---|
XMLDocumentType parse(String inputFilePath)
throws ParserException
XMLDocumentType object
representing the vocabulary described by the input file.
inputFilePath - The path to the input file to parse.
XMLDocumentType object which
describes the vocabulary of XML defined in the
input file.
ParserException - If anything fails in the parsing process.
XMLDocumentType parse(File inputFile)
throws ParserException
XMLDocumentType object
representing the vocabulary described by the input file.
inputFile - The file to parse as input.
XMLDocumentType object which
describes the vocabulary of XML defined in the
input file.
ParserException - If anything fails in the parsing process.
XMLDocumentType parse(InputStream input)
throws ParserException
XMLDocumentType object
representing the vocabulary described by the input file.
input - The source material to parse.
XMLDocumentType object which
describes the vocabulary of XML defined in the
input file.
ParserException - If anything fails in the parsing process.String toString()
InputModule for documentation purposes.
toString in class ObjectString describing the language that the implementing
class parses.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||