|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.agilejava.maven.docbkx.EntityFileParser
public class EntityFileParser
A crude parser for parsing an entity file. Required to extract the files describing the parameters from the parameter declarations.
Nested Class Summary | |
---|---|
static interface |
EntityFileParser.EntityVisitor
A simple interface to be implemented by objects traversing the contents of an entity file. |
Constructor Summary | |
---|---|
EntityFileParser()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Tests the parser. |
static void |
parse(java.io.InputStream in,
EntityFileParser.EntityVisitor visitor)
Parses the entity file, invoking operations on the visitor for every entity found. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntityFileParser()
Method Detail |
---|
public static void parse(java.io.InputStream in, EntityFileParser.EntityVisitor visitor) throws java.io.IOException
in
- The InputStream to parse.visitor
- The visitor receiving the events.
java.io.IOException
- The exception thrown when we can't read from the InputStream.public static final void main(java.lang.String[] args)
args
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |