Class JSXParserSupplier
java.lang.Object
com.io7m.jsx.parser.JSXParserSupplier
- All Implemented Interfaces:
JSXParserSupplierType
The default implementation of the
JSXParserSupplierType interface.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(JSXParserConfiguration configuration, JSXLexerType lexer) Create a new parser from the given configuration and lexer.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JSXParserSupplierType
createFromReader, createFromStream, createFromStreamUTF8
-
Constructor Details
-
JSXParserSupplier
public JSXParserSupplier()Create a new parser supplier. Note: This constructor must be public and zero-arg for OSGi compatibility.
-
-
Method Details
-
create
Description copied from interface:JSXParserSupplierTypeCreate a new parser from the given configuration and lexer.- Specified by:
createin interfaceJSXParserSupplierType- Parameters:
configuration- The configurationlexer- The lexer- Returns:
- A new parser
-