com.arsdigita.templating.html
Class HTMLsym

java.lang.Object
  extended bycom.arsdigita.templating.html.HTMLsym

public class HTMLsym
extends Object

Defines Character entity references for symbols, mathematical symbols, and Greek letters. (See also Entities for Symbols and Greek Letters.)

The reason public final fields in this class do not have all upper-case names is to make it easier for people to find the character they are looking for. For example, α and &Alpha are different characters. To resolve the upper-case name collision, we would have to introduce names like SMALL_ALPHA and CAPITAL_ALPHA. Java coding standards have been sacrificed in favor of preserving familiar names in this case. Therefore, the two characters can be accessed as alpha and Alpha, respectively.

Note: The only exception to this is the integral field that is actually called "∫" in HTML. We cannot call it "int" due to a name conflict with the reserved Java keyword int.

Since:
2002-08-30
Version:
$Id: //core-platform/dev/src/com/arsdigita/templating/html/HTMLsym.java#4 $
Author:
Vadim Nasardinov (vadimn@redhat.com)

Field Summary
static String alefsym
           - alef symbol = first transfinite cardinal, U+2135 NEW.
static String alpha
          α - greek small letter alpha, U+03B1 ISOgrk3.
static String Alpha
          Α - greek capital letter alpha, U+0391.
static String and
           - logical and = wedge, U+2227 ISOtech.
static String ang
           - angle, U+2220 ISOamso.
static String asymp
           - almost equal to = asymptotic to, U+2248 ISOamsr.
static String beta
          β - greek small letter beta, U+03B2 ISOgrk3.
static String Beta
          Β - greek capital letter beta, U+0392.
static String bull
           - bullet = black small circle, U+2022 ISOpub.
static String cap
           - intersection = cap, U+2229 ISOtech.
static String chi
          χ - greek small letter chi, U+03C7 ISOgrk3.
static String Chi
          Χ - greek capital letter chi, U+03A7.
static String clubs
           - black club suit = shamrock, U+2663 ISOpub.
static String cong
           - approximately equal to, U+2245 ISOtech.
static String crarr
           - downwards arrow with corner leftwards = carriage return, U+21B5 NEW.
static String cup
           - union = cup, U+222A ISOtech.
static String darr
           - downwards arrow, U+2193 ISOnum.
static String dArr
           - downwards double arrow, U+21D3 ISOamsa.
static String delta
          δ - greek small letter delta, U+03B4 ISOgrk3.
static String Delta
          Δ - greek capital letter delta, U+0394 ISOgrk3.
static String diams
           - black diamond suit, U+2666 ISOpub.
static String empty
           - empty set = null set = diameter, U+2205 ISOamso.
static String epsilon
          ε - greek small letter epsilon, U+03B5 ISOgrk3.
static String Epsilon
          Ε - greek capital letter epsilon, U+0395.
static String equiv
           - identical to, U+2261 ISOtech.
static String eta
          η - greek small letter eta, U+03B7 ISOgrk3.
static String Eta
          Η - greek capital letter eta, U+0397.
static String exist
           - there exists, U+2203 ISOtech.
static String fnof
          ƒ - latin small f with hook = function = florin, U+0192 ISOtech.
static String forall
           - for all, U+2200 ISOtech.
static String frasl
           - fraction slash, U+2044 NEW.
static String gamma
          γ - greek small letter gamma, U+03B3 ISOgrk3.
static String Gamma
          Γ - greek capital letter gamma, U+0393 ISOgrk3.
static String ge
           - greater-than or equal to, U+2265 ISOtech.
static String harr
           - left right arrow, U+2194 ISOamsa.
static String hArr
           - left right double arrow, U+21D4 ISOamsa.
static String hearts
           - black heart suit = valentine, U+2665 ISOpub.
static String hellip
           - horizontal ellipsis = three dot leader, U+2026 ISOpub.
static String image
           - blackletter capital I = imaginary part, U+2111 ISOamso.
static String infin
           - infinity, U+221E ISOtech.
static String integral
           - integral, U+222B ISOtech.
static String iota
          ι - greek small letter iota, U+03B9 ISOgrk3.
static String Iota
          Ι - greek capital letter iota, U+0399.
static String isin
           - element of, U+2208 ISOtech.
static String kappa
          κ - greek small letter kappa, U+03BA ISOgrk3.
static String Kappa
          Κ - greek capital letter kappa, U+039A.
static String lambda
          λ - greek small letter lambda, U+03BB ISOgrk3.
static String Lambda
          Λ - greek capital letter lambda, U+039B ISOgrk3.
static String lang
           - left-pointing angle bracket = bra, U+2329 ISOtech.
static String larr
           - leftwards arrow, U+2190 ISOnum.
static String lArr
           - leftwards double arrow, U+21D0 ISOtech.
static String lceil
           - left ceiling = apl upstile, U+2308 ISOamsc.
static String le
           - less-than or equal to, U+2264 ISOtech.
static String lfloor
           - left floor = apl downstile, U+230A ISOamsc.
static String lowast
           - asterisk operator, U+2217 ISOtech.
static String loz
           - lozenge, U+25CA ISOpub.
static String minus
           - minus sign, U+2212 ISOtech.
static String mu
          μ - greek small letter mu, U+03BC ISOgrk3.
static String Mu
          Μ - greek capital letter mu, U+039C.
static String nabla
           - nabla = backward difference, U+2207 ISOtech.
static String ne
           - not equal to, U+2260 ISOtech.
static String ni
           - contains as member, U+220B ISOtech.
static String notin
           - not an element of, U+2209 ISOtech.
static String nsub
           - not a subset of, U+2284 ISOamsn.
static String nu
          ν - greek small letter nu, U+03BD ISOgrk3.
static String Nu
          Ν - greek capital letter nu, U+039D.
static String oline
           - overline = spacing overscore, U+203E NEW.
static String omega
          ω - greek small letter omega, U+03C9 ISOgrk3.
static String Omega
          Ω - greek capital letter omega, U+03A9 ISOgrk3.
static String omicron
          ο - greek small letter omicron, U+03BF NEW.
static String Omicron
          Ο - greek capital letter omicron, U+039F.
static String oplus
           - circled plus = direct sum, U+2295 ISOamsb.
static String or
           - logical or = vee, U+2228 ISOtech.
static String otimes
           - circled times = vector product, U+2297 ISOamsb.
static String part
           - partial differential, U+2202 ISOtech.
static String perp
           - up tack = orthogonal to = perpendicular, U+22A5 ISOtech.
static String phi
          φ - greek small letter phi, U+03C6 ISOgrk3.
static String Phi
          Φ - greek capital letter phi, U+03A6 ISOgrk3.
static String pi
          π - greek small letter pi, U+03C0 ISOgrk3.
static String Pi
          Π - greek capital letter pi, U+03A0 ISOgrk3.
static String piv
          ϖ - greek pi symbol, U+03D6 ISOgrk3.
static String prime
           - prime = minutes = feet, U+2032 ISOtech.
static String Prime
           - double prime = seconds = inches, U+2033 ISOtech.
static String prod
           - n-ary product = product sign, U+220F ISOamsb.
static String prop
           - proportional to, U+221D ISOtech.
static String psi
          ψ - greek small letter psi, U+03C8 ISOgrk3.
static String Psi
          Ψ - greek capital letter psi, U+03A8 ISOgrk3.
static String radic
           - square root = radical sign, U+221A ISOtech.
static String rang
           - right-pointing angle bracket = ket, U+232A ISOtech.
static String rarr
           - rightwards arrow, U+2192 ISOnum.
static String rArr
           - rightwards double arrow, U+21D2 ISOtech.
static String rceil
           - right ceiling, U+2309 ISOamsc.
static String real
           - blackletter capital R = real part symbol, U+211C ISOamso.
static String rfloor
           - right floor, U+230B ISOamsc.
static String rho
          ρ - greek small letter rho, U+03C1 ISOgrk3.
static String Rho
          Ρ - greek capital letter rho, U+03A1.
static String sdot
           - dot operator, U+22C5 ISOamsb.
static String sigma
          σ - greek small letter sigma, U+03C3 ISOgrk3.
static String Sigma
          Σ - greek capital letter sigma, U+03A3 ISOgrk3.
static String sigmaf
          ς - greek small letter final sigma, U+03C2 ISOgrk3.
static String sim
           - tilde operator = varies with = similar to, U+223C ISOtech.
static String spades
           - black spade suit, U+2660 ISOpub.
static String sub
           - subset of, U+2282 ISOtech.
static String sube
           - subset of or equal to, U+2286 ISOtech.
static String sum
           - n-ary sumation, U+2211 ISOamsb.
static String sup
           - superset of, U+2283 ISOtech.
static String supe
           - superset of or equal to, U+2287 ISOtech.
static String tau
          τ - greek small letter tau, U+03C4 ISOgrk3.
static String Tau
          Τ - greek capital letter tau, U+03A4.
static String there4
           - therefore, U+2234 ISOtech.
static String theta
          θ - greek small letter theta, U+03B8 ISOgrk3.
static String Theta
          Θ - greek capital letter theta, U+0398 ISOgrk3.
static String thetasym
          ϑ - greek small letter theta symbol, U+03D1 NEW.
static String trade
           - trade mark sign, U+2122 ISOnum.
static String uarr
           - upwards arrow, U+2191 ISOnum-->.
static String uArr
           - upwards double arrow, U+21D1 ISOamsa.
static String upsih
          ϒ - greek upsilon with hook symbol, U+03D2 NEW.
static String upsilon
          υ - greek small letter upsilon, U+03C5 ISOgrk3.
static String Upsilon
          Υ - greek capital letter upsilon, U+03A5 ISOgrk3.
static String weierp
           - script capital P = power set = Weierstrass p, U+2118 ISOamso.
static String xi
          ξ - greek small letter xi, U+03BE ISOgrk3.
static String Xi
          Ξ - greek capital letter xi, U+039E ISOgrk3.
static String zeta
          ζ - greek small letter zeta, U+03B6 ISOgrk3.
static String Zeta
          Ζ - greek capital letter zeta, U+0396.
 
Constructor Summary
HTMLsym()
           
 
Method Summary
static String getAllEntityDeclarations()
          Returns all character entity declarations as a single string of the following form:
static String getDecimalReference(String character)
           
static String getEntityDeclaration(String character)
          Returns a string of the form <!ENTITY sect "&#167;">, if called like so:
static String getName(String character)
          Returns the name of the character reference entity for this character.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fnof

public static final String fnof
ƒ - latin small f with hook = function = florin, U+0192 ISOtech.


Alpha

public static final String Alpha
Α - greek capital letter alpha, U+0391.


Beta

public static final String Beta
Β - greek capital letter beta, U+0392.


Gamma

public static final String Gamma
Γ - greek capital letter gamma, U+0393 ISOgrk3.


Delta

public static final String Delta
Δ - greek capital letter delta, U+0394 ISOgrk3.


Epsilon

public static final String Epsilon
Ε - greek capital letter epsilon, U+0395.


Zeta

public static final String Zeta
Ζ - greek capital letter zeta, U+0396.


Eta

public static final String Eta
Η - greek capital letter eta, U+0397.


Theta

public static final String Theta
Θ - greek capital letter theta, U+0398 ISOgrk3.


Iota

public static final String Iota
Ι - greek capital letter iota, U+0399.


Kappa

public static final String Kappa
Κ - greek capital letter kappa, U+039A.


Lambda

public static final String Lambda
Λ - greek capital letter lambda, U+039B ISOgrk3.


Mu

public static final String Mu
Μ - greek capital letter mu, U+039C.


Nu

public static final String Nu
Ν - greek capital letter nu, U+039D.


Xi

public static final String Xi
Ξ - greek capital letter xi, U+039E ISOgrk3.


Omicron

public static final String Omicron
Ο - greek capital letter omicron, U+039F.


Pi

public static final String Pi
Π - greek capital letter pi, U+03A0 ISOgrk3.


Rho

public static final String Rho
Ρ - greek capital letter rho, U+03A1.


Sigma

public static final String Sigma
Σ - greek capital letter sigma, U+03A3 ISOgrk3.


Tau

public static final String Tau
Τ - greek capital letter tau, U+03A4.


Upsilon

public static final String Upsilon
Υ - greek capital letter upsilon, U+03A5 ISOgrk3.


Phi

public static final String Phi
Φ - greek capital letter phi, U+03A6 ISOgrk3.


Chi

public static final String Chi
Χ - greek capital letter chi, U+03A7.


Psi

public static final String Psi
Ψ - greek capital letter psi, U+03A8 ISOgrk3.


Omega

public static final String Omega
Ω - greek capital letter omega, U+03A9 ISOgrk3.


alpha

public static final String alpha
α - greek small letter alpha, U+03B1 ISOgrk3.


beta

public static final String beta
β - greek small letter beta, U+03B2 ISOgrk3.


gamma

public static final String gamma
γ - greek small letter gamma, U+03B3 ISOgrk3.


delta

public static final String delta
δ - greek small letter delta, U+03B4 ISOgrk3.


epsilon

public static final String epsilon
ε - greek small letter epsilon, U+03B5 ISOgrk3.


zeta

public static final String zeta
ζ - greek small letter zeta, U+03B6 ISOgrk3.


eta

public static final String eta
η - greek small letter eta, U+03B7 ISOgrk3.


theta

public static final String theta
θ - greek small letter theta, U+03B8 ISOgrk3.


iota

public static final String iota
ι - greek small letter iota, U+03B9 ISOgrk3.


kappa

public static final String kappa
κ - greek small letter kappa, U+03BA ISOgrk3.


lambda

public static final String lambda
λ - greek small letter lambda, U+03BB ISOgrk3.


mu

public static final String mu
μ - greek small letter mu, U+03BC ISOgrk3.


nu

public static final String nu
ν - greek small letter nu, U+03BD ISOgrk3.


xi

public static final String xi
ξ - greek small letter xi, U+03BE ISOgrk3.


omicron

public static final String omicron
ο - greek small letter omicron, U+03BF NEW.


pi

public static final String pi
π - greek small letter pi, U+03C0 ISOgrk3.


rho

public static final String rho
ρ - greek small letter rho, U+03C1 ISOgrk3.


sigmaf

public static final String sigmaf
ς - greek small letter final sigma, U+03C2 ISOgrk3.


sigma

public static final String sigma
σ - greek small letter sigma, U+03C3 ISOgrk3.


tau

public static final String tau
τ - greek small letter tau, U+03C4 ISOgrk3.


upsilon

public static final String upsilon
υ - greek small letter upsilon, U+03C5 ISOgrk3.


phi

public static final String phi
φ - greek small letter phi, U+03C6 ISOgrk3.


chi

public static final String chi
χ - greek small letter chi, U+03C7 ISOgrk3.


psi

public static final String psi
ψ - greek small letter psi, U+03C8 ISOgrk3.


omega

public static final String omega
ω - greek small letter omega, U+03C9 ISOgrk3.


thetasym

public static final String thetasym
ϑ - greek small letter theta symbol, U+03D1 NEW.


upsih

public static final String upsih
ϒ - greek upsilon with hook symbol, U+03D2 NEW.


piv

public static final String piv
ϖ - greek pi symbol, U+03D6 ISOgrk3.


bull

public static final String bull
- bullet = black small circle, U+2022 ISOpub.


hellip

public static final String hellip
- horizontal ellipsis = three dot leader, U+2026 ISOpub.


prime

public static final String prime
- prime = minutes = feet, U+2032 ISOtech.


Prime

public static final String Prime
- double prime = seconds = inches, U+2033 ISOtech.


oline

public static final String oline
- overline = spacing overscore, U+203E NEW.


frasl

public static final String frasl
- fraction slash, U+2044 NEW.


weierp

public static final String weierp
- script capital P = power set = Weierstrass p, U+2118 ISOamso.


image

public static final String image
- blackletter capital I = imaginary part, U+2111 ISOamso.


real

public static final String real
- blackletter capital R = real part symbol, U+211C ISOamso.


trade

public static final String trade
- trade mark sign, U+2122 ISOnum.


alefsym

public static final String alefsym
- alef symbol = first transfinite cardinal, U+2135 NEW.


larr

public static final String larr
- leftwards arrow, U+2190 ISOnum.


uarr

public static final String uarr
- upwards arrow, U+2191 ISOnum-->.


rarr

public static final String rarr
- rightwards arrow, U+2192 ISOnum.


darr

public static final String darr
- downwards arrow, U+2193 ISOnum.


harr

public static final String harr
- left right arrow, U+2194 ISOamsa.


crarr

public static final String crarr
- downwards arrow with corner leftwards = carriage return, U+21B5 NEW.


lArr

public static final String lArr
- leftwards double arrow, U+21D0 ISOtech.


uArr

public static final String uArr
- upwards double arrow, U+21D1 ISOamsa.


rArr

public static final String rArr
- rightwards double arrow, U+21D2 ISOtech.


dArr

public static final String dArr
- downwards double arrow, U+21D3 ISOamsa.


hArr

public static final String hArr
- left right double arrow, U+21D4 ISOamsa.


forall

public static final String forall
- for all, U+2200 ISOtech.


part

public static final String part
- partial differential, U+2202 ISOtech.


exist

public static final String exist
- there exists, U+2203 ISOtech.


empty

public static final String empty
- empty set = null set = diameter, U+2205 ISOamso.


nabla

public static final String nabla
- nabla = backward difference, U+2207 ISOtech.


isin

public static final String isin
- element of, U+2208 ISOtech.


notin

public static final String notin
- not an element of, U+2209 ISOtech.


ni

public static final String ni
- contains as member, U+220B ISOtech.


prod

public static final String prod
- n-ary product = product sign, U+220F ISOamsb.


sum

public static final String sum
- n-ary sumation, U+2211 ISOamsb.


minus

public static final String minus
- minus sign, U+2212 ISOtech.


lowast

public static final String lowast
- asterisk operator, U+2217 ISOtech.


radic

public static final String radic
- square root = radical sign, U+221A ISOtech.


prop

public static final String prop
- proportional to, U+221D ISOtech.


infin

public static final String infin
- infinity, U+221E ISOtech.


ang

public static final String ang
- angle, U+2220 ISOamso.


and

public static final String and
- logical and = wedge, U+2227 ISOtech.


or

public static final String or
- logical or = vee, U+2228 ISOtech.


cap

public static final String cap
- intersection = cap, U+2229 ISOtech.


cup

public static final String cup
- union = cup, U+222A ISOtech.


integral

public static final String integral
- integral, U+222B ISOtech.


there4

public static final String there4
- therefore, U+2234 ISOtech.


sim

public static final String sim
- tilde operator = varies with = similar to, U+223C ISOtech.


cong

public static final String cong
- approximately equal to, U+2245 ISOtech.


asymp

public static final String asymp
- almost equal to = asymptotic to, U+2248 ISOamsr.


ne

public static final String ne
- not equal to, U+2260 ISOtech.


equiv

public static final String equiv
- identical to, U+2261 ISOtech.


le

public static final String le
- less-than or equal to, U+2264 ISOtech.


ge

public static final String ge
- greater-than or equal to, U+2265 ISOtech.


sub

public static final String sub
- subset of, U+2282 ISOtech.


sup

public static final String sup
- superset of, U+2283 ISOtech.


nsub

public static final String nsub
- not a subset of, U+2284 ISOamsn.


sube

public static final String sube
- subset of or equal to, U+2286 ISOtech.


supe

public static final String supe
- superset of or equal to, U+2287 ISOtech.


oplus

public static final String oplus
- circled plus = direct sum, U+2295 ISOamsb.


otimes

public static final String otimes
- circled times = vector product, U+2297 ISOamsb.


perp

public static final String perp
- up tack = orthogonal to = perpendicular, U+22A5 ISOtech.


sdot

public static final String sdot
- dot operator, U+22C5 ISOamsb.


lceil

public static final String lceil
- left ceiling = apl upstile, U+2308 ISOamsc.


rceil

public static final String rceil
- right ceiling, U+2309 ISOamsc.


lfloor

public static final String lfloor
- left floor = apl downstile, U+230A ISOamsc.


rfloor

public static final String rfloor
- right floor, U+230B ISOamsc.


lang

public static final String lang
- left-pointing angle bracket = bra, U+2329 ISOtech.


rang

public static final String rang
- right-pointing angle bracket = ket, U+232A ISOtech.


loz

public static final String loz
- lozenge, U+25CA ISOpub.


spades

public static final String spades
- black spade suit, U+2660 ISOpub.


clubs

public static final String clubs
- black club suit = shamrock, U+2663 ISOpub.


hearts

public static final String hearts
- black heart suit = valentine, U+2665 ISOpub.


diams

public static final String diams
- black diamond suit, U+2666 ISOpub.

Constructor Detail

HTMLsym

public HTMLsym()
Method Detail

getDecimalReference

public static String getDecimalReference(String character)

getName

public static String getName(String character)
Returns the name of the character reference entity for this character. For example, HTMLlat1.getName(HTMLlat1.sect) returns the string "sect".


getEntityDeclaration

public static String getEntityDeclaration(String character)
Returns a string of the form <!ENTITY sect "&#167;">, if called like so:
 HTMLlat1.getEntityDeclaration(HTMLlat1.sect);
 


getAllEntityDeclarations

public static String getAllEntityDeclarations()
Returns all character entity declarations as a single string of the following form:
 <!ENTITY nbsp   "&#160;">
 <!ENTITY iexcl  "&#161;">
   [ ... skipped for brevity ...]
 <!ENTITY yacute "&#253;">
 <!ENTITY thorn  "&#254;">
 <!ENTITY yuml   "&#255;">
 



Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC