OpMath

com.opmath.util.html
Class HTMLEncoder

java.lang.Object
  |
  +--com.opmath.util.html.HTMLEncoder

public abstract class HTMLEncoder
extends Object

This class enables the encoding of unicoded strings as HTML 4.0 text. The encoding process replaces characters represented by HTML 4.0 'entities' as those entities themselves, and performs no other function. A single static method performs the encoding. In addition to this method, the class contains a static variable for each possible HTML entity, and a simple lookup method.

The encoding method should always be used when an arbitrary string is included in the HTML output of a Servlet or other device.

More information on HTML entities is available at: http://www.w3.org/TR/1999/REC-html401-19991224/sgml/entities.html#h-24.1

Copyright: (c) 2002 The Open Math Company Limited

The Terms of Distribution of this software are stipulated in the javadoc Overview for this project.

Version:
utilities-v011
Author:
Bruno Beloff
See Also:
HTMLEntity

Field Summary
static HTMLEntity aACUTE
          HTML Entity representing the latin small letter a with with acute.
static HTMLEntity AACUTE
          HTML Entity representing the latin capital letter A with acute.
static HTMLEntity aCIRC
          HTML Entity representing the latin small letter a with with circumflex.
static HTMLEntity ACIRC
          HTML Entity representing the latin capital letter A with circumflex.
static HTMLEntity ACUTE
          HTML Entity representing a spacing acute.
static HTMLEntity aeLIG
          HTML Entity representing the latin small ligature ae.
static HTMLEntity AELIG
          HTML Entity representing the latin capital ligature AE.
static HTMLEntity aGRAVE
          HTML Entity representing the latin small letter a with grave.
static HTMLEntity AGRAVE
          HTML Entity representing the latin capital letter A with grave.
static HTMLEntity alpha
          HTML Entity representing the greek small letter alpha.
static HTMLEntity ALPHA
          HTML Entity representing the greek capital letter alpha.
static HTMLEntity AMP
          HTML Entity representing an ampersand.
static HTMLEntity AND
          HTML Entity representing a 'logical and' symbol.
static HTMLEntity aRING
          HTML Entity representing the latin small letter a with ring.
static HTMLEntity ARING
          HTML Entity representing the latin capital letter A with with ring above.
static HTMLEntity ASYMP
          HTML Entity representing an 'almost equal to / asymptotic to' symbol.
static HTMLEntity aTILDE
          HTML Entity representing the latin small letter a with with tilde.
static HTMLEntity ATILDE
          HTML Entity representing the latin capital letter A with tilde.
static HTMLEntity aUML
          HTML Entity representing the latin small letter a with with diaeresis.
static HTMLEntity AUML
          HTML Entity representing the latin capital letter A with with diaeresis.
static HTMLEntity beta
          HTML Entity representing the greek small letter beta.
static HTMLEntity BETA
          HTML Entity representing the greek capital letter beta.
static HTMLEntity BRVBAR
          HTML Entity representing a broken (vertical) bar.
static HTMLEntity CAP
          HTML Entity representing an 'intersection' / 'cap' symbol.
static HTMLEntity cCEDIL
          HTML Entity representing the latin small letter c with cedilla.
static HTMLEntity CCEDIL
          HTML Entity representing the latin capital letter C with cedilla.
static HTMLEntity CEDIL
          HTML Entity representing a spacing cedilla.
static HTMLEntity CENT
          HTML Entity representing a cent sign.
static HTMLEntity chi
          HTML Entity representing the greek small letter chi.
static HTMLEntity CHI
          HTML Entity representing the greek capital letter chi.
static HTMLEntity CONG
          HTML Entity representing an 'approximately equal to' symbol.
static HTMLEntity COPY
          HTML Entity representing a copyright sign.
static HTMLEntity CUP
          HTML Entity representing a 'union' / 'cup' symbol.
static HTMLEntity CURREN
          HTML Entity representing a currency sign.
static HTMLEntity DEG
          HTML Entity representing a degree sign.
static HTMLEntity delta
          HTML Entity representing the greek small letter delta.
static HTMLEntity DELTA
          HTML Entity representing the greek capital letter delta.
static HTMLEntity DIVIDE
          HTML Entity representing a division sign.
static HTMLEntity eACUTE
          HTML Entity representing the latin small letter e with with acute.
static HTMLEntity EACUTE
          HTML Entity representing the latin capital letter E with acute.
static HTMLEntity eCIRC
          HTML Entity representing the latin small letter e with with circumflex.
static HTMLEntity ECIRC
          HTML Entity representing the latin capital letter E with circumflex.
static HTMLEntity eGRAVE
          HTML Entity representing the latin small letter e with grave.
static HTMLEntity EGRAVE
          HTML Entity representing the latin capital letter E with grave.
static HTMLEntity EMPTY
          HTML Entity representing an 'empty set' symbol.
static HTMLEntity epsilon
          HTML Entity representing the greek small letter epsilon.
static HTMLEntity EPSILON
          HTML Entity representing the greek capital letter epsilon.
static HTMLEntity EQUIV
          HTML Entity representing an 'identical to' symbol.
static HTMLEntity eta
          HTML Entity representing the greek small letter eta.
static HTMLEntity ETA
          HTML Entity representing the greek capital letter eta.
static HTMLEntity eth
          HTML Entity representing the latin small letter eth.
static HTMLEntity ETH
          HTML Entity representing the latin capital letter ETH.
static HTMLEntity eUML
          HTML Entity representing the latin small letter e with with diaeresis.
static HTMLEntity EUML
          HTML Entity representing the latin capital letter E with diaeresis.
static HTMLEntity EXIST
          HTML Entity representing a 'there exists' symbol.
static HTMLEntity FORALL
          HTML Entity representing a 'for all' symbol.
static HTMLEntity FRAC12
          HTML Entity representing a fraction one half.
static HTMLEntity FRAC14
          HTML Entity representing a fraction one quarter.
static HTMLEntity FRAC34
          HTML Entity representing a fraction three quarters.
static HTMLEntity gamma
          HTML Entity representing the greek small letter gamma.
static HTMLEntity GAMMA
          HTML Entity representing the greek capital letter gamma.
static HTMLEntity GE
          HTML Entity representing a 'greater than or equal to' symbol.
static HTMLEntity GT
          HTML Entity representing a greater-than sign.
static HTMLEntity iACUTE
          HTML Entity representing the latin small letter i with with acute.
static HTMLEntity IACUTE
          HTML Entity representing the latin capital letter I with acute.
static HTMLEntity iCIRC
          HTML Entity representing the latin small letter i with with circumflex.
static HTMLEntity ICIRC
          HTML Entity representing the latin capital letter I with circumflex.
static HTMLEntity IEXCL
          HTML Entity representing an inverted exclamation mark.
static HTMLEntity iGRAVE
          HTML Entity representing the latin small letter i with with grave.
static HTMLEntity IGRAVE
          HTML Entity representing the latin capital letter I with grave.
static HTMLEntity INFIN
          HTML Entity representing an 'infinity' symbol.
static HTMLEntity INT
          HTML Entity representing an integral symbol.
static HTMLEntity iota
          HTML Entity representing the greek small letter iota.
static HTMLEntity IOTA
          HTML Entity representing the greek capital letter iota.
static HTMLEntity IQUEST
          HTML Entity representing an inverted question mark.
static HTMLEntity ISIN
          HTML Entity representing an 'element of' symbol.
static HTMLEntity iUML
          HTML Entity representing the latin small letter i with with diaeresis.
static HTMLEntity IUML
          HTML Entity representing the latin capital letter I with diaeresis.
static HTMLEntity kappa
          HTML Entity representing the greek small letter kappa.
static HTMLEntity KAPPA
          HTML Entity representing the greek capital letter kappa.
static HTMLEntity lambda
          HTML Entity representing the greek small letter lambda.
static HTMLEntity LAMBDA
          HTML Entity representing the greek capital letter lambda.
static HTMLEntity LAQUO
          HTML Entity representing a left pointing guillemet.
static HTMLEntity LE
          HTML Entity representing a 'less than or equal to' symbol.
static HTMLEntity LOWAST
          HTML Entity representing an asterisk operator.
static HTMLEntity LT
          HTML Entity representing a less-than sign.
static HTMLEntity MACR
          HTML Entity representing a spacing macron.
static HTMLEntity MICRO
          HTML Entity representing a micro sign.
static HTMLEntity MIDDOT
          HTML Entity representing a middle dot.
static HTMLEntity MINUS
          HTML Entity representing a minus sign.
static HTMLEntity mu
          HTML Entity representing the greek small letter mu.
static HTMLEntity MU
          HTML Entity representing the greek capital letter mu.
static HTMLEntity NABLA
          HTML Entity representing a 'nabla' / 'backward difference' symbol.
static HTMLEntity NBSP
          HTML Entity representing a non-breaking space.
static HTMLEntity NE
          HTML Entity representing a 'not equal to' symbol.
static HTMLEntity NOT
          HTML Entity representing a not sign.
static HTMLEntity NOTIN
          HTML Entity representing a 'not an element of' symbol.
static HTMLEntity NSUB
          HTML Entity representing a 'not a subset of' symbol.
static HTMLEntity nTILDE
          HTML Entity representing the latin small letter n with tilde.
static HTMLEntity NTILDE
          HTML Entity representing the latin capital letter N with tilde.
static HTMLEntity nu
          HTML Entity representing the greek small letter nu.
static HTMLEntity NU
          HTML Entity representing the greek capital letter nu.
static HTMLEntity oACUTE
          HTML Entity representing the latin small letter o with acute.
static HTMLEntity OACUTE
          HTML Entity representing the latin capital letter O with acute.
static HTMLEntity oCIRC
          HTML Entity representing the latin small letter o with circumflex.
static HTMLEntity OCIRC
          HTML Entity representing the latin capital letter O with circumflex.
static HTMLEntity oGRAVE
          HTML Entity representing the latin small letter o with grave.
static HTMLEntity OGRAVE
          HTML Entity representing the latin capital letter O with grave.
static HTMLEntity omega
          HTML Entity representing the greek small letter omega.
static HTMLEntity OMEGA
          HTML Entity representing the greek capital letter omega.
static HTMLEntity omicron
          HTML Entity representing the greek small letter omicron.
static HTMLEntity OMICRON
          HTML Entity representing the greek capital letter omicron.
static HTMLEntity OPLUS
          HTML Entity representing a 'circled plus' / 'direct sum' symbol.
static HTMLEntity OR
          HTML Entity representing a 'logical or' symbol.
static HTMLEntity ORDF
          HTML Entity representing a feminine ordinal indicator.
static HTMLEntity ORDM
          HTML Entity representing a masculine ordinal indicator.
static HTMLEntity oSLASH
          HTML Entity representing the latin small letter 'o slash'.
static HTMLEntity OSLASH
          HTML Entity representing the latin capital letter O slash.
static HTMLEntity oTILDE
          HTML Entity representing the latin small letter o with tilde.
static HTMLEntity OTILDE
          HTML Entity representing the latin capital letter O with tilde.
static HTMLEntity OTIMES
          HTML Entity representing a 'circled times' / 'vector product' symbol.
static HTMLEntity oUML
          HTML Entity representing the latin small letter o with diaeresis.
static HTMLEntity OUML
          HTML Entity representing the latin capital letter O with diaeresis.
static HTMLEntity PARA
          HTML Entity representing a paragraph sign.
static HTMLEntity PART
          HTML Entity representing a 'partial differential' symbol.
static HTMLEntity PERP
          HTML Entity representing a 'up tack' / 'orthogonal to' / 'perpendicular' symbol.
static HTMLEntity phi
          HTML Entity representing the greek small letter phi.
static HTMLEntity PHI
          HTML Entity representing the greek capital letter phi.
static HTMLEntity pi
          HTML Entity representing the greek small letter pi.
static HTMLEntity PI
          HTML Entity representing the greek capital letter pi.
static HTMLEntity piv
          HTML Entity representing a pi symbol.
static HTMLEntity PLUSMN
          HTML Entity representing a plus-or-minus sign.
static HTMLEntity POUND
          HTML Entity representing a Pound sign.
static HTMLEntity PROD
          HTML Entity representing an 'n-ary product' symbol.
static HTMLEntity PROP
          HTML Entity representing a 'proportional to' symbol.
static HTMLEntity psi
          HTML Entity representing the greek small letter psi.
static HTMLEntity PSI
          HTML Entity representing the greek capital letter psi.
static HTMLEntity QUOT
          HTML Entity representing a quotation mark character.
static HTMLEntity RADIC
          HTML Entity representing a 'square root' / 'radical' symbol.
static HTMLEntity RAQUO
          HTML Entity representing a right pointing guillemet.
static HTMLEntity REG
          HTML Entity representing a registered trade mark sign.
static HTMLEntity rho
          HTML Entity representing the greek small letter rho.
static HTMLEntity RHO
          HTML Entity representing the greek capital letter rho.
static HTMLEntity SDOT
          HTML Entity representing a dot operator.
static HTMLEntity SECT
          HTML Entity representing a section sign.
static HTMLEntity SHY
          HTML Entity representing a discretionary hyphen.
static HTMLEntity sigma
          HTML Entity representing the greek small letter sigma.
static HTMLEntity SIGMA
          HTML Entity representing the greek capital letter sigma.
static HTMLEntity sigmaf
          HTML Entity representing the greek small letter final sigma.
static HTMLEntity SIM
          HTML Entity representing a tilde operator / 'varies with' / 'similar to' symbol.
static HTMLEntity SUB
          HTML Entity representing a 'subset of' symbol.
static HTMLEntity SUBE
          HTML Entity representing a 'subset of or equal to' symbol.
static HTMLEntity SUM
          HTML Entity representing a 'n-ary sumation' symbol.
static HTMLEntity SUP
          HTML Entity representing a 'superset of' symbol.
static HTMLEntity SUP1
          HTML Entity representing a superscript digit one.
static HTMLEntity SUP2
          HTML Entity representing a superscript digit two.
static HTMLEntity SUP3
          HTML Entity representing a superscript digit three.
static HTMLEntity SUPE
          HTML Entity representing a 'superset of or equal to' symbol.
static HTMLEntity szLIG
          HTML Entity representing the latin small letter sharp s.
static HTMLEntity tau
          HTML Entity representing the greek small letter tau.
static HTMLEntity TAU
          HTML Entity representing the greek capital letter tau.
static HTMLEntity THERE4
          HTML Entity representing a 'therefore' symbol.
static HTMLEntity theta
          HTML Entity representing the greek small letter theta.
static HTMLEntity THETA
          HTML Entity representing the greek capital letter theta.
static HTMLEntity thetasym
          HTML Entity representing a theta symbol.
static HTMLEntity thorn
          HTML Entity representing the latin small letter thorn.
static HTMLEntity THORN
          HTML Entity representing the latin capital letter THORN.
static HTMLEntity TIMES
          HTML Entity representing a multiplication sign.
static HTMLEntity uACUTE
          HTML Entity representing the latin small letter u with acute.
static HTMLEntity UACUTE
          HTML Entity representing the latin capital letter U with acute.
static HTMLEntity uCIRC
          HTML Entity representing the latin small letter u with circumflex.
static HTMLEntity UCIRC
          HTML Entity representing the latin capital letter U with circumflex.
static HTMLEntity uGRAVE
          HTML Entity representing the latin small letter u with grave.
static HTMLEntity UGRAVE
          HTML Entity representing the latin capital letter U with grave.
static HTMLEntity UML
          HTML Entity representing a spacing diaeresis.
static HTMLEntity upsih
          HTML Entity representing an upsilon with hook symbol.
static HTMLEntity upsilon
          HTML Entity representing the greek small letter upsilon.
static HTMLEntity UPSILON
          HTML Entity representing the greek capital letter upsilon.
static HTMLEntity uUML
          HTML Entity representing the latin small letter u with diaeresis.
static HTMLEntity UUML
          HTML Entity representing the latin capital letter U with diaeresis.
static HTMLEntity xi
          HTML Entity representing the greek small letter xi.
static HTMLEntity XI
          HTML Entity representing the greek capital letter xi.
static HTMLEntity yACUTE
          HTML Entity representing the latin small letter y with acute.
static HTMLEntity YACUTE
          HTML Entity representing the latin capital letter Y with acute.
static HTMLEntity YEN
          HTML Entity representing a Yen sign.
static HTMLEntity yUML
          HTML Entity representing the latin small letter y with diaeresis.
static HTMLEntity zeta
          HTML Entity representing the greek small letter zeta.
static HTMLEntity ZETA
          HTML Entity representing the greek capital letter zeta.
 
Constructor Summary
HTMLEncoder()
           
 
Method Summary
static String encode(String s)
          Given any unicoded text, this method encodes the text as HTML 4.0.
protected static HTMLEntity entity(char cKey)
          Given a char key, this method returns the HTMLEntity object that is uniquely associated with it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

QUOT

public static final HTMLEntity QUOT

HTML Entity representing a quotation mark character. The entity's HTML 4.0 numerical code is 34.

Since:
J2SE 1.3

AMP

public static final HTMLEntity AMP

HTML Entity representing an ampersand. The entity's HTML 4.0 numerical code is 38.

Since:
J2SE 1.3

LT

public static final HTMLEntity LT

HTML Entity representing a less-than sign. The entity's HTML 4.0 numerical code is 60.

Since:
J2SE 1.3

GT

public static final HTMLEntity GT

HTML Entity representing a greater-than sign. The entity's HTML 4.0 numerical code is 62.

Since:
J2SE 1.3

NBSP

public static final HTMLEntity NBSP

HTML Entity representing a non-breaking space. The entity's HTML 4.0 numerical code is 160.

Since:
J2SE 1.3

IEXCL

public static final HTMLEntity IEXCL

HTML Entity representing an inverted exclamation mark. The entity's HTML 4.0 numerical code is 161.

Since:
J2SE 1.3

CENT

public static final HTMLEntity CENT

HTML Entity representing a cent sign. The entity's HTML 4.0 numerical code is 162.

Since:
J2SE 1.3

POUND

public static final HTMLEntity POUND

HTML Entity representing a Pound sign. The entity's HTML 4.0 numerical code is 163.

Since:
J2SE 1.3

CURREN

public static final HTMLEntity CURREN

HTML Entity representing a currency sign. The entity's HTML 4.0 numerical code is 164.

Since:
J2SE 1.3

YEN

public static final HTMLEntity YEN

HTML Entity representing a Yen sign. The entity's HTML 4.0 numerical code is 165.

Since:
J2SE 1.3

BRVBAR

public static final HTMLEntity BRVBAR

HTML Entity representing a broken (vertical) bar. The entity's HTML 4.0 numerical code is 166.

Since:
J2SE 1.3

SECT

public static final HTMLEntity SECT

HTML Entity representing a section sign. The entity's HTML 4.0 numerical code is 167.

Since:
J2SE 1.3

UML

public static final HTMLEntity UML

HTML Entity representing a spacing diaeresis. The entity's HTML 4.0 numerical code is 168.

Since:
J2SE 1.3

COPY

public static final HTMLEntity COPY

HTML Entity representing a copyright sign. The entity's HTML 4.0 numerical code is 169.

Since:
J2SE 1.3

ORDF

public static final HTMLEntity ORDF

HTML Entity representing a feminine ordinal indicator. The entity's HTML 4.0 numerical code is 170.

Since:
J2SE 1.3

LAQUO

public static final HTMLEntity LAQUO

HTML Entity representing a left pointing guillemet. The entity's HTML 4.0 numerical code is 171.

Since:
J2SE 1.3

NOT

public static final HTMLEntity NOT

HTML Entity representing a not sign. The entity's HTML 4.0 numerical code is 172.

Since:
J2SE 1.3

SHY

public static final HTMLEntity SHY

HTML Entity representing a discretionary hyphen. The entity's HTML 4.0 numerical code is 173.

Since:
J2SE 1.3

REG

public static final HTMLEntity REG

HTML Entity representing a registered trade mark sign. The entity's HTML 4.0 numerical code is 174.

Since:
J2SE 1.3

MACR

public static final HTMLEntity MACR

HTML Entity representing a spacing macron. The entity's HTML 4.0 numerical code is 175.

Since:
J2SE 1.3

DEG

public static final HTMLEntity DEG

HTML Entity representing a degree sign. The entity's HTML 4.0 numerical code is 176.

Since:
J2SE 1.3

PLUSMN

public static final HTMLEntity PLUSMN

HTML Entity representing a plus-or-minus sign. The entity's HTML 4.0 numerical code is 177.

Since:
J2SE 1.3

SUP2

public static final HTMLEntity SUP2

HTML Entity representing a superscript digit two. The entity's HTML 4.0 numerical code is 178.

Since:
J2SE 1.3

SUP3

public static final HTMLEntity SUP3

HTML Entity representing a superscript digit three. The entity's HTML 4.0 numerical code is 179.

Since:
J2SE 1.3

ACUTE

public static final HTMLEntity ACUTE

HTML Entity representing a spacing acute. The entity's HTML 4.0 numerical code is 180.

Since:
J2SE 1.3

MICRO

public static final HTMLEntity MICRO

HTML Entity representing a micro sign. The entity's HTML 4.0 numerical code is 181.

Since:
J2SE 1.3

PARA

public static final HTMLEntity PARA

HTML Entity representing a paragraph sign. The entity's HTML 4.0 numerical code is 182.

Since:
J2SE 1.3

MIDDOT

public static final HTMLEntity MIDDOT

HTML Entity representing a middle dot. The entity's HTML 4.0 numerical code is 183.

Since:
J2SE 1.3

CEDIL

public static final HTMLEntity CEDIL

HTML Entity representing a spacing cedilla. The entity's HTML 4.0 numerical code is 184.

Since:
J2SE 1.3

SUP1

public static final HTMLEntity SUP1

HTML Entity representing a superscript digit one. The entity's HTML 4.0 numerical code is 185.

Since:
J2SE 1.3

ORDM

public static final HTMLEntity ORDM

HTML Entity representing a masculine ordinal indicator. The entity's HTML 4.0 numerical code is 186.

Since:
J2SE 1.3

RAQUO

public static final HTMLEntity RAQUO

HTML Entity representing a right pointing guillemet. The entity's HTML 4.0 numerical code is 187.

Since:
J2SE 1.3

FRAC14

public static final HTMLEntity FRAC14

HTML Entity representing a fraction one quarter. The entity's HTML 4.0 numerical code is 188.

Since:
J2SE 1.3

FRAC12

public static final HTMLEntity FRAC12

HTML Entity representing a fraction one half. The entity's HTML 4.0 numerical code is 189.

Since:
J2SE 1.3

FRAC34

public static final HTMLEntity FRAC34

HTML Entity representing a fraction three quarters. The entity's HTML 4.0 numerical code is 190.

Since:
J2SE 1.3

IQUEST

public static final HTMLEntity IQUEST

HTML Entity representing an inverted question mark. The entity's HTML 4.0 numerical code is 191.

Since:
J2SE 1.3

AGRAVE

public static final HTMLEntity AGRAVE

HTML Entity representing the latin capital letter A with grave. The entity's HTML 4.0 numerical code is 192.

Since:
J2SE 1.3

AACUTE

public static final HTMLEntity AACUTE

HTML Entity representing the latin capital letter A with acute. The entity's HTML 4.0 numerical code is 193.

Since:
J2SE 1.3

ACIRC

public static final HTMLEntity ACIRC

HTML Entity representing the latin capital letter A with circumflex. The entity's HTML 4.0 numerical code is 194.

Since:
J2SE 1.3

ATILDE

public static final HTMLEntity ATILDE

HTML Entity representing the latin capital letter A with tilde. The entity's HTML 4.0 numerical code is 195.

Since:
J2SE 1.3

AUML

public static final HTMLEntity AUML

HTML Entity representing the latin capital letter A with with diaeresis. The entity's HTML 4.0 numerical code is 196.

Since:
J2SE 1.3

ARING

public static final HTMLEntity ARING

HTML Entity representing the latin capital letter A with with ring above. The entity's HTML 4.0 numerical code is 197.

Since:
J2SE 1.3

AELIG

public static final HTMLEntity AELIG

HTML Entity representing the latin capital ligature AE. The entity's HTML 4.0 numerical code is 198.

Since:
J2SE 1.3

CCEDIL

public static final HTMLEntity CCEDIL

HTML Entity representing the latin capital letter C with cedilla. The entity's HTML 4.0 numerical code is 199.

Since:
J2SE 1.3

EGRAVE

public static final HTMLEntity EGRAVE

HTML Entity representing the latin capital letter E with grave. The entity's HTML 4.0 numerical code is 200.

Since:
J2SE 1.3

EACUTE

public static final HTMLEntity EACUTE

HTML Entity representing the latin capital letter E with acute. The entity's HTML 4.0 numerical code is 201.

Since:
J2SE 1.3

ECIRC

public static final HTMLEntity ECIRC

HTML Entity representing the latin capital letter E with circumflex. The entity's HTML 4.0 numerical code is 202.

Since:
J2SE 1.3

EUML

public static final HTMLEntity EUML

HTML Entity representing the latin capital letter E with diaeresis. The entity's HTML 4.0 numerical code is 203.

Since:
J2SE 1.3

IGRAVE

public static final HTMLEntity IGRAVE

HTML Entity representing the latin capital letter I with grave. The entity's HTML 4.0 numerical code is 204.

Since:
J2SE 1.3

IACUTE

public static final HTMLEntity IACUTE

HTML Entity representing the latin capital letter I with acute. The entity's HTML 4.0 numerical code is 205.

Since:
J2SE 1.3

ICIRC

public static final HTMLEntity ICIRC

HTML Entity representing the latin capital letter I with circumflex. The entity's HTML 4.0 numerical code is 206.

Since:
J2SE 1.3

IUML

public static final HTMLEntity IUML

HTML Entity representing the latin capital letter I with diaeresis. The entity's HTML 4.0 numerical code is 207.

Since:
J2SE 1.3

ETH

public static final HTMLEntity ETH

HTML Entity representing the latin capital letter ETH. The entity's HTML 4.0 numerical code is 208.

Since:
J2SE 1.3

NTILDE

public static final HTMLEntity NTILDE

HTML Entity representing the latin capital letter N with tilde. The entity's HTML 4.0 numerical code is 209.

Since:
J2SE 1.3

OGRAVE

public static final HTMLEntity OGRAVE

HTML Entity representing the latin capital letter O with grave. The entity's HTML 4.0 numerical code is 210.

Since:
J2SE 1.3

OACUTE

public static final HTMLEntity OACUTE

HTML Entity representing the latin capital letter O with acute. The entity's HTML 4.0 numerical code is 211.

Since:
J2SE 1.3

OCIRC

public static final HTMLEntity OCIRC

HTML Entity representing the latin capital letter O with circumflex. The entity's HTML 4.0 numerical code is 212.

Since:
J2SE 1.3

OTILDE

public static final HTMLEntity OTILDE

HTML Entity representing the latin capital letter O with tilde. The entity's HTML 4.0 numerical code is 213.

Since:
J2SE 1.3

OUML

public static final HTMLEntity OUML

HTML Entity representing the latin capital letter O with diaeresis. The entity's HTML 4.0 numerical code is 214.

Since:
J2SE 1.3

TIMES

public static final HTMLEntity TIMES

HTML Entity representing a multiplication sign. The entity's HTML 4.0 numerical code is 215.

Since:
J2SE 1.3

OSLASH

public static final HTMLEntity OSLASH

HTML Entity representing the latin capital letter O slash. The entity's HTML 4.0 numerical code is 216.

Since:
J2SE 1.3

UGRAVE

public static final HTMLEntity UGRAVE

HTML Entity representing the latin capital letter U with grave. The entity's HTML 4.0 numerical code is 217.

Since:
J2SE 1.3

UACUTE

public static final HTMLEntity UACUTE

HTML Entity representing the latin capital letter U with acute. The entity's HTML 4.0 numerical code is 218.

Since:
J2SE 1.3

UCIRC

public static final HTMLEntity UCIRC

HTML Entity representing the latin capital letter U with circumflex. The entity's HTML 4.0 numerical code is 219.

Since:
J2SE 1.3

UUML

public static final HTMLEntity UUML

HTML Entity representing the latin capital letter U with diaeresis. The entity's HTML 4.0 numerical code is 220.

Since:
J2SE 1.3

YACUTE

public static final HTMLEntity YACUTE

HTML Entity representing the latin capital letter Y with acute. The entity's HTML 4.0 numerical code is 221.

Since:
J2SE 1.3

THORN

public static final HTMLEntity THORN

HTML Entity representing the latin capital letter THORN. The entity's HTML 4.0 numerical code is 222.

Since:
J2SE 1.3

szLIG

public static final HTMLEntity szLIG

HTML Entity representing the latin small letter sharp s. The entity's HTML 4.0 numerical code is 223.

Since:
J2SE 1.3

aGRAVE

public static final HTMLEntity aGRAVE

HTML Entity representing the latin small letter a with grave. The entity's HTML 4.0 numerical code is 224.

Since:
J2SE 1.3

aACUTE

public static final HTMLEntity aACUTE

HTML Entity representing the latin small letter a with with acute. The entity's HTML 4.0 numerical code is 225.

Since:
J2SE 1.3

aCIRC

public static final HTMLEntity aCIRC

HTML Entity representing the latin small letter a with with circumflex. The entity's HTML 4.0 numerical code is 226.

Since:
J2SE 1.3

aTILDE

public static final HTMLEntity aTILDE

HTML Entity representing the latin small letter a with with tilde. The entity's HTML 4.0 numerical code is 227.

Since:
J2SE 1.3

aUML

public static final HTMLEntity aUML

HTML Entity representing the latin small letter a with with diaeresis. The entity's HTML 4.0 numerical code is 228.

Since:
J2SE 1.3

aRING

public static final HTMLEntity aRING

HTML Entity representing the latin small letter a with ring. The entity's HTML 4.0 numerical code is 229.

Since:
J2SE 1.3

aeLIG

public static final HTMLEntity aeLIG

HTML Entity representing the latin small ligature ae. The entity's HTML 4.0 numerical code is 230.

Since:
J2SE 1.3

cCEDIL

public static final HTMLEntity cCEDIL

HTML Entity representing the latin small letter c with cedilla. The entity's HTML 4.0 numerical code is 231.

Since:
J2SE 1.3

eGRAVE

public static final HTMLEntity eGRAVE

HTML Entity representing the latin small letter e with grave. The entity's HTML 4.0 numerical code is 232.

Since:
J2SE 1.3

eACUTE

public static final HTMLEntity eACUTE

HTML Entity representing the latin small letter e with with acute. The entity's HTML 4.0 numerical code is 233.

Since:
J2SE 1.3

eCIRC

public static final HTMLEntity eCIRC

HTML Entity representing the latin small letter e with with circumflex. The entity's HTML 4.0 numerical code is 234.

Since:
J2SE 1.3

eUML

public static final HTMLEntity eUML

HTML Entity representing the latin small letter e with with diaeresis. The entity's HTML 4.0 numerical code is 235.

Since:
J2SE 1.3

iGRAVE

public static final HTMLEntity iGRAVE

HTML Entity representing the latin small letter i with with grave. The entity's HTML 4.0 numerical code is 236.

Since:
J2SE 1.3

iACUTE

public static final HTMLEntity iACUTE

HTML Entity representing the latin small letter i with with acute. The entity's HTML 4.0 numerical code is 237.

Since:
J2SE 1.3

iCIRC

public static final HTMLEntity iCIRC

HTML Entity representing the latin small letter i with with circumflex. The entity's HTML 4.0 numerical code is 238.

Since:
J2SE 1.3

iUML

public static final HTMLEntity iUML

HTML Entity representing the latin small letter i with with diaeresis. The entity's HTML 4.0 numerical code is 239.

Since:
J2SE 1.3

eth

public static final HTMLEntity eth

HTML Entity representing the latin small letter eth. The entity's HTML 4.0 numerical code is 240.

Since:
J2SE 1.3

nTILDE

public static final HTMLEntity nTILDE

HTML Entity representing the latin small letter n with tilde. The entity's HTML 4.0 numerical code is 241.

Since:
J2SE 1.3

oGRAVE

public static final HTMLEntity oGRAVE

HTML Entity representing the latin small letter o with grave. The entity's HTML 4.0 numerical code is 242.

Since:
J2SE 1.3

oACUTE

public static final HTMLEntity oACUTE

HTML Entity representing the latin small letter o with acute. The entity's HTML 4.0 numerical code is 243.

Since:
J2SE 1.3

oCIRC

public static final HTMLEntity oCIRC

HTML Entity representing the latin small letter o with circumflex. The entity's HTML 4.0 numerical code is 244.

Since:
J2SE 1.3

oTILDE

public static final HTMLEntity oTILDE

HTML Entity representing the latin small letter o with tilde. The entity's HTML 4.0 numerical code is 245.

Since:
J2SE 1.3

oUML

public static final HTMLEntity oUML

HTML Entity representing the latin small letter o with diaeresis. The entity's HTML 4.0 numerical code is 246.

Since:
J2SE 1.3

DIVIDE

public static final HTMLEntity DIVIDE

HTML Entity representing a division sign. The entity's HTML 4.0 numerical code is 247.

Since:
J2SE 1.3

oSLASH

public static final HTMLEntity oSLASH

HTML Entity representing the latin small letter 'o slash'. The entity's HTML 4.0 numerical code is 248.

Since:
J2SE 1.3

uGRAVE

public static final HTMLEntity uGRAVE

HTML Entity representing the latin small letter u with grave. The entity's HTML 4.0 numerical code is 249.

Since:
J2SE 1.3

uACUTE

public static final HTMLEntity uACUTE

HTML Entity representing the latin small letter u with acute. The entity's HTML 4.0 numerical code is 250.

Since:
J2SE 1.3

uCIRC

public static final HTMLEntity uCIRC

HTML Entity representing the latin small letter u with circumflex. The entity's HTML 4.0 numerical code is 251.

Since:
J2SE 1.3

uUML

public static final HTMLEntity uUML

HTML Entity representing the latin small letter u with diaeresis. The entity's HTML 4.0 numerical code is 252.

Since:
J2SE 1.3

yACUTE

public static final HTMLEntity yACUTE

HTML Entity representing the latin small letter y with acute. The entity's HTML 4.0 numerical code is 253.

Since:
J2SE 1.3

thorn

public static final HTMLEntity thorn

HTML Entity representing the latin small letter thorn. The entity's HTML 4.0 numerical code is 254.

Since:
J2SE 1.3

yUML

public static final HTMLEntity yUML

HTML Entity representing the latin small letter y with diaeresis. The entity's HTML 4.0 numerical code is 255.

Since:
J2SE 1.3

ALPHA

public static final HTMLEntity ALPHA

HTML Entity representing the greek capital letter alpha. The entity's HTML 4.0 numerical code is 913.

Since:
J2SE 1.3

BETA

public static final HTMLEntity BETA

HTML Entity representing the greek capital letter beta. The entity's HTML 4.0 numerical code is 914.

Since:
J2SE 1.3

GAMMA

public static final HTMLEntity GAMMA

HTML Entity representing the greek capital letter gamma. The entity's HTML 4.0 numerical code is 915.

Since:
J2SE 1.3

DELTA

public static final HTMLEntity DELTA

HTML Entity representing the greek capital letter delta. The entity's HTML 4.0 numerical code is 916.

Since:
J2SE 1.3

EPSILON

public static final HTMLEntity EPSILON

HTML Entity representing the greek capital letter epsilon. The entity's HTML 4.0 numerical code is 917.

Since:
J2SE 1.3

ZETA

public static final HTMLEntity ZETA

HTML Entity representing the greek capital letter zeta. The entity's HTML 4.0 numerical code is 918.

Since:
J2SE 1.3

ETA

public static final HTMLEntity ETA

HTML Entity representing the greek capital letter eta. The entity's HTML 4.0 numerical code is 919.

Since:
J2SE 1.3

THETA

public static final HTMLEntity THETA

HTML Entity representing the greek capital letter theta. The entity's HTML 4.0 numerical code is 920.

Since:
J2SE 1.3

IOTA

public static final HTMLEntity IOTA

HTML Entity representing the greek capital letter iota. The entity's HTML 4.0 numerical code is 921.

Since:
J2SE 1.3

KAPPA

public static final HTMLEntity KAPPA

HTML Entity representing the greek capital letter kappa. The entity's HTML 4.0 numerical code is 922.

Since:
J2SE 1.3

LAMBDA

public static final HTMLEntity LAMBDA

HTML Entity representing the greek capital letter lambda. The entity's HTML 4.0 numerical code is 923.

Since:
J2SE 1.3

MU

public static final HTMLEntity MU

HTML Entity representing the greek capital letter mu. The entity's HTML 4.0 numerical code is 924.

Since:
J2SE 1.3

NU

public static final HTMLEntity NU

HTML Entity representing the greek capital letter nu. The entity's HTML 4.0 numerical code is 925.

Since:
J2SE 1.3

XI

public static final HTMLEntity XI

HTML Entity representing the greek capital letter xi. The entity's HTML 4.0 numerical code is 926.

Since:
J2SE 1.3

OMICRON

public static final HTMLEntity OMICRON

HTML Entity representing the greek capital letter omicron. The entity's HTML 4.0 numerical code is 927.

Since:
J2SE 1.3

PI

public static final HTMLEntity PI

HTML Entity representing the greek capital letter pi. The entity's HTML 4.0 numerical code is 928.

Since:
J2SE 1.3

RHO

public static final HTMLEntity RHO

HTML Entity representing the greek capital letter rho. The entity's HTML 4.0 numerical code is 929.

Since:
J2SE 1.3

SIGMA

public static final HTMLEntity SIGMA

HTML Entity representing the greek capital letter sigma. The entity's HTML 4.0 numerical code is 931.

Since:
J2SE 1.3

TAU

public static final HTMLEntity TAU

HTML Entity representing the greek capital letter tau. The entity's HTML 4.0 numerical code is 932.

Since:
J2SE 1.3

UPSILON

public static final HTMLEntity UPSILON

HTML Entity representing the greek capital letter upsilon. The entity's HTML 4.0 numerical code is 933.

Since:
J2SE 1.3

PHI

public static final HTMLEntity PHI

HTML Entity representing the greek capital letter phi. The entity's HTML 4.0 numerical code is 934.

Since:
J2SE 1.3

CHI

public static final HTMLEntity CHI

HTML Entity representing the greek capital letter chi. The entity's HTML 4.0 numerical code is 935.

Since:
J2SE 1.3

PSI

public static final HTMLEntity PSI

HTML Entity representing the greek capital letter psi. The entity's HTML 4.0 numerical code is 936.

Since:
J2SE 1.3

OMEGA

public static final HTMLEntity OMEGA

HTML Entity representing the greek capital letter omega. The entity's HTML 4.0 numerical code is 937.

Since:
J2SE 1.3

alpha

public static final HTMLEntity alpha

HTML Entity representing the greek small letter alpha. The entity's HTML 4.0 numerical code is 945.

Since:
J2SE 1.3

beta

public static final HTMLEntity beta

HTML Entity representing the greek small letter beta. The entity's HTML 4.0 numerical code is 946.

Since:
J2SE 1.3

gamma

public static final HTMLEntity gamma

HTML Entity representing the greek small letter gamma. The entity's HTML 4.0 numerical code is 947.

Since:
J2SE 1.3

delta

public static final HTMLEntity delta

HTML Entity representing the greek small letter delta. The entity's HTML 4.0 numerical code is 948.

Since:
J2SE 1.3

epsilon

public static final HTMLEntity epsilon

HTML Entity representing the greek small letter epsilon. The entity's HTML 4.0 numerical code is 949.

Since:
J2SE 1.3

zeta

public static final HTMLEntity zeta

HTML Entity representing the greek small letter zeta. The entity's HTML 4.0 numerical code is 950.

Since:
J2SE 1.3

eta

public static final HTMLEntity eta

HTML Entity representing the greek small letter eta. The entity's HTML 4.0 numerical code is 951.

Since:
J2SE 1.3

theta

public static final HTMLEntity theta

HTML Entity representing the greek small letter theta. The entity's HTML 4.0 numerical code is 952.

Since:
J2SE 1.3

iota

public static final HTMLEntity iota

HTML Entity representing the greek small letter iota. The entity's HTML 4.0 numerical code is 953.

Since:
J2SE 1.3

kappa

public static final HTMLEntity kappa

HTML Entity representing the greek small letter kappa. The entity's HTML 4.0 numerical code is 954.

Since:
J2SE 1.3

lambda

public static final HTMLEntity lambda

HTML Entity representing the greek small letter lambda. The entity's HTML 4.0 numerical code is 955.

Since:
J2SE 1.3

mu

public static final HTMLEntity mu

HTML Entity representing the greek small letter mu. The entity's HTML 4.0 numerical code is 956.

Since:
J2SE 1.3

nu

public static final HTMLEntity nu

HTML Entity representing the greek small letter nu. The entity's HTML 4.0 numerical code is 957.

Since:
J2SE 1.3

xi

public static final HTMLEntity xi

HTML Entity representing the greek small letter xi. The entity's HTML 4.0 numerical code is 958.

Since:
J2SE 1.3

omicron

public static final HTMLEntity omicron

HTML Entity representing the greek small letter omicron. The entity's HTML 4.0 numerical code is 959.

Since:
J2SE 1.3

pi

public static final HTMLEntity pi

HTML Entity representing the greek small letter pi. The entity's HTML 4.0 numerical code is 960.

Since:
J2SE 1.3

rho

public static final HTMLEntity rho

HTML Entity representing the greek small letter rho. The entity's HTML 4.0 numerical code is 961.

Since:
J2SE 1.3

sigmaf

public static final HTMLEntity sigmaf

HTML Entity representing the greek small letter final sigma. The entity's HTML 4.0 numerical code is 962.

Since:
J2SE 1.3

sigma

public static final HTMLEntity sigma

HTML Entity representing the greek small letter sigma. The entity's HTML 4.0 numerical code is 963.

Since:
J2SE 1.3

tau

public static final HTMLEntity tau

HTML Entity representing the greek small letter tau. The entity's HTML 4.0 numerical code is 964.

Since:
J2SE 1.3

upsilon

public static final HTMLEntity upsilon

HTML Entity representing the greek small letter upsilon. The entity's HTML 4.0 numerical code is 965.

Since:
J2SE 1.3

phi

public static final HTMLEntity phi

HTML Entity representing the greek small letter phi. The entity's HTML 4.0 numerical code is 966.

Since:
J2SE 1.3

chi

public static final HTMLEntity chi

HTML Entity representing the greek small letter chi. The entity's HTML 4.0 numerical code is 967.

Since:
J2SE 1.3

psi

public static final HTMLEntity psi

HTML Entity representing the greek small letter psi. The entity's HTML 4.0 numerical code is 968.

Since:
J2SE 1.3

omega

public static final HTMLEntity omega

HTML Entity representing the greek small letter omega. The entity's HTML 4.0 numerical code is 969.

Since:
J2SE 1.3

thetasym

public static final HTMLEntity thetasym

HTML Entity representing a theta symbol. The entity's HTML 4.0 numerical code is 977.

Since:
J2SE 1.3

upsih

public static final HTMLEntity upsih

HTML Entity representing an upsilon with hook symbol. The entity's HTML 4.0 numerical code is 978.

Since:
J2SE 1.3

piv

public static final HTMLEntity piv

HTML Entity representing a pi symbol. The entity's HTML 4.0 numerical code is 982.

Since:
J2SE 1.3

FORALL

public static final HTMLEntity FORALL

HTML Entity representing a 'for all' symbol. The entity's HTML 4.0 numerical code is 8704.

Since:
J2SE 1.3

PART

public static final HTMLEntity PART

HTML Entity representing a 'partial differential' symbol. The entity's HTML 4.0 numerical code is 8706.

Since:
J2SE 1.3

EXIST

public static final HTMLEntity EXIST

HTML Entity representing a 'there exists' symbol. The entity's HTML 4.0 numerical code is 8707.

Since:
J2SE 1.3

EMPTY

public static final HTMLEntity EMPTY

HTML Entity representing an 'empty set' symbol. The entity's HTML 4.0 numerical code is 8709.

Since:
J2SE 1.3

NABLA

public static final HTMLEntity NABLA

HTML Entity representing a 'nabla' / 'backward difference' symbol. The entity's HTML 4.0 numerical code is 8711.

Since:
J2SE 1.3

ISIN

public static final HTMLEntity ISIN

HTML Entity representing an 'element of' symbol. The entity's HTML 4.0 numerical code is 8712.

Since:
J2SE 1.3

NOTIN

public static final HTMLEntity NOTIN

HTML Entity representing a 'not an element of' symbol. The entity's HTML 4.0 numerical code is 8713.

Since:
J2SE 1.3

PROD

public static final HTMLEntity PROD

HTML Entity representing an 'n-ary product' symbol. The entity's HTML 4.0 numerical code is 8719.

Since:
J2SE 1.3

SUM

public static final HTMLEntity SUM

HTML Entity representing a 'n-ary sumation' symbol. The entity's HTML 4.0 numerical code is 8721.

Since:
J2SE 1.3

MINUS

public static final HTMLEntity MINUS

HTML Entity representing a minus sign. The entity's HTML 4.0 numerical code is 8722.

Since:
J2SE 1.3

LOWAST

public static final HTMLEntity LOWAST

HTML Entity representing an asterisk operator. The entity's HTML 4.0 numerical code is 8727.

Since:
J2SE 1.3

RADIC

public static final HTMLEntity RADIC

HTML Entity representing a 'square root' / 'radical' symbol. The entity's HTML 4.0 numerical code is 8727.

Since:
J2SE 1.3

PROP

public static final HTMLEntity PROP

HTML Entity representing a 'proportional to' symbol. The entity's HTML 4.0 numerical code is 8733.

Since:
J2SE 1.3

INFIN

public static final HTMLEntity INFIN

HTML Entity representing an 'infinity' symbol. The entity's HTML 4.0 numerical code is 8734.

Since:
J2SE 1.3

AND

public static final HTMLEntity AND

HTML Entity representing a 'logical and' symbol. The entity's HTML 4.0 numerical code is 8743.

Since:
J2SE 1.3

OR

public static final HTMLEntity OR

HTML Entity representing a 'logical or' symbol. The entity's HTML 4.0 numerical code is 8744.

Since:
J2SE 1.3

CAP

public static final HTMLEntity CAP

HTML Entity representing an 'intersection' / 'cap' symbol. The entity's HTML 4.0 numerical code is 8745.

Since:
J2SE 1.3

CUP

public static final HTMLEntity CUP

HTML Entity representing a 'union' / 'cup' symbol. The entity's HTML 4.0 numerical code is 8746.

Since:
J2SE 1.3

INT

public static final HTMLEntity INT

HTML Entity representing an integral symbol. The entity's HTML 4.0 numerical code is 8747.

Since:
J2SE 1.3

THERE4

public static final HTMLEntity THERE4

HTML Entity representing a 'therefore' symbol. The entity's HTML 4.0 numerical code is 8756.

Since:
J2SE 1.3

SIM

public static final HTMLEntity SIM

HTML Entity representing a tilde operator / 'varies with' / 'similar to' symbol. The entity's HTML 4.0 numerical code is 8764.

Since:
J2SE 1.3

CONG

public static final HTMLEntity CONG

HTML Entity representing an 'approximately equal to' symbol. The entity's HTML 4.0 numerical code is 8773.

Since:
J2SE 1.3

ASYMP

public static final HTMLEntity ASYMP

HTML Entity representing an 'almost equal to / asymptotic to' symbol. The entity's HTML 4.0 numerical code is 8776.

Since:
J2SE 1.3

NE

public static final HTMLEntity NE

HTML Entity representing a 'not equal to' symbol. The entity's HTML 4.0 numerical code is 8800.

Since:
J2SE 1.3

EQUIV

public static final HTMLEntity EQUIV

HTML Entity representing an 'identical to' symbol. The entity's HTML 4.0 numerical code is 8801.

Since:
J2SE 1.3

LE

public static final HTMLEntity LE

HTML Entity representing a 'less than or equal to' symbol. The entity's HTML 4.0 numerical code is 8804.

Since:
J2SE 1.3

GE

public static final HTMLEntity GE

HTML Entity representing a 'greater than or equal to' symbol. The entity's HTML 4.0 numerical code is 8805.

Since:
J2SE 1.3

SUB

public static final HTMLEntity SUB

HTML Entity representing a 'subset of' symbol. The entity's HTML 4.0 numerical code is 8834.

Since:
J2SE 1.3

SUP

public static final HTMLEntity SUP

HTML Entity representing a 'superset of' symbol. The entity's HTML 4.0 numerical code is 8835.

Since:
J2SE 1.3

NSUB

public static final HTMLEntity NSUB

HTML Entity representing a 'not a subset of' symbol. The entity's HTML 4.0 numerical code is 8836.

Since:
J2SE 1.3

SUBE

public static final HTMLEntity SUBE

HTML Entity representing a 'subset of or equal to' symbol. The entity's HTML 4.0 numerical code is 8839.

Since:
J2SE 1.3

SUPE

public static final HTMLEntity SUPE

HTML Entity representing a 'superset of or equal to' symbol. The entity's HTML 4.0 numerical code is 8838.

Since:
J2SE 1.3

OPLUS

public static final HTMLEntity OPLUS

HTML Entity representing a 'circled plus' / 'direct sum' symbol. The entity's HTML 4.0 numerical code is 8853.

Since:
J2SE 1.3

OTIMES

public static final HTMLEntity OTIMES

HTML Entity representing a 'circled times' / 'vector product' symbol. The entity's HTML 4.0 numerical code is 8855.

Since:
J2SE 1.3

PERP

public static final HTMLEntity PERP

HTML Entity representing a 'up tack' / 'orthogonal to' / 'perpendicular' symbol. The entity's HTML 4.0 numerical code is 8869.

Since:
J2SE 1.3

SDOT

public static final HTMLEntity SDOT

HTML Entity representing a dot operator. The entity's HTML 4.0 numerical code is 8901.

Since:
J2SE 1.3
Constructor Detail

HTMLEncoder

public HTMLEncoder()
Method Detail

entity

protected static HTMLEntity entity(char cKey)
                            throws UnknownHTMLEntityException

Given a char key, this method returns the HTMLEntity object that is uniquely associated with it. This method throws an UnknownHTMLEntityException if the given char does not identify an HTMLEntity. Thus, this method never returns null.

Parameters:
cKey - the char uniqely identifying an HTMLEntity.
Returns:
the associated HTMLEntity.
Throws:
an - UnknownHTMLEntityException if the given char is not associated with any HTMLEntity.
UnknownHTMLEntityException
Since:
J2SE 1.3, HTML 4.0.1 Transitional

encode

public static String encode(String s)

Given any unicoded text, this method encodes the text as HTML 4.0. The encoding process replaces any characters in the original text with the appropriate HTML entities. This method should always be used when an arbitrary string is included in the HTML output of a Servlet or other device.

NOTE 1: The encoder uses the 'descriptive word' form of the HTML entities, and not the numeric form. Thus, for example, ' ' is favoured over ' '.

NOTE 2: All instances of space characters in the original text are encoded as the HTML entity ' ', including multiple contiguous instances of space characters.

Parameters:
s - the String carrying the unicode text to be encoded.
Returns:
the encoded text.
Since:
J2SE 1.3, HTML 4.0.1 Transitional

OpMath

Submit a bug or feature to Open Math
Copyright © 2002 Open Math Company Limited, Brighton, UK