Package atessera.json
Enum Class PublicationContent.SectionType
- All Implemented Interfaces:
Serializable,Comparable<PublicationContent.SectionType>,Constable
- Enclosing class:
PublicationContent
Enumerates the types of content that a section may contain.
Each type implies a different processing pipeline (e.g. Markdown
goes through the Markdown parser, MetaPost goes through the
Metapost compiler, etc.).-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA mathematical equation.A GNUPlot chart.A Graphviz diagram using the circo layout engine.A Graphviz diagram using the dot layout engine.A Graphviz diagram using the neato layout engine.A Graphviz diagram using the twopi layout engine.Raw LaTeX source (passed through as-is).A source code listing.Text in Markdown format.A MetaPost figure.A PlantUML diagram.A table. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static PublicationContent.SectionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MARKDOWN
Text in Markdown format. -
LATEX
Raw LaTeX source (passed through as-is). -
EQUATION
A mathematical equation. -
TABLE
A table. -
LISTING
A source code listing. -
METAPOST
A MetaPost figure. -
GNUPLOT
A GNUPlot chart. -
PLANTUML
A PlantUML diagram. -
GRAPHVIZ_DOT
A Graphviz diagram using the dot layout engine. -
GRAPHVIZ_NEATO
A Graphviz diagram using the neato layout engine. -
GRAPHVIZ_TWOPI
A Graphviz diagram using the twopi layout engine. -
GRAPHVIZ_CIRCO
A Graphviz diagram using the circo layout engine.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-