ASTNodeCompiler
public class HTMLFormula extends MathMLCompiler
Modifier and Type | Field | 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 | Description |
---|---|
HTMLFormula() |
Modifier and Type | Method | Description |
---|---|---|
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, functionCsymbol, geq, getConstantAvogadro, getConstantE, getConstantFalse, getConstantPi, getConstantTrue, getDocument, getLevel, getNegativeInfinity, getPositiveInfinity, getRateOf, gt, implies, lambda, leq, ln, log, log, lt, max, min, minus, neq, not, or, piecewise, plus, pow, quotient, rem, 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
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)
u
- public static java.lang.String toHTML(UnitDefinition ud)
ud
- public java.lang.String reactionEquation(Reaction reaction) throws SBMLException
reaction
- SBMLException