org.objectweb.fractal.adl
Interface Parser
- XMLParser
An Abstract Syntax Tree (AST) parser.
Node | parse(InputStream is, String source)- Parses the given input stream and constructs the corresponding AST.
|
parse
public Node parse(InputStream is,
String source)
throws ParserException Parses the given input stream and constructs the corresponding AST.
is - the input stream that must be parsed.source - the source of this input stream (such as a file name).
- the AST corresponding to the given input stream content.
ParserException - if an error occurs during parsing.