public class FXGSAXParser extends Object implements IFXGParser
Constructor and Description |
---|
FXGSAXParser()
Constructs a new FXGSAXParser.
|
Modifier and Type | Method and Description |
---|---|
IFXGNode |
parse(Reader reader,
Collection<ICompilerProblem> problems)
Parses an FXG document InputStream to produce an IFXGNode based DOM.
|
IFXGNode |
parse(Reader reader,
String documentPath,
Collection<ICompilerProblem> problems)
Parses an FXG document InputStream to produce an IFXGNode based DOM.
|
public FXGSAXParser()
public IFXGNode parse(Reader reader, Collection<ICompilerProblem> problems)
parse
in interface IFXGParser
reader
- - input to be parsedproblems
- problem collection used to collect problems occurred within this methodpublic IFXGNode parse(Reader reader, String documentPath, Collection<ICompilerProblem> problems)
parse
in interface IFXGParser
reader
- - input to be parseddocumentPath
- - the path of the FXG document which can be useful
for error reporting.problems
- problem collection used to collect problems occurred within this methodCopyright © 2016 The Apache Software Foundation. All rights reserved.