Parses the Source and converts it to a Java Object containing all the information that were contained by the source.
Syntax
public abstract IParserDocument parse (String document) throws ParserException, IllegalArgumentException
Parameters
-
A –
syntactically valid document
Returns
The Object representation of the parsed document
Exceptions
-
ParserException class –
If the document source is invalid
-
IllegalArgumentException –
If the argument is null