setParser(String parserName)

Description

This static method specifies the parser that the parse method should use. You should make sure that the specified parser class is accessible through the CLASSPATH and is compliant with SAX 2.0.

Syntax

setParser (String parserName)

Where string is the name of the parser class.

Examples

Example 1

Xql.setParser("com.yourcompany.parser")