Verified Owner
Top Fields Constructors Methods
org.jabref.logic.importer.util

public final Class MathMLParser

extends Object
Class Inheritance
Annotations
@AllowedToUseClassGetResource:to determine the root directory
Imports
java.io.IOException, .InputStream, .Reader, .StringWriter, javax.xml.stream.XMLStreamException, .XMLStreamReader, javax.xml.transform.Result, .Source, .Transformer, .TransformerException, .TransformerFactory, javax.xml.transform.stream.StreamResult, .StreamSource, org.jabref.architecture.AllowedToUseClassGetResource, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private static final Logger
private static final String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static String

Returns:

Returns the LaTeX representation
parse
(XMLStreamReader
the stream reader
reader
)

Parses the MathML element into its corresponding LaTeX representation, using an XSLT transformation file

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LOGGERback to summary
private static final Logger LOGGER
XSLT_FILE_PATHback to summary
private static final String XSLT_FILE_PATH

Constructor Detail

MathMLParserback to summary
private MathMLParser()

Method Detail

parseback to summary
public static String parse(XMLStreamReader reader)

Parses the MathML element into its corresponding LaTeX representation, using an XSLT transformation file

Parameters
reader:XMLStreamReader

the stream reader

Returns:String

Returns the LaTeX representation