Top Description Fields Constructors Methods
uk.ac.ed.ph.snuggletex

public final Class WebPageOutputOptionsTemplates

extends Object
Class Inheritance
Annotations
@Deprecated
Imports
uk.ac.ed.ph.snuggletex.WebPageOutputOptions.WebPageType, uk.ac.ed.ph.snuggletex.definitions.W3CConstants, uk.ac.ed.ph.snuggletex.internal.util.ConstraintUtilities

Deprecated

As of SnuggleTeX 1.3.0, use WebPageOutputOptionsBuilder. This class will be removed in SnuggleTeX 1.4.

Utility class that creates pre-configured and usable WebPageOutputOptions instances for the various types of WebPageTypes supported by SnuggleTeX.
Author
David McKain
Version
$Revision$

Field Summary

Modifier and TypeField and Description
public static final String
public static final String
DEFAULT_LANG

Deprecated

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static WebPageOutputOptions
createWebPageOptions(WebPageOutputOptions.WebPageType
type of web page you want
webPageType
)
Deprecated This was deprecated in SnuggleTeX 1.3.0 and will be removed in 1.4. Use WebPageOutputOptionsBuilder instead.

Creates a WebPageOutputOptions suitable for the given WebPageType that is pre-configured to work as described in the WebPageType.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DEFAULT_CONTENT_TYPEback to summary
public static final String DEFAULT_CONTENT_TYPE

Deprecated

Annotations
@Deprecated
DEFAULT_LANGback to summary
public static final String DEFAULT_LANG

Deprecated

Annotations
@Deprecated

Constructor Detail

WebPageOutputOptionsTemplatesback to summary
public WebPageOutputOptionsTemplates()

Method Detail

createWebPageOptionsback to summary
public static WebPageOutputOptions createWebPageOptions(WebPageOutputOptions.WebPageType webPageType)

Deprecated

This was deprecated in SnuggleTeX 1.3.0 and will be removed in 1.4. Use WebPageOutputOptionsBuilder instead.

Creates a WebPageOutputOptions suitable for the given WebPageType that is pre-configured to work as described in the WebPageType.

In particular, the following properties are set to appropriate values:

You may set other properties (or override these ones!) afterwards as required.

JEuclid Notes

If you are using the JEuclid extension for converting MathML to images, then you should use the uk.ac.ed.ph.snuggletex.jeuclid.JEuclidUtilities helper class to create appropriate WebPageOutputOptions.
Parameters
webPageType:WebPageOutputOptions.WebPageType

type of web page you want

Annotations
@SuppressWarnings:javadoc
@Deprecated