|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.menagery.dtd.Parser
Non-threaded DTD reader and parser. Creates a DTD tree.
| Constructor Summary | |
Parser()
|
|
| Method Summary | |
static Element |
getElement(java.lang.String sLine)
Retrieves a complete element definition from the DTD file. |
static void |
main(java.lang.String[] args)
Unit test. |
static DTD |
parse(java.io.File fileDTD)
Given a file reference, parses the file and creates a DTD tree. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Parser()
| Method Detail |
public static DTD parse(java.io.File fileDTD)
throws java.io.IOException,
java.io.FileNotFoundException
fileDTD - The file referenceccontaining the DTD to be parsed
public static Element getElement(java.lang.String sLine)
throws java.io.IOException
sLine - The line containing the start of the element definition.br - The BufferedReader holding open the DTD file, in case the definition spans lines.public static void main(java.lang.String[] args)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||