Returns a new ParseTemplate instance for the specified parser function.
Returns a new ParseTemplate instance for the specified parser function.
the parser function to use for all subsequent operations
Returns a template document tree obtained from parsing the specified file.
Returns a template document tree obtained from parsing the specified file. Any kind of character input is valid, including empty files.
the file to use as input
the character encoding of the file, if not specified the platform default will be used.
Returns a template document tree obtained from parsing the file with the specified name.
Returns a template document tree obtained from parsing the file with the specified name. Any kind of character input is valid, including empty files.
the name of the file to parse
the character encoding of the file, if not specified the platform default will be used.
Returns a template document tree obtained from parsing the input from the specified reader.
Returns a template document tree obtained from parsing the input from the specified reader.
Returns a template document tree obtained from parsing the input from the specified stream.
Returns a template document tree obtained from parsing the input from the specified stream.
the stream to use as input for the parser
the character encoding of the stream, if not specified the platform default will be used.
Returns a template document tree obtained from parsing the specified string.
Returns a template document tree obtained from parsing the specified string. Any kind of input is valid, including an empty string.
Serves as an entry point to the ParseTemplate API.