org.sbml.jsbml.util.compilers
public class HTMLFormula extends MathMLCompiler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
C_DOT
Multiplication symbol “⋅”.
|
static java.lang.String |
EMPTY_SET
HTML code for the empty set symbol “∅”.
|
static java.lang.String |
REVERSIBLE_REACTION_ARROW
HTML code for the reversible reaction arrow whose upper side is directed
to the right “⇌”.
|
static java.lang.String |
RIGHT_ARROW
HTML code for the right arrow “→”.
|
Constructor and Description |
---|
HTMLFormula() |
Modifier and Type | Method and Description |
---|---|
private static java.lang.StringBuffer |
arith(java.lang.Object operator,
java.lang.Object... elements)
Basic method which links several elements with a mathematical operator.
|
private static java.lang.StringBuffer |
brackets(java.lang.Object arith) |
static java.lang.StringBuffer |
pow(java.lang.Object basis,
java.lang.Object exponent)
Returns the basis to the power of the exponent as StringBuffer.
|
java.lang.String |
reactionEquation(Reaction reaction) |
static java.lang.StringBuffer |
sum(java.lang.Object... summands)
Returns the sum of the given elements as StringBuffer.
|
static java.lang.StringBuffer |
times(java.lang.Object... factors)
Returns the product of the given elements as StringBuffer.
|
static java.lang.String |
toHTML(Unit u) |
static java.lang.String |
toHTML(UnitDefinition ud)
Creates an HTML string representation of this UnitDefinition.
|
abs, and, arccos, arccosh, arccot, arccoth, arccsc, arccsch, arcsec, arcsech, arcsin, arcsinh, arctan, arctanh, ceiling, compile, compile, compile, compile, compile, compile, cos, cosh, cot, coth, csc, csch, delay, eq, exp, factorial, floor, frac, frac, function, function, geq, getConstantAvogadro, getConstantE, getConstantFalse, getConstantPi, getConstantTrue, getDocument, getLevel, getNegativeInfinity, getPositiveInfinity, gt, lambda, leq, ln, log, log, lt, minus, neq, not, or, piecewise, plus, pow, reset, root, root, sec, sech, selector, sin, sinh, sqrt, symbolTime, tan, tanh, times, toMathML, uMinus, unknownValue, vector, xor
public static final java.lang.String EMPTY_SET
public static final java.lang.String REVERSIBLE_REACTION_ARROW
public static final java.lang.String RIGHT_ARROW
public static final java.lang.String C_DOT
public HTMLFormula() throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
private static final java.lang.StringBuffer arith(java.lang.Object operator, java.lang.Object... elements)
operator
- elements
- private static java.lang.StringBuffer brackets(java.lang.Object arith)
arith
- public static final java.lang.StringBuffer pow(java.lang.Object basis, java.lang.Object exponent)
basis
- exponent
- public static final java.lang.StringBuffer sum(java.lang.Object... summands)
summands
- public static final java.lang.StringBuffer times(java.lang.Object... factors)
factors
- public static java.lang.String toHTML(Unit u)
public static java.lang.String toHTML(UnitDefinition ud)
public java.lang.String reactionEquation(Reaction reaction) throws SBMLException
reaction
- SBMLException