/** * Creates a well-formed external general parsed entity out of the currently parsed tokens. * <p> * The default {@link XMLStringOutputOptions} specified in the {@link SnuggleEngine} will be * used. * * @return resulting XML if the process completed successfully, null if the process was * terminated by an error in the input LaTeX and if the session was configured to fail on * the first error. */ public String buildXMLString() { return buildXMLString(engine.getDefaultXMLStringOutputOptions()); }
/** * Creates a well-formed external general parsed entity out of the currently parsed tokens. * <p> * The default {@link XMLStringOutputOptions} specified in the {@link SnuggleEngine} will be * used. * * @return resulting XML if the process completed successfully, null if the process was * terminated by an error in the input LaTeX and if the session was configured to fail on * the first error. */ public String buildXMLString() { return buildXMLString(engine.getDefaultXMLStringOutputOptions()); }
this.defaultXMLStringOutputOptions = (XMLStringOutputOptions) engine.getDefaultXMLStringOutputOptions().clone();