Class CharacterEntityReference
- java.lang.Object
-
- Segment
-
- CharacterReference
-
- CharacterEntityReference
-
- All Implemented Interfaces:
java.lang.CharSequence
,java.lang.Comparable<Segment>
public class CharacterEntityReference extends CharacterReference
Represents an HTML Character Entity Reference.Click here to scroll down to the method summary.
The full list of HTML character entity references can be found at the following URL:
http://www.w3.org/TR/REC-html40/sgml/entities.html.There are a total of 253 HTML character entity references, ranging from codepoints U+0022 to U+2666.
Static methods to encode and decode strings and single characters can be found in the
CharacterReference
superclass.The
'
entity reference is not defined for use in HTML. It is defined in the XHTML Special Characters Entity Set, and is the only one that is not included in both HTML and XHTML. For this reason, the'
entity reference is recognised by this library in decoding functions, but in encoding functions the numeric character reference'
is used instead. Most modern browsers support it in both XHTML and HTML, with the notable exception of Microsoft Internet Explorer 6.0, which doesn't support it in either.CharacterEntityReference
instances are obtained using one of the following methods:- See Also:
CharacterReference
,NumericCharacterReference
-
-
Field Summary
Fields Modifier and Type Field Description static char
_aacute
áá = á
-- latin small letter a with acute, U+00E1 ISOlat1.static char
_Aacute
ÁÁ = Á
-- latin capital letter A with acute, U+00C1 ISOlat1.static char
_acirc
ââ = â
-- latin small letter a with circumflex, U+00E2 ISOlat1.static char
_Acirc
ÂÂ = Â
-- latin capital letter A with circumflex, U+00C2 ISOlat1.static char
_acute
´´ = ´
-- acute accent = spacing acute, U+00B4 ISOdia.static char
_aelig
ææ = æ
-- latin small letter ae = latin small ligature ae, U+00E6 ISOlat1.static char
_AElig
ÆÆ = Æ
-- latin capital letter AE = latin capital ligature AE, U+00C6 ISOlat1.static char
_agrave
àà = à
-- latin small letter a with grave = latin small letter a grave, U+00E0 ISOlat1.static char
_Agrave
ÀÀ = À
-- latin capital letter A with grave = latin capital letter A grave, U+00C0 ISOlat1.static char
_alefsym
static char
_alpha
αα = α
-- greek small letter alpha, U+03B1 ISOgrk3.static char
_Alpha
ΑΑ = Α
-- greek capital letter alpha, U+0391.static char
_amp
&& = &
-- ampersand, U+0026 ISOnum.static char
_and
∧∧ = ∧
-- logical and = wedge, U+2227 ISOtech.static char
_ang
∠∠ = ∠
-- angle, U+2220 ISOamso.static char
_apos
static char
_aring
åå = å
-- latin small letter a with ring above = latin small letter a ring, U+00E5 ISOlat1.static char
_Aring
ÅÅ = Å
-- latin capital letter A with ring above = latin capital letter A ring, U+00C5 ISOlat1.static char
_asymp
≈≈ = ≈
-- almost equal to = asymptotic to, U+2248 ISOamsr.static char
_atilde
ãã = ã
-- latin small letter a with tilde, U+00E3 ISOlat1.static char
_Atilde
ÃÃ = Ã
-- latin capital letter A with tilde, U+00C3 ISOlat1.static char
_auml
ää = ä
-- latin small letter a with diaeresis, U+00E4 ISOlat1.static char
_Auml
ÄÄ = Ä
-- latin capital letter A with diaeresis, U+00C4 ISOlat1.static char
_bdquo
„„ = „
-- double low-9 quotation mark, U+201E NEW.static char
_beta
ββ = β
-- greek small letter beta, U+03B2 ISOgrk3.static char
_Beta
ΒΒ = Β
-- greek capital letter beta, U+0392.static char
_brvbar
¦¦ = ¦
-- broken bar = broken vertical bar, U+00A6 ISOnum.static char
_bull
static char
_cap
∩∩ = ∩
-- intersection = cap, U+2229 ISOtech.static char
_ccedil
çç = ç
-- latin small letter c with cedilla, U+00E7 ISOlat1.static char
_Ccedil
ÇÇ = Ç
-- latin capital letter C with cedilla, U+00C7 ISOlat1.static char
_cedil
¸¸ = ¸
-- cedilla = spacing cedilla, U+00B8 ISOdia.static char
_cent
¢¢ = ¢
-- cent sign, U+00A2 ISOnum.static char
_chi
χχ = χ
-- greek small letter chi, U+03C7 ISOgrk3.static char
_Chi
ΧΧ = Χ
-- greek capital letter chi, U+03A7.static char
_circ
ˆˆ = ˆ
-- modifier letter circumflex accent, U+02C6 ISOpub.static char
_clubs
♣♣ = ♣
-- black club suit = shamrock, U+2663 ISOpub.static char
_cong
≅≅ = ≅
-- approximately equal to, U+2245 ISOtech.static char
_copy
©© = ©
-- copyright sign, U+00A9 ISOnum.static char
_crarr
↵↵ = ↵
-- downwards arrow with corner leftwards = carriage return, U+21B5 NEW.static char
_cup
∪∪ = ∪
-- union = cup, U+222A ISOtech.static char
_curren
¤¤ = ¤
-- currency sign, U+00A4 ISOnum.static char
_dagger
†† = †
-- dagger, U+2020 ISOpub.static char
_Dagger
‡‡ = ‡
-- double dagger, U+2021 ISOpub.static char
_darr
↓↓ = ↓
-- downwards arrow, U+2193 ISOnum.static char
_dArr
⇓⇓ = ⇓
-- downwards double arrow, U+21D3 ISOamsa.static char
_deg
°° = °
-- degree sign, U+00B0 ISOnum.static char
_delta
δδ = δ
-- greek small letter delta, U+03B4 ISOgrk3.static char
_Delta
ΔΔ = Δ
-- greek capital letter delta, U+0394 ISOgrk3.static char
_diams
♦♦ = ♦
-- black diamond suit, U+2666 ISOpub.static char
_divide
÷÷ = ÷
-- division sign, U+00F7 ISOnum.static char
_eacute
éé = é
-- latin small letter e with acute, U+00E9 ISOlat1.static char
_Eacute
ÉÉ = É
-- latin capital letter E with acute, U+00C9 ISOlat1.static char
_ecirc
êê = ê
-- latin small letter e with circumflex, U+00EA ISOlat1.static char
_Ecirc
ÊÊ = Ê
-- latin capital letter E with circumflex, U+00CA ISOlat1.static char
_egrave
èè = è
-- latin small letter e with grave, U+00E8 ISOlat1.static char
_Egrave
ÈÈ = È
-- latin capital letter E with grave, U+00C8 ISOlat1.static char
_empty
∅∅ = ∅
-- empty set = null set = diameter, U+2205 ISOamso.static char
_emsp
  =  
-- em space, U+2003 ISOpub.static char
_ensp
  =  
-- en space, U+2002 ISOpub.static char
_epsilon
εε = ε
-- greek small letter epsilon, U+03B5 ISOgrk3.static char
_Epsilon
ΕΕ = Ε
-- greek capital letter epsilon, U+0395.static char
_equiv
≡≡ = ≡
-- identical to, U+2261 ISOtech.static char
_eta
ηη = η
-- greek small letter eta, U+03B7 ISOgrk3.static char
_Eta
ΗΗ = Η
-- greek capital letter eta, U+0397.static char
_eth
ðð = ð
-- latin small letter eth, U+00F0 ISOlat1.static char
_ETH
ÐÐ = Ð
-- latin capital letter ETH, U+00D0 ISOlat1.static char
_euml
ëë = ë
-- latin small letter e with diaeresis, U+00EB ISOlat1.static char
_Euml
ËË = Ë
-- latin capital letter E with diaeresis, U+00CB ISOlat1.static char
_euro
€€ = €
-- euro sign, U+20AC NEW.static char
_exist
∃∃ = ∃
-- there exists, U+2203 ISOtech.static char
_fnof
ƒƒ = ƒ
-- latin small letter f with hook = function = florin, U+0192 ISOtech.static char
_forall
∀∀ = ∀
-- for all, U+2200 ISOtech.static char
_frac12
½½ = ½
-- vulgar fraction one half = fraction one half, U+00BD ISOnum.static char
_frac14
¼¼ = ¼
-- vulgar fraction one quarter = fraction one quarter, U+00BC ISOnum.static char
_frac34
¾¾ = ¾
-- vulgar fraction three quarters = fraction three quarters, U+00BE ISOnum.static char
_frasl
⁄⁄ = ⁄
-- fraction slash, U+2044 NEW.static char
_gamma
γγ = γ
-- greek small letter gamma, U+03B3 ISOgrk3.static char
_Gamma
ΓΓ = Γ
-- greek capital letter gamma, U+0393 ISOgrk3.static char
_ge
≥≥ = ≥
-- greater-than or equal to, U+2265 ISOtech.static char
_gt
>> = >
-- greater-than sign, U+003E ISOnum.static char
_harr
↔↔ = ↔
-- left right arrow, U+2194 ISOamsa.static char
_hArr
⇔⇔ = ⇔
-- left right double arrow, U+21D4 ISOamsa.static char
_hearts
♥♥ = ♥
-- black heart suit = valentine, U+2665 ISOpub.static char
_hellip
…… = …
-- horizontal ellipsis = three dot leader, U+2026 ISOpub.static char
_iacute
íí = í
-- latin small letter i with acute, U+00ED ISOlat1.static char
_Iacute
ÍÍ = Í
-- latin capital letter I with acute, U+00CD ISOlat1.static char
_icirc
îî = î
-- latin small letter i with circumflex, U+00EE ISOlat1.static char
_Icirc
ÎÎ = Î
-- latin capital letter I with circumflex, U+00CE ISOlat1.static char
_iexcl
¡¡ = ¡
-- inverted exclamation mark, U+00A1 ISOnum.static char
_igrave
ìì = ì
-- latin small letter i with grave, U+00EC ISOlat1.static char
_Igrave
ÌÌ = Ì
-- latin capital letter I with grave, U+00CC ISOlat1.static char
_image
ℑℑ = ℑ
-- black-letter capital I = imaginary part, U+2111 ISOamso.static char
_infin
∞∞ = ∞
-- infinity, U+221E ISOtech.static char
_int
∫∫ = ∫
-- integral, U+222B ISOtech.static char
_iota
ιι = ι
-- greek small letter iota, U+03B9 ISOgrk3.static char
_Iota
ΙΙ = Ι
-- greek capital letter iota, U+0399.static char
_iquest
¿¿ = ¿
-- inverted question mark = turned question mark, U+00BF ISOnum.static char
_isin
∈∈ = ∈
-- element of, U+2208 ISOtech.static char
_iuml
ïï = ï
-- latin small letter i with diaeresis, U+00EF ISOlat1.static char
_Iuml
ÏÏ = Ï
-- latin capital letter I with diaeresis, U+00CF ISOlat1.static char
_kappa
κκ = κ
-- greek small letter kappa, U+03BA ISOgrk3.static char
_Kappa
ΚΚ = Κ
-- greek capital letter kappa, U+039A.static char
_lambda
λλ = λ
-- greek small letter lambda, U+03BB ISOgrk3.static char
_Lambda
ΛΛ = Λ
-- greek capital letter lambda, U+039B ISOgrk3.static char
_lang
static char
_laquo
«« = «
-- left-pointing double angle quotation mark = left pointing guillemet, U+00AB ISOnum.static char
_larr
←← = ←
-- leftwards arrow, U+2190 ISOnum.static char
_lArr
static char
_lceil
⌈⌈ = ⌈
-- left ceiling = APL upstile, U+2308 ISOamsc.static char
_ldquo
““ = “
-- left double quotation mark, U+201C ISOnum.static char
_le
≤≤ = ≤
-- less-than or equal to, U+2264 ISOtech.static char
_lfloor
⌊⌊ = ⌊
-- left floor = APL downstile, U+230A ISOamsc.static char
_lowast
∗∗ = ∗
-- asterisk operator, U+2217 ISOtech.static char
_loz
◊◊ = ◊
-- lozenge, U+25CA ISOpub.static char
_lrm
‎ = ‎
-- left-to-right mark, U+200E NEW RFC 2070.static char
_lsaquo
‹‹ = ‹
-- single left-pointing angle quotation mark, U+2039 ISO proposed
(see comments).static char
_lsquo
‘‘ = ‘
-- left single quotation mark, U+2018 ISOnum.static char
_lt
<< = <
-- less-than sign, U+003C ISOnum.static char
_macr
¯¯ = ¯
-- macron = spacing macron = overline = APL overbar, U+00AF ISOdia.static char
_mdash
—— = —
-- em dash, U+2014 ISOpub.static char
_micro
µµ = µ
-- micro sign, U+00B5 ISOnum.static char
_middot
·· = ·
-- middle dot = Georgian comma = Greek middle dot, U+00B7 ISOnum.static char
_minus
−− = −
-- minus sign, U+2212 ISOtech.static char
_mu
μμ = μ
-- greek small letter mu, U+03BC ISOgrk3.static char
_Mu
ΜΜ = Μ
-- greek capital letter mu, U+039C.static char
_nabla
∇∇ = ∇
-- nabla = backward difference, U+2207 ISOtech.static char
_nbsp
=  
-- no-break space = non-breaking space, U+00A0 ISOnum.static char
_ndash
–– = –
-- en dash, U+2013 ISOpub.static char
_ne
≠≠ = ≠
-- not equal to, U+2260 ISOtech.static char
_ni
static char
_not
¬¬ = ¬
-- not sign = angled dash, U+00AC ISOnum.static char
_notin
∉∉ = ∉
-- not an element of, U+2209 ISOtech.static char
_nsub
⊄⊄ = ⊄
-- not a subset of, U+2284 ISOamsn.static char
_ntilde
ññ = ñ
-- latin small letter n with tilde, U+00F1 ISOlat1.static char
_Ntilde
ÑÑ = Ñ
-- latin capital letter N with tilde, U+00D1 ISOlat1.static char
_nu
νν = ν
-- greek small letter nu, U+03BD ISOgrk3.static char
_Nu
ΝΝ = Ν
-- greek capital letter nu, U+039D.static char
_oacute
óó = ó
-- latin small letter o with acute, U+00F3 ISOlat1.static char
_Oacute
ÓÓ = Ó
-- latin capital letter O with acute, U+00D3 ISOlat1.static char
_ocirc
ôô = ô
-- latin small letter o with circumflex, U+00F4 ISOlat1.static char
_Ocirc
ÔÔ = Ô
-- latin capital letter O with circumflex, U+00D4 ISOlat1.static char
_oelig
static char
_OElig
ŒŒ = Œ
-- latin capital ligature OE, U+0152 ISOlat2.static char
_ograve
òò = ò
-- latin small letter o with grave, U+00F2 ISOlat1.static char
_Ograve
ÒÒ = Ò
-- latin capital letter O with grave, U+00D2 ISOlat1.static char
_oline
‾‾ = ‾
-- overline = spacing overscore, U+203E NEW.static char
_omega
ωω = ω
-- greek small letter omega, U+03C9 ISOgrk3.static char
_Omega
ΩΩ = Ω
-- greek capital letter omega, U+03A9 ISOgrk3.static char
_omicron
οο = ο
-- greek small letter omicron, U+03BF NEW.static char
_Omicron
ΟΟ = Ο
-- greek capital letter omicron, U+039F.static char
_oplus
⊕⊕ = ⊕
-- circled plus = direct sum, U+2295 ISOamsb.static char
_or
∨∨ = ∨
-- logical or = vee, U+2228 ISOtech.static char
_ordf
ªª = ª
-- feminine ordinal indicator, U+00AA ISOnum.static char
_ordm
ºº = º
-- masculine ordinal indicator, U+00BA ISOnum.static char
_oslash
øø = ø
-- latin small letter o with stroke, = latin small letter o slash, U+00F8 ISOlat1.static char
_Oslash
ØØ = Ø
-- latin capital letter O with stroke = latin capital letter O slash, U+00D8 ISOlat1.static char
_otilde
õõ = õ
-- latin small letter o with tilde, U+00F5 ISOlat1.static char
_Otilde
ÕÕ = Õ
-- latin capital letter O with tilde, U+00D5 ISOlat1.static char
_otimes
⊗⊗ = ⊗
-- circled times = vector product, U+2297 ISOamsb.static char
_ouml
öö = ö
-- latin small letter o with diaeresis, U+00F6 ISOlat1.static char
_Ouml
ÖÖ = Ö
-- latin capital letter O with diaeresis, U+00D6 ISOlat1.static char
_para
¶¶ = ¶
-- pilcrow sign = paragraph sign, U+00B6 ISOnum.static char
_part
∂∂ = ∂
-- partial differential, U+2202 ISOtech.static char
_permil
‰‰ = ‰
-- per mille sign, U+2030 ISOtech.static char
_perp
⊥⊥ = ⊥
-- up tack = orthogonal to = perpendicular, U+22A5 ISOtech.static char
_phi
φφ = φ
-- greek small letter phi, U+03C6 ISOgrk3.static char
_Phi
ΦΦ = Φ
-- greek capital letter phi, U+03A6 ISOgrk3.static char
_pi
ππ = π
-- greek small letter pi, U+03C0 ISOgrk3.static char
_Pi
ΠΠ = Π
-- greek capital letter pi, U+03A0 ISOgrk3.static char
_piv
ϖϖ = ϖ
-- greek pi symbol, U+03D6 ISOgrk3.static char
_plusmn
±± = ±
-- plus-minus sign = plus-or-minus sign, U+00B1 ISOnum.static char
_pound
££ = £
-- pound sign, U+00A3 ISOnum.static char
_prime
′′ = ′
-- prime = minutes = feet, U+2032 ISOtech.static char
_Prime
″″ = ″
-- double prime = seconds = inches, U+2033 ISOtech.static char
_prod
static char
_prop
∝∝ = ∝
-- proportional to, U+221D ISOtech.static char
_psi
ψψ = ψ
-- greek small letter psi, U+03C8 ISOgrk3.static char
_Psi
ΨΨ = Ψ
-- greek capital letter psi, U+03A8 ISOgrk3.static char
_quot
"" = "
-- quotation mark = APL quote, U+0022 ISOnum.static char
_radic
√√ = √
-- square root = radical sign, U+221A ISOtech.static char
_rang
static char
_raquo
»» = »
-- right-pointing double angle quotation mark = right pointing guillemet, U+00BB ISOnum.static char
_rarr
→→ = →
-- rightwards arrow, U+2192 ISOnum.static char
_rArr
static char
_rceil
⌉⌉ = ⌉
-- right ceiling, U+2309 ISOamsc.static char
_rdquo
”” = ”
-- right double quotation mark, U+201D ISOnum.static char
_real
ℜℜ = ℜ
-- black-letter capital R = real part symbol, U+211C ISOamso.static char
_reg
®® = ®
-- registered sign = registered trade mark sign, U+00AE ISOnum.static char
_rfloor
⌋⌋ = ⌋
-- right floor, U+230B ISOamsc.static char
_rho
ρρ = ρ
-- greek small letter rho, U+03C1 ISOgrk3.static char
_Rho
ΡΡ = Ρ
-- greek capital letter rho, U+03A1.static char
_rlm
‏ = ‏
-- right-to-left mark, U+200F NEW RFC 2070.static char
_rsaquo
›› = ›
-- single right-pointing angle quotation mark, U+203A ISO proposed
(see comments).static char
_rsquo
’’ = ’
-- right single quotation mark, U+2019 ISOnum.static char
_sbquo
‚‚ = ‚
-- single low-9 quotation mark, U+201A NEW.static char
_scaron
šš = š
-- latin small letter s with caron, U+0161 ISOlat2.static char
_Scaron
ŠŠ = Š
-- latin capital letter S with caron, U+0160 ISOlat2.static char
_sdot
static char
_sect
§§ = §
-- section sign, U+00A7 ISOnum.static char
_shy
­ = ­
-- soft hyphen = discretionary hyphen, U+00AD ISOnum.static char
_sigma
σσ = σ
-- greek small letter sigma, U+03C3 ISOgrk3.static char
_Sigma
ΣΣ = Σ
-- greek capital letter sigma, U+03A3 ISOgrk3.static char
_sigmaf
ςς = ς
-- greek small letter final sigma, U+03C2 ISOgrk3.static char
_sim
static char
_spades
static char
_sub
⊂⊂ = ⊂
-- subset of, U+2282 ISOtech.static char
_sube
⊆⊆ = ⊆
-- subset of or equal to, U+2286 ISOtech.static char
_sum
static char
_sup
static char
_sup1
¹¹ = ¹
-- superscript one = superscript digit one, U+00B9 ISOnum.static char
_sup2
²² = ²
-- superscript two = superscript digit two = squared, U+00B2 ISOnum.static char
_sup3
³³ = ³
-- superscript three = superscript digit three = cubed, U+00B3 ISOnum.static char
_supe
⊇⊇ = ⊇
-- superset of or equal to, U+2287 ISOtech.static char
_szlig
ßß = ß
-- latin small letter sharp s = ess-zed, U+00DF ISOlat1.static char
_tau
ττ = τ
-- greek small letter tau, U+03C4 ISOgrk3.static char
_Tau
ΤΤ = Τ
-- greek capital letter tau, U+03A4.static char
_there4
∴∴ = ∴
-- therefore, U+2234 ISOtech.static char
_theta
θθ = θ
-- greek small letter theta, U+03B8 ISOgrk3.static char
_Theta
ΘΘ = Θ
-- greek capital letter theta, U+0398 ISOgrk3.static char
_thetasym
ϑϑ = ϑ
-- greek small letter theta symbol, U+03D1 NEW.static char
_thinsp
  =  
-- thin space, U+2009 ISOpub.static char
_thorn
þþ = þ
-- latin small letter thorn, U+00FE ISOlat1.static char
_THORN
ÞÞ = Þ
-- latin capital letter THORN, U+00DE ISOlat1.static char
_tilde
˜˜ = ˜
-- small tilde, U+02DC ISOdia.static char
_times
×× = ×
-- multiplication sign, U+00D7 ISOnum.static char
_trade
™™ = ™
-- trade mark sign, U+2122 ISOnum.static char
_uacute
úú = ú
-- latin small letter u with acute, U+00FA ISOlat1.static char
_Uacute
ÚÚ = Ú
-- latin capital letter U with acute, U+00DA ISOlat1.static char
_uarr
↑↑ = ↑
-- upwards arrow, U+2191 ISOnum.static char
_uArr
⇑⇑ = ⇑
-- upwards double arrow, U+21D1 ISOamsa.static char
_ucirc
ûû = û
-- latin small letter u with circumflex, U+00FB ISOlat1.static char
_Ucirc
ÛÛ = Û
-- latin capital letter U with circumflex, U+00DB ISOlat1.static char
_ugrave
ùù = ù
-- latin small letter u with grave, U+00F9 ISOlat1.static char
_Ugrave
ÙÙ = Ù
-- latin capital letter U with grave, U+00D9 ISOlat1.static char
_uml
¨¨ = ¨
-- diaeresis = spacing diaeresis, U+00A8 ISOdia.static char
_upsih
ϒϒ = ϒ
-- greek upsilon with hook symbol, U+03D2 NEW.static char
_upsilon
υυ = υ
-- greek small letter upsilon, U+03C5 ISOgrk3.static char
_Upsilon
ΥΥ = Υ
-- greek capital letter upsilon, U+03A5 ISOgrk3.static char
_uuml
üü = ü
-- latin small letter u with diaeresis, U+00FC ISOlat1.static char
_Uuml
ÜÜ = Ü
-- latin capital letter U with diaeresis, U+00DC ISOlat1.static char
_weierp
℘℘ = ℘
-- script capital P = power set = Weierstrass p, U+2118 ISOamso.static char
_xi
ξξ = ξ
-- greek small letter xi, U+03BE ISOgrk3.static char
_Xi
ΞΞ = Ξ
-- greek capital letter xi, U+039E ISOgrk3.static char
_yacute
ýý = ý
-- latin small letter y with acute, U+00FD ISOlat1.static char
_Yacute
ÝÝ = Ý
-- latin capital letter Y with acute, U+00DD ISOlat1.static char
_yen
¥¥ = ¥
-- yen sign = yuan sign, U+00A5 ISOnum.static char
_yuml
ÿÿ = ÿ
-- latin small letter y with diaeresis, U+00FF ISOlat1.static char
_Yuml
ŸŸ = Ÿ
-- latin capital letter Y with diaeresis, U+0178 ISOlat2.static char
_zeta
ζζ = ζ
-- greek small letter zeta, U+03B6 ISOgrk3.static char
_Zeta
ΖΖ = Ζ
-- greek capital letter zeta, U+0396.static char
_zwj
‍ = ‍
-- zero width joiner, U+200D NEW RFC 2070.static char
_zwnj
‌ = ‌
-- zero width non-joiner, U+200C NEW RFC 2070.-
Fields inherited from class net.htmlparser.jericho.CharacterReference
INVALID_CODE_POINT
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCharacterReferenceString()
Returns the correct encoded form of this character entity reference.static java.lang.String
getCharacterReferenceString(int codePoint)
Returns the character entity reference encoded form of the specified unicode code point.static int
getCodePointFromName(java.lang.String name)
Returns the unicode code point of the specified character entity reference name.java.lang.String
getDebugInfo()
Returns a string representation of this object useful for debugging purposes.java.lang.String
getName()
Returns the name of this character entity reference.static java.lang.String
getName(char ch)
Returns the character entity reference name of the specified character.static java.lang.String
getName(int codePoint)
Returns the character entity reference name of the specified unicode code point.static java.util.Map<java.lang.String,java.lang.Integer>
getNameToCodePointMap()
Returns a map of character entity reference names (String
) to unicode code points (Integer
).-
Methods inherited from class net.htmlparser.jericho.CharacterReference
appendCharTo, decode, decode, decodeCollapseWhiteSpace, encode, encode, encodeWithWhiteSpaceFormatting, getChar, getCodePoint, getCodePointFromCharacterReferenceString, getDecimalCharacterReferenceString, getDecimalCharacterReferenceString, getEncodingFilterWriter, getHexadecimalCharacterReferenceString, getHexadecimalCharacterReferenceString, getUnicodeText, getUnicodeText, isTerminated, parse, reencode, requiresEncoding
-
Methods inherited from class net.htmlparser.jericho.Segment
charAt, compareTo, encloses, encloses, equals, getAllCharacterReferences, getAllElements, getAllElements, getAllElements, getAllElements, getAllElements, getAllElementsByClass, getAllStartTags, getAllStartTags, getAllStartTags, getAllStartTags, getAllStartTags, getAllStartTagsByClass, getAllTags, getAllTags, getBegin, getChildElements, getEnd, getFirstElement, getFirstElement, getFirstElement, getFirstElement, getFirstElementByClass, getFirstStartTag, getFirstStartTag, getFirstStartTag, getFirstStartTag, getFirstStartTag, getFirstStartTagByClass, getFormControls, getFormFields, getMaxDepthIndicator, getNodeIterator, getRenderer, getRowColumnVector, getSource, getStyleURISegments, getTextExtractor, getURIAttributes, hashCode, ignoreWhenParsing, isWhiteSpace, isWhiteSpace, length, parseAttributes, subSequence, toString
-
-
-
-
Field Detail
-
_nbsp
public static final char _nbsp
=  
-- no-break space = non-breaking space, U+00A0 ISOnum.- See Also:
- Constant Field Values
-
_iexcl
public static final char _iexcl
¡¡ = ¡
-- inverted exclamation mark, U+00A1 ISOnum.- See Also:
- Constant Field Values
-
_cent
public static final char _cent
¢¢ = ¢
-- cent sign, U+00A2 ISOnum.- See Also:
- Constant Field Values
-
_pound
public static final char _pound
££ = £
-- pound sign, U+00A3 ISOnum.- See Also:
- Constant Field Values
-
_curren
public static final char _curren
¤¤ = ¤
-- currency sign, U+00A4 ISOnum.- See Also:
- Constant Field Values
-
_yen
public static final char _yen
¥¥ = ¥
-- yen sign = yuan sign, U+00A5 ISOnum.- See Also:
- Constant Field Values
-
_brvbar
public static final char _brvbar
¦¦ = ¦
-- broken bar = broken vertical bar, U+00A6 ISOnum.- See Also:
- Constant Field Values
-
_sect
public static final char _sect
§§ = §
-- section sign, U+00A7 ISOnum.- See Also:
- Constant Field Values
-
_uml
public static final char _uml
¨¨ = ¨
-- diaeresis = spacing diaeresis, U+00A8 ISOdia.- See Also:
- Constant Field Values
-
_copy
public static final char _copy
©© = ©
-- copyright sign, U+00A9 ISOnum.- See Also:
- Constant Field Values
-
_ordf
public static final char _ordf
ªª = ª
-- feminine ordinal indicator, U+00AA ISOnum.- See Also:
- Constant Field Values
-
_laquo
public static final char _laquo
«« = «
-- left-pointing double angle quotation mark = left pointing guillemet, U+00AB ISOnum.- See Also:
- Constant Field Values
-
_not
public static final char _not
¬¬ = ¬
-- not sign = angled dash, U+00AC ISOnum.- See Also:
- Constant Field Values
-
_shy
public static final char _shy
­ = ­
-- soft hyphen = discretionary hyphen, U+00AD ISOnum.- See Also:
- Constant Field Values
-
_reg
public static final char _reg
®® = ®
-- registered sign = registered trade mark sign, U+00AE ISOnum.- See Also:
- Constant Field Values
-
_macr
public static final char _macr
¯¯ = ¯
-- macron = spacing macron = overline = APL overbar, U+00AF ISOdia.- See Also:
- Constant Field Values
-
_deg
public static final char _deg
°° = °
-- degree sign, U+00B0 ISOnum.- See Also:
- Constant Field Values
-
_plusmn
public static final char _plusmn
±± = ±
-- plus-minus sign = plus-or-minus sign, U+00B1 ISOnum.- See Also:
- Constant Field Values
-
_sup2
public static final char _sup2
²² = ²
-- superscript two = superscript digit two = squared, U+00B2 ISOnum.- See Also:
- Constant Field Values
-
_sup3
public static final char _sup3
³³ = ³
-- superscript three = superscript digit three = cubed, U+00B3 ISOnum.- See Also:
- Constant Field Values
-
_acute
public static final char _acute
´´ = ´
-- acute accent = spacing acute, U+00B4 ISOdia.- See Also:
- Constant Field Values
-
_micro
public static final char _micro
µµ = µ
-- micro sign, U+00B5 ISOnum.- See Also:
- Constant Field Values
-
_para
public static final char _para
¶¶ = ¶
-- pilcrow sign = paragraph sign, U+00B6 ISOnum.- See Also:
- Constant Field Values
-
_middot
public static final char _middot
·· = ·
-- middle dot = Georgian comma = Greek middle dot, U+00B7 ISOnum.- See Also:
- Constant Field Values
-
_cedil
public static final char _cedil
¸¸ = ¸
-- cedilla = spacing cedilla, U+00B8 ISOdia.- See Also:
- Constant Field Values
-
_sup1
public static final char _sup1
¹¹ = ¹
-- superscript one = superscript digit one, U+00B9 ISOnum.- See Also:
- Constant Field Values
-
_ordm
public static final char _ordm
ºº = º
-- masculine ordinal indicator, U+00BA ISOnum.- See Also:
- Constant Field Values
-
_raquo
public static final char _raquo
»» = »
-- right-pointing double angle quotation mark = right pointing guillemet, U+00BB ISOnum.- See Also:
- Constant Field Values
-
_frac14
public static final char _frac14
¼¼ = ¼
-- vulgar fraction one quarter = fraction one quarter, U+00BC ISOnum.- See Also:
- Constant Field Values
-
_frac12
public static final char _frac12
½½ = ½
-- vulgar fraction one half = fraction one half, U+00BD ISOnum.- See Also:
- Constant Field Values
-
_frac34
public static final char _frac34
¾¾ = ¾
-- vulgar fraction three quarters = fraction three quarters, U+00BE ISOnum.- See Also:
- Constant Field Values
-
_iquest
public static final char _iquest
¿¿ = ¿
-- inverted question mark = turned question mark, U+00BF ISOnum.- See Also:
- Constant Field Values
-
_Agrave
public static final char _Agrave
ÀÀ = À
-- latin capital letter A with grave = latin capital letter A grave, U+00C0 ISOlat1.- See Also:
- Constant Field Values
-
_Aacute
public static final char _Aacute
ÁÁ = Á
-- latin capital letter A with acute, U+00C1 ISOlat1.- See Also:
- Constant Field Values
-
_Acirc
public static final char _Acirc
ÂÂ = Â
-- latin capital letter A with circumflex, U+00C2 ISOlat1.- See Also:
- Constant Field Values
-
_Atilde
public static final char _Atilde
ÃÃ = Ã
-- latin capital letter A with tilde, U+00C3 ISOlat1.- See Also:
- Constant Field Values
-
_Auml
public static final char _Auml
ÄÄ = Ä
-- latin capital letter A with diaeresis, U+00C4 ISOlat1.- See Also:
- Constant Field Values
-
_Aring
public static final char _Aring
ÅÅ = Å
-- latin capital letter A with ring above = latin capital letter A ring, U+00C5 ISOlat1.- See Also:
- Constant Field Values
-
_AElig
public static final char _AElig
ÆÆ = Æ
-- latin capital letter AE = latin capital ligature AE, U+00C6 ISOlat1.- See Also:
- Constant Field Values
-
_Ccedil
public static final char _Ccedil
ÇÇ = Ç
-- latin capital letter C with cedilla, U+00C7 ISOlat1.- See Also:
- Constant Field Values
-
_Egrave
public static final char _Egrave
ÈÈ = È
-- latin capital letter E with grave, U+00C8 ISOlat1.- See Also:
- Constant Field Values
-
_Eacute
public static final char _Eacute
ÉÉ = É
-- latin capital letter E with acute, U+00C9 ISOlat1.- See Also:
- Constant Field Values
-
_Ecirc
public static final char _Ecirc
ÊÊ = Ê
-- latin capital letter E with circumflex, U+00CA ISOlat1.- See Also:
- Constant Field Values
-
_Euml
public static final char _Euml
ËË = Ë
-- latin capital letter E with diaeresis, U+00CB ISOlat1.- See Also:
- Constant Field Values
-
_Igrave
public static final char _Igrave
ÌÌ = Ì
-- latin capital letter I with grave, U+00CC ISOlat1.- See Also:
- Constant Field Values
-
_Iacute
public static final char _Iacute
ÍÍ = Í
-- latin capital letter I with acute, U+00CD ISOlat1.- See Also:
- Constant Field Values
-
_Icirc
public static final char _Icirc
ÎÎ = Î
-- latin capital letter I with circumflex, U+00CE ISOlat1.- See Also:
- Constant Field Values
-
_Iuml
public static final char _Iuml
ÏÏ = Ï
-- latin capital letter I with diaeresis, U+00CF ISOlat1.- See Also:
- Constant Field Values
-
_ETH
public static final char _ETH
ÐÐ = Ð
-- latin capital letter ETH, U+00D0 ISOlat1.- See Also:
- Constant Field Values
-
_Ntilde
public static final char _Ntilde
ÑÑ = Ñ
-- latin capital letter N with tilde, U+00D1 ISOlat1.- See Also:
- Constant Field Values
-
_Ograve
public static final char _Ograve
ÒÒ = Ò
-- latin capital letter O with grave, U+00D2 ISOlat1.- See Also:
- Constant Field Values
-
_Oacute
public static final char _Oacute
ÓÓ = Ó
-- latin capital letter O with acute, U+00D3 ISOlat1.- See Also:
- Constant Field Values
-
_Ocirc
public static final char _Ocirc
ÔÔ = Ô
-- latin capital letter O with circumflex, U+00D4 ISOlat1.- See Also:
- Constant Field Values
-
_Otilde
public static final char _Otilde
ÕÕ = Õ
-- latin capital letter O with tilde, U+00D5 ISOlat1.- See Also:
- Constant Field Values
-
_Ouml
public static final char _Ouml
ÖÖ = Ö
-- latin capital letter O with diaeresis, U+00D6 ISOlat1.- See Also:
- Constant Field Values
-
_times
public static final char _times
×× = ×
-- multiplication sign, U+00D7 ISOnum.- See Also:
- Constant Field Values
-
_Oslash
public static final char _Oslash
ØØ = Ø
-- latin capital letter O with stroke = latin capital letter O slash, U+00D8 ISOlat1.- See Also:
- Constant Field Values
-
_Ugrave
public static final char _Ugrave
ÙÙ = Ù
-- latin capital letter U with grave, U+00D9 ISOlat1.- See Also:
- Constant Field Values
-
_Uacute
public static final char _Uacute
ÚÚ = Ú
-- latin capital letter U with acute, U+00DA ISOlat1.- See Also:
- Constant Field Values
-
_Ucirc
public static final char _Ucirc
ÛÛ = Û
-- latin capital letter U with circumflex, U+00DB ISOlat1.- See Also:
- Constant Field Values
-
_Uuml
public static final char _Uuml
ÜÜ = Ü
-- latin capital letter U with diaeresis, U+00DC ISOlat1.- See Also:
- Constant Field Values
-
_Yacute
public static final char _Yacute
ÝÝ = Ý
-- latin capital letter Y with acute, U+00DD ISOlat1.- See Also:
- Constant Field Values
-
_THORN
public static final char _THORN
ÞÞ = Þ
-- latin capital letter THORN, U+00DE ISOlat1.- See Also:
- Constant Field Values
-
_szlig
public static final char _szlig
ßß = ß
-- latin small letter sharp s = ess-zed, U+00DF ISOlat1.- See Also:
- Constant Field Values
-
_agrave
public static final char _agrave
àà = à
-- latin small letter a with grave = latin small letter a grave, U+00E0 ISOlat1.- See Also:
- Constant Field Values
-
_aacute
public static final char _aacute
áá = á
-- latin small letter a with acute, U+00E1 ISOlat1.- See Also:
- Constant Field Values
-
_acirc
public static final char _acirc
ââ = â
-- latin small letter a with circumflex, U+00E2 ISOlat1.- See Also:
- Constant Field Values
-
_atilde
public static final char _atilde
ãã = ã
-- latin small letter a with tilde, U+00E3 ISOlat1.- See Also:
- Constant Field Values
-
_auml
public static final char _auml
ää = ä
-- latin small letter a with diaeresis, U+00E4 ISOlat1.- See Also:
- Constant Field Values
-
_aring
public static final char _aring
åå = å
-- latin small letter a with ring above = latin small letter a ring, U+00E5 ISOlat1.- See Also:
- Constant Field Values
-
_aelig
public static final char _aelig
ææ = æ
-- latin small letter ae = latin small ligature ae, U+00E6 ISOlat1.- See Also:
- Constant Field Values
-
_ccedil
public static final char _ccedil
çç = ç
-- latin small letter c with cedilla, U+00E7 ISOlat1.- See Also:
- Constant Field Values
-
_egrave
public static final char _egrave
èè = è
-- latin small letter e with grave, U+00E8 ISOlat1.- See Also:
- Constant Field Values
-
_eacute
public static final char _eacute
éé = é
-- latin small letter e with acute, U+00E9 ISOlat1.- See Also:
- Constant Field Values
-
_ecirc
public static final char _ecirc
êê = ê
-- latin small letter e with circumflex, U+00EA ISOlat1.- See Also:
- Constant Field Values
-
_euml
public static final char _euml
ëë = ë
-- latin small letter e with diaeresis, U+00EB ISOlat1.- See Also:
- Constant Field Values
-
_igrave
public static final char _igrave
ìì = ì
-- latin small letter i with grave, U+00EC ISOlat1.- See Also:
- Constant Field Values
-
_iacute
public static final char _iacute
íí = í
-- latin small letter i with acute, U+00ED ISOlat1.- See Also:
- Constant Field Values
-
_icirc
public static final char _icirc
îî = î
-- latin small letter i with circumflex, U+00EE ISOlat1.- See Also:
- Constant Field Values
-
_iuml
public static final char _iuml
ïï = ï
-- latin small letter i with diaeresis, U+00EF ISOlat1.- See Also:
- Constant Field Values
-
_eth
public static final char _eth
ðð = ð
-- latin small letter eth, U+00F0 ISOlat1.- See Also:
- Constant Field Values
-
_ntilde
public static final char _ntilde
ññ = ñ
-- latin small letter n with tilde, U+00F1 ISOlat1.- See Also:
- Constant Field Values
-
_ograve
public static final char _ograve
òò = ò
-- latin small letter o with grave, U+00F2 ISOlat1.- See Also:
- Constant Field Values
-
_oacute
public static final char _oacute
óó = ó
-- latin small letter o with acute, U+00F3 ISOlat1.- See Also:
- Constant Field Values
-
_ocirc
public static final char _ocirc
ôô = ô
-- latin small letter o with circumflex, U+00F4 ISOlat1.- See Also:
- Constant Field Values
-
_otilde
public static final char _otilde
õõ = õ
-- latin small letter o with tilde, U+00F5 ISOlat1.- See Also:
- Constant Field Values
-
_ouml
public static final char _ouml
öö = ö
-- latin small letter o with diaeresis, U+00F6 ISOlat1.- See Also:
- Constant Field Values
-
_divide
public static final char _divide
÷÷ = ÷
-- division sign, U+00F7 ISOnum.- See Also:
- Constant Field Values
-
_oslash
public static final char _oslash
øø = ø
-- latin small letter o with stroke, = latin small letter o slash, U+00F8 ISOlat1.- See Also:
- Constant Field Values
-
_ugrave
public static final char _ugrave
ùù = ù
-- latin small letter u with grave, U+00F9 ISOlat1.- See Also:
- Constant Field Values
-
_uacute
public static final char _uacute
úú = ú
-- latin small letter u with acute, U+00FA ISOlat1.- See Also:
- Constant Field Values
-
_ucirc
public static final char _ucirc
ûû = û
-- latin small letter u with circumflex, U+00FB ISOlat1.- See Also:
- Constant Field Values
-
_uuml
public static final char _uuml
üü = ü
-- latin small letter u with diaeresis, U+00FC ISOlat1.- See Also:
- Constant Field Values
-
_yacute
public static final char _yacute
ýý = ý
-- latin small letter y with acute, U+00FD ISOlat1.- See Also:
- Constant Field Values
-
_thorn
public static final char _thorn
þþ = þ
-- latin small letter thorn, U+00FE ISOlat1.- See Also:
- Constant Field Values
-
_yuml
public static final char _yuml
ÿÿ = ÿ
-- latin small letter y with diaeresis, U+00FF ISOlat1.- See Also:
- Constant Field Values
-
_fnof
public static final char _fnof
ƒƒ = ƒ
-- latin small letter f with hook = function = florin, U+0192 ISOtech.- See Also:
- Constant Field Values
-
_Alpha
public static final char _Alpha
ΑΑ = Α
-- greek capital letter alpha, U+0391.- See Also:
- Constant Field Values
-
_Beta
public static final char _Beta
ΒΒ = Β
-- greek capital letter beta, U+0392.- See Also:
- Constant Field Values
-
_Gamma
public static final char _Gamma
ΓΓ = Γ
-- greek capital letter gamma, U+0393 ISOgrk3.- See Also:
- Constant Field Values
-
_Delta
public static final char _Delta
ΔΔ = Δ
-- greek capital letter delta, U+0394 ISOgrk3.- See Also:
- Constant Field Values
-
_Epsilon
public static final char _Epsilon
ΕΕ = Ε
-- greek capital letter epsilon, U+0395.- See Also:
- Constant Field Values
-
_Zeta
public static final char _Zeta
ΖΖ = Ζ
-- greek capital letter zeta, U+0396.- See Also:
- Constant Field Values
-
_Eta
public static final char _Eta
ΗΗ = Η
-- greek capital letter eta, U+0397.- See Also:
- Constant Field Values
-
_Theta
public static final char _Theta
ΘΘ = Θ
-- greek capital letter theta, U+0398 ISOgrk3.- See Also:
- Constant Field Values
-
_Iota
public static final char _Iota
ΙΙ = Ι
-- greek capital letter iota, U+0399.- See Also:
- Constant Field Values
-
_Kappa
public static final char _Kappa
ΚΚ = Κ
-- greek capital letter kappa, U+039A.- See Also:
- Constant Field Values
-
_Lambda
public static final char _Lambda
ΛΛ = Λ
-- greek capital letter lambda, U+039B ISOgrk3.- See Also:
- Constant Field Values
-
_Mu
public static final char _Mu
ΜΜ = Μ
-- greek capital letter mu, U+039C.- See Also:
- Constant Field Values
-
_Nu
public static final char _Nu
ΝΝ = Ν
-- greek capital letter nu, U+039D.- See Also:
- Constant Field Values
-
_Xi
public static final char _Xi
ΞΞ = Ξ
-- greek capital letter xi, U+039E ISOgrk3.- See Also:
- Constant Field Values
-
_Omicron
public static final char _Omicron
ΟΟ = Ο
-- greek capital letter omicron, U+039F.- See Also:
- Constant Field Values
-
_Pi
public static final char _Pi
ΠΠ = Π
-- greek capital letter pi, U+03A0 ISOgrk3.- See Also:
- Constant Field Values
-
_Rho
public static final char _Rho
ΡΡ = Ρ
-- greek capital letter rho, U+03A1.- See Also:
- Constant Field Values
-
_Sigma
public static final char _Sigma
ΣΣ = Σ
-- greek capital letter sigma, U+03A3 ISOgrk3.- See Also:
- Constant Field Values
-
_Tau
public static final char _Tau
ΤΤ = Τ
-- greek capital letter tau, U+03A4.- See Also:
- Constant Field Values
-
_Upsilon
public static final char _Upsilon
ΥΥ = Υ
-- greek capital letter upsilon, U+03A5 ISOgrk3.- See Also:
- Constant Field Values
-
_Phi
public static final char _Phi
ΦΦ = Φ
-- greek capital letter phi, U+03A6 ISOgrk3.- See Also:
- Constant Field Values
-
_Chi
public static final char _Chi
ΧΧ = Χ
-- greek capital letter chi, U+03A7.- See Also:
- Constant Field Values
-
_Psi
public static final char _Psi
ΨΨ = Ψ
-- greek capital letter psi, U+03A8 ISOgrk3.- See Also:
- Constant Field Values
-
_Omega
public static final char _Omega
ΩΩ = Ω
-- greek capital letter omega, U+03A9 ISOgrk3.- See Also:
- Constant Field Values
-
_alpha
public static final char _alpha
αα = α
-- greek small letter alpha, U+03B1 ISOgrk3.- See Also:
- Constant Field Values
-
_beta
public static final char _beta
ββ = β
-- greek small letter beta, U+03B2 ISOgrk3.- See Also:
- Constant Field Values
-
_gamma
public static final char _gamma
γγ = γ
-- greek small letter gamma, U+03B3 ISOgrk3.- See Also:
- Constant Field Values
-
_delta
public static final char _delta
δδ = δ
-- greek small letter delta, U+03B4 ISOgrk3.- See Also:
- Constant Field Values
-
_epsilon
public static final char _epsilon
εε = ε
-- greek small letter epsilon, U+03B5 ISOgrk3.- See Also:
- Constant Field Values
-
_zeta
public static final char _zeta
ζζ = ζ
-- greek small letter zeta, U+03B6 ISOgrk3.- See Also:
- Constant Field Values
-
_eta
public static final char _eta
ηη = η
-- greek small letter eta, U+03B7 ISOgrk3.- See Also:
- Constant Field Values
-
_theta
public static final char _theta
θθ = θ
-- greek small letter theta, U+03B8 ISOgrk3.- See Also:
- Constant Field Values
-
_iota
public static final char _iota
ιι = ι
-- greek small letter iota, U+03B9 ISOgrk3.- See Also:
- Constant Field Values
-
_kappa
public static final char _kappa
κκ = κ
-- greek small letter kappa, U+03BA ISOgrk3.- See Also:
- Constant Field Values
-
_lambda
public static final char _lambda
λλ = λ
-- greek small letter lambda, U+03BB ISOgrk3.- See Also:
- Constant Field Values
-
_mu
public static final char _mu
μμ = μ
-- greek small letter mu, U+03BC ISOgrk3.- See Also:
- Constant Field Values
-
_nu
public static final char _nu
νν = ν
-- greek small letter nu, U+03BD ISOgrk3.- See Also:
- Constant Field Values
-
_xi
public static final char _xi
ξξ = ξ
-- greek small letter xi, U+03BE ISOgrk3.- See Also:
- Constant Field Values
-
_omicron
public static final char _omicron
οο = ο
-- greek small letter omicron, U+03BF NEW.- See Also:
- Constant Field Values
-
_pi
public static final char _pi
ππ = π
-- greek small letter pi, U+03C0 ISOgrk3.- See Also:
- Constant Field Values
-
_rho
public static final char _rho
ρρ = ρ
-- greek small letter rho, U+03C1 ISOgrk3.- See Also:
- Constant Field Values
-
_sigmaf
public static final char _sigmaf
ςς = ς
-- greek small letter final sigma, U+03C2 ISOgrk3.- See Also:
- Constant Field Values
-
_sigma
public static final char _sigma
σσ = σ
-- greek small letter sigma, U+03C3 ISOgrk3.- See Also:
- Constant Field Values
-
_tau
public static final char _tau
ττ = τ
-- greek small letter tau, U+03C4 ISOgrk3.- See Also:
- Constant Field Values
-
_upsilon
public static final char _upsilon
υυ = υ
-- greek small letter upsilon, U+03C5 ISOgrk3.- See Also:
- Constant Field Values
-
_phi
public static final char _phi
φφ = φ
-- greek small letter phi, U+03C6 ISOgrk3.- See Also:
- Constant Field Values
-
_chi
public static final char _chi
χχ = χ
-- greek small letter chi, U+03C7 ISOgrk3.- See Also:
- Constant Field Values
-
_psi
public static final char _psi
ψψ = ψ
-- greek small letter psi, U+03C8 ISOgrk3.- See Also:
- Constant Field Values
-
_omega
public static final char _omega
ωω = ω
-- greek small letter omega, U+03C9 ISOgrk3.- See Also:
- Constant Field Values
-
_thetasym
public static final char _thetasym
ϑϑ = ϑ
-- greek small letter theta symbol, U+03D1 NEW.- See Also:
- Constant Field Values
-
_upsih
public static final char _upsih
ϒϒ = ϒ
-- greek upsilon with hook symbol, U+03D2 NEW.- See Also:
- Constant Field Values
-
_piv
public static final char _piv
ϖϖ = ϖ
-- greek pi symbol, U+03D6 ISOgrk3.- See Also:
- Constant Field Values
-
_bull
public static final char _bull
•• = •
-- bullet = black small circle, U+2022 ISOpub
(see comments).bullet is NOT the same as bullet operator, U+2219
- See Also:
- Constant Field Values
-
_hellip
public static final char _hellip
…… = …
-- horizontal ellipsis = three dot leader, U+2026 ISOpub.- See Also:
- Constant Field Values
-
_prime
public static final char _prime
′′ = ′
-- prime = minutes = feet, U+2032 ISOtech.- See Also:
- Constant Field Values
-
_Prime
public static final char _Prime
″″ = ″
-- double prime = seconds = inches, U+2033 ISOtech.- See Also:
- Constant Field Values
-
_oline
public static final char _oline
‾‾ = ‾
-- overline = spacing overscore, U+203E NEW.- See Also:
- Constant Field Values
-
_frasl
public static final char _frasl
⁄⁄ = ⁄
-- fraction slash, U+2044 NEW.- See Also:
- Constant Field Values
-
_weierp
public static final char _weierp
℘℘ = ℘
-- script capital P = power set = Weierstrass p, U+2118 ISOamso.- See Also:
- Constant Field Values
-
_image
public static final char _image
ℑℑ = ℑ
-- black-letter capital I = imaginary part, U+2111 ISOamso.- See Also:
- Constant Field Values
-
_real
public static final char _real
ℜℜ = ℜ
-- black-letter capital R = real part symbol, U+211C ISOamso.- See Also:
- Constant Field Values
-
_trade
public static final char _trade
™™ = ™
-- trade mark sign, U+2122 ISOnum.- See Also:
- Constant Field Values
-
_alefsym
public static final char _alefsym
ℵℵ = ℵ
-- alef symbol = first transfinite cardinal, U+2135 NEW
(see comments).alef symbol is NOT the same as hebrew letter alef, U+05D0 although the same glyph could be used to depict both characters
- See Also:
- Constant Field Values
-
_larr
public static final char _larr
←← = ←
-- leftwards arrow, U+2190 ISOnum.- See Also:
- Constant Field Values
-
_uarr
public static final char _uarr
↑↑ = ↑
-- upwards arrow, U+2191 ISOnum.- See Also:
- Constant Field Values
-
_rarr
public static final char _rarr
→→ = →
-- rightwards arrow, U+2192 ISOnum.- See Also:
- Constant Field Values
-
_darr
public static final char _darr
↓↓ = ↓
-- downwards arrow, U+2193 ISOnum.- See Also:
- Constant Field Values
-
_harr
public static final char _harr
↔↔ = ↔
-- left right arrow, U+2194 ISOamsa.- See Also:
- Constant Field Values
-
_crarr
public static final char _crarr
↵↵ = ↵
-- downwards arrow with corner leftwards = carriage return, U+21B5 NEW.- See Also:
- Constant Field Values
-
_lArr
public static final char _lArr
⇐⇐ = ⇐
-- leftwards double arrow, U+21D0 ISOtech
(see comments).ISO 10646 does not say that lArr is the same as the 'is implied by' arrow but also does not have any other character for that function. So ? lArr can be used for 'is implied by' as ISOtech suggests
- See Also:
- Constant Field Values
-
_uArr
public static final char _uArr
⇑⇑ = ⇑
-- upwards double arrow, U+21D1 ISOamsa.- See Also:
- Constant Field Values
-
_rArr
public static final char _rArr
⇒⇒ = ⇒
-- rightwards double arrow, U+21D2 ISOtech
(see comments).ISO 10646 does not say this is the 'implies' character but does not have another character with this function so ? rArr can be used for 'implies' as ISOtech suggests
- See Also:
- Constant Field Values
-
_dArr
public static final char _dArr
⇓⇓ = ⇓
-- downwards double arrow, U+21D3 ISOamsa.- See Also:
- Constant Field Values
-
_hArr
public static final char _hArr
⇔⇔ = ⇔
-- left right double arrow, U+21D4 ISOamsa.- See Also:
- Constant Field Values
-
_forall
public static final char _forall
∀∀ = ∀
-- for all, U+2200 ISOtech.- See Also:
- Constant Field Values
-
_part
public static final char _part
∂∂ = ∂
-- partial differential, U+2202 ISOtech.- See Also:
- Constant Field Values
-
_exist
public static final char _exist
∃∃ = ∃
-- there exists, U+2203 ISOtech.- See Also:
- Constant Field Values
-
_empty
public static final char _empty
∅∅ = ∅
-- empty set = null set = diameter, U+2205 ISOamso.- See Also:
- Constant Field Values
-
_nabla
public static final char _nabla
∇∇ = ∇
-- nabla = backward difference, U+2207 ISOtech.- See Also:
- Constant Field Values
-
_isin
public static final char _isin
∈∈ = ∈
-- element of, U+2208 ISOtech.- See Also:
- Constant Field Values
-
_notin
public static final char _notin
∉∉ = ∉
-- not an element of, U+2209 ISOtech.- See Also:
- Constant Field Values
-
_ni
public static final char _ni
∋∋ = ∋
-- contains as member, U+220B ISOtech
(see comments).should there be a more memorable name than 'ni'?
- See Also:
- Constant Field Values
-
_prod
public static final char _prod
∏∏ = ∏
-- n-ary product = product sign, U+220F ISOamsb
(see comments).prod is NOT the same character as U+03A0 'greek capital letter pi' though the same glyph might be used for both
- See Also:
- Constant Field Values
-
_sum
public static final char _sum
∑∑ = ∑
-- n-ary summation, U+2211 ISOamsb
(see comments).sum is NOT the same character as U+03A3 'greek capital letter sigma' though the same glyph might be used for both
- See Also:
- Constant Field Values
-
_minus
public static final char _minus
−− = −
-- minus sign, U+2212 ISOtech.- See Also:
- Constant Field Values
-
_lowast
public static final char _lowast
∗∗ = ∗
-- asterisk operator, U+2217 ISOtech.- See Also:
- Constant Field Values
-
_radic
public static final char _radic
√√ = √
-- square root = radical sign, U+221A ISOtech.- See Also:
- Constant Field Values
-
_prop
public static final char _prop
∝∝ = ∝
-- proportional to, U+221D ISOtech.- See Also:
- Constant Field Values
-
_infin
public static final char _infin
∞∞ = ∞
-- infinity, U+221E ISOtech.- See Also:
- Constant Field Values
-
_ang
public static final char _ang
∠∠ = ∠
-- angle, U+2220 ISOamso.- See Also:
- Constant Field Values
-
_and
public static final char _and
∧∧ = ∧
-- logical and = wedge, U+2227 ISOtech.- See Also:
- Constant Field Values
-
_or
public static final char _or
∨∨ = ∨
-- logical or = vee, U+2228 ISOtech.- See Also:
- Constant Field Values
-
_cap
public static final char _cap
∩∩ = ∩
-- intersection = cap, U+2229 ISOtech.- See Also:
- Constant Field Values
-
_cup
public static final char _cup
∪∪ = ∪
-- union = cup, U+222A ISOtech.- See Also:
- Constant Field Values
-
_int
public static final char _int
∫∫ = ∫
-- integral, U+222B ISOtech.- See Also:
- Constant Field Values
-
_there4
public static final char _there4
∴∴ = ∴
-- therefore, U+2234 ISOtech.- See Also:
- Constant Field Values
-
_sim
public static final char _sim
∼∼ = ∼
-- tilde operator = varies with = similar to, U+223C ISOtech
(see comments).tilde operator is NOT the same character as the tilde, U+007E, although the same glyph might be used to represent both
- See Also:
- Constant Field Values
-
_cong
public static final char _cong
≅≅ = ≅
-- approximately equal to, U+2245 ISOtech.- See Also:
- Constant Field Values
-
_asymp
public static final char _asymp
≈≈ = ≈
-- almost equal to = asymptotic to, U+2248 ISOamsr.- See Also:
- Constant Field Values
-
_ne
public static final char _ne
≠≠ = ≠
-- not equal to, U+2260 ISOtech.- See Also:
- Constant Field Values
-
_equiv
public static final char _equiv
≡≡ = ≡
-- identical to, U+2261 ISOtech.- See Also:
- Constant Field Values
-
_le
public static final char _le
≤≤ = ≤
-- less-than or equal to, U+2264 ISOtech.- See Also:
- Constant Field Values
-
_ge
public static final char _ge
≥≥ = ≥
-- greater-than or equal to, U+2265 ISOtech.- See Also:
- Constant Field Values
-
_sub
public static final char _sub
⊂⊂ = ⊂
-- subset of, U+2282 ISOtech.- See Also:
- Constant Field Values
-
_sup
public static final char _sup
⊃⊃ = ⊃
-- superset of, U+2283 ISOtech
(see comments).note that nsup, 'not a superset of, U+2283' is not covered by the Symbol font encoding and is not included. Should it be, for symmetry? It is in ISOamsn
- See Also:
- Constant Field Values
-
_nsub
public static final char _nsub
⊄⊄ = ⊄
-- not a subset of, U+2284 ISOamsn.- See Also:
- Constant Field Values
-
_sube
public static final char _sube
⊆⊆ = ⊆
-- subset of or equal to, U+2286 ISOtech.- See Also:
- Constant Field Values
-
_supe
public static final char _supe
⊇⊇ = ⊇
-- superset of or equal to, U+2287 ISOtech.- See Also:
- Constant Field Values
-
_oplus
public static final char _oplus
⊕⊕ = ⊕
-- circled plus = direct sum, U+2295 ISOamsb.- See Also:
- Constant Field Values
-
_otimes
public static final char _otimes
⊗⊗ = ⊗
-- circled times = vector product, U+2297 ISOamsb.- See Also:
- Constant Field Values
-
_perp
public static final char _perp
⊥⊥ = ⊥
-- up tack = orthogonal to = perpendicular, U+22A5 ISOtech.- See Also:
- Constant Field Values
-
_sdot
public static final char _sdot
⋅⋅ = ⋅
-- dot operator, U+22C5 ISOamsb
(see comments).dot operator is NOT the same character as U+00B7 middle dot
- See Also:
- Constant Field Values
-
_lceil
public static final char _lceil
⌈⌈ = ⌈
-- left ceiling = APL upstile, U+2308 ISOamsc.- See Also:
- Constant Field Values
-
_rceil
public static final char _rceil
⌉⌉ = ⌉
-- right ceiling, U+2309 ISOamsc.- See Also:
- Constant Field Values
-
_lfloor
public static final char _lfloor
⌊⌊ = ⌊
-- left floor = APL downstile, U+230A ISOamsc.- See Also:
- Constant Field Values
-
_rfloor
public static final char _rfloor
⌋⌋ = ⌋
-- right floor, U+230B ISOamsc.- See Also:
- Constant Field Values
-
_lang
public static final char _lang
〈⟨ = 〈
-- left-pointing angle bracket = bra, U+2329 ISOtech
(see comments).lang is NOT the same character as U+003C 'less than' or U+2039 'single left-pointing angle quotation mark'
- See Also:
- Constant Field Values
-
_rang
public static final char _rang
〉⟩ = 〉
-- right-pointing angle bracket = ket, U+232A ISOtech
(see comments).rang is NOT the same character as U+003E 'greater than' or U+203A 'single right-pointing angle quotation mark'
- See Also:
- Constant Field Values
-
_loz
public static final char _loz
◊◊ = ◊
-- lozenge, U+25CA ISOpub.- See Also:
- Constant Field Values
-
_spades
public static final char _spades
♠♠ = ♠
-- black spade suit, U+2660 ISOpub
(see comments).black here seems to mean filled as opposed to hollow
- See Also:
- Constant Field Values
-
_clubs
public static final char _clubs
♣♣ = ♣
-- black club suit = shamrock, U+2663 ISOpub.- See Also:
- Constant Field Values
-
_hearts
public static final char _hearts
♥♥ = ♥
-- black heart suit = valentine, U+2665 ISOpub.- See Also:
- Constant Field Values
-
_diams
public static final char _diams
♦♦ = ♦
-- black diamond suit, U+2666 ISOpub.- See Also:
- Constant Field Values
-
_quot
public static final char _quot
"" = "
-- quotation mark = APL quote, U+0022 ISOnum.- See Also:
- Constant Field Values
-
_amp
public static final char _amp
&& = &
-- ampersand, U+0026 ISOnum.- See Also:
- Constant Field Values
-
_lt
public static final char _lt
<< = <
-- less-than sign, U+003C ISOnum.- See Also:
- Constant Field Values
-
_gt
public static final char _gt
>> = >
-- greater-than sign, U+003E ISOnum.- See Also:
- Constant Field Values
-
_OElig
public static final char _OElig
ŒŒ = Œ
-- latin capital ligature OE, U+0152 ISOlat2.- See Also:
- Constant Field Values
-
_oelig
public static final char _oelig
œœ = œ
-- latin small ligature oe, U+0153 ISOlat2
(see comments).ligature is a misnomer, this is a separate character in some languages
- See Also:
- Constant Field Values
-
_Scaron
public static final char _Scaron
ŠŠ = Š
-- latin capital letter S with caron, U+0160 ISOlat2.- See Also:
- Constant Field Values
-
_scaron
public static final char _scaron
šš = š
-- latin small letter s with caron, U+0161 ISOlat2.- See Also:
- Constant Field Values
-
_Yuml
public static final char _Yuml
ŸŸ = Ÿ
-- latin capital letter Y with diaeresis, U+0178 ISOlat2.- See Also:
- Constant Field Values
-
_circ
public static final char _circ
ˆˆ = ˆ
-- modifier letter circumflex accent, U+02C6 ISOpub.- See Also:
- Constant Field Values
-
_tilde
public static final char _tilde
˜˜ = ˜
-- small tilde, U+02DC ISOdia.- See Also:
- Constant Field Values
-
_ensp
public static final char _ensp
  =  
-- en space, U+2002 ISOpub.- See Also:
- Constant Field Values
-
_emsp
public static final char _emsp
  =  
-- em space, U+2003 ISOpub.- See Also:
- Constant Field Values
-
_thinsp
public static final char _thinsp
  =  
-- thin space, U+2009 ISOpub.- See Also:
- Constant Field Values
-
_zwnj
public static final char _zwnj
‌ = ‌
-- zero width non-joiner, U+200C NEW RFC 2070.- See Also:
- Constant Field Values
-
_zwj
public static final char _zwj
‍ = ‍
-- zero width joiner, U+200D NEW RFC 2070.- See Also:
- Constant Field Values
-
_lrm
public static final char _lrm
‎ = ‎
-- left-to-right mark, U+200E NEW RFC 2070.- See Also:
- Constant Field Values
-
_rlm
public static final char _rlm
‏ = ‏
-- right-to-left mark, U+200F NEW RFC 2070.- See Also:
- Constant Field Values
-
_ndash
public static final char _ndash
–– = –
-- en dash, U+2013 ISOpub.- See Also:
- Constant Field Values
-
_mdash
public static final char _mdash
—— = —
-- em dash, U+2014 ISOpub.- See Also:
- Constant Field Values
-
_lsquo
public static final char _lsquo
‘‘ = ‘
-- left single quotation mark, U+2018 ISOnum.- See Also:
- Constant Field Values
-
_rsquo
public static final char _rsquo
’’ = ’
-- right single quotation mark, U+2019 ISOnum.- See Also:
- Constant Field Values
-
_sbquo
public static final char _sbquo
‚‚ = ‚
-- single low-9 quotation mark, U+201A NEW.- See Also:
- Constant Field Values
-
_ldquo
public static final char _ldquo
““ = “
-- left double quotation mark, U+201C ISOnum.- See Also:
- Constant Field Values
-
_rdquo
public static final char _rdquo
”” = ”
-- right double quotation mark, U+201D ISOnum.- See Also:
- Constant Field Values
-
_bdquo
public static final char _bdquo
„„ = „
-- double low-9 quotation mark, U+201E NEW.- See Also:
- Constant Field Values
-
_dagger
public static final char _dagger
†† = †
-- dagger, U+2020 ISOpub.- See Also:
- Constant Field Values
-
_Dagger
public static final char _Dagger
‡‡ = ‡
-- double dagger, U+2021 ISOpub.- See Also:
- Constant Field Values
-
_permil
public static final char _permil
‰‰ = ‰
-- per mille sign, U+2030 ISOtech.- See Also:
- Constant Field Values
-
_lsaquo
public static final char _lsaquo
‹‹ = ‹
-- single left-pointing angle quotation mark, U+2039 ISO proposed
(see comments).lsaquo is proposed but not yet ISO standardized
- See Also:
- Constant Field Values
-
_rsaquo
public static final char _rsaquo
›› = ›
-- single right-pointing angle quotation mark, U+203A ISO proposed
(see comments).rsaquo is proposed but not yet ISO standardized
- See Also:
- Constant Field Values
-
_euro
public static final char _euro
€€ = €
-- euro sign, U+20AC NEW.- See Also:
- Constant Field Values
-
_apos
public static final char _apos
'' = '
-- apostrophe = APL quote, U+0027 ISOnum
(see comments).apos is only defined for use in XHTML (see the XHTML Special Characters Entity Set), but not in HTML.
- See Also:
Config.IsApostropheEncoded
, Constant Field Values
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the name of this character entity reference.- Example:
((CharacterEntityReference)CharacterReference.parse(">")).getName()
returns "gt
"
- Returns:
- the name of this character entity reference.
- See Also:
getName(int codePoint)
-
getName
public static java.lang.String getName(char ch)
Returns the character entity reference name of the specified character.Since all character entity references represent unicode BMP code points, the functionality of this method is identical to that of
getName(int codePoint)
.- Example:
CharacterEntityReference.getName('>')
returns "gt
"
- Returns:
- the character entity reference name of the specified character, or
null
if none exists.
-
getName
public static java.lang.String getName(int codePoint)
Returns the character entity reference name of the specified unicode code point.Since all character entity references represent unicode BMP code points, the functionality of this method is identical to that of
getName(char ch)
.- Example:
CharacterEntityReference.getName(62)
returns "gt
"
- Returns:
- the character entity reference name of the specified unicode code point, or
null
if none exists.
-
getCodePointFromName
public static int getCodePointFromName(java.lang.String name)
Returns the unicode code point of the specified character entity reference name.If the string does not represent a valid character entity reference name, this method returns
INVALID_CODE_POINT
.Although character entity reference names are case sensitive, and in some cases differ from other entity references only by their case, some browsers also recognise them in a case-insensitive way. For this reason, all decoding methods in this library recognise character entity reference names even if they are in the wrong case.
- Example:
CharacterEntityReference.getCodePointFromName("gt")
returns62
- Returns:
- the unicode code point of the specified character entity reference name, or
INVALID_CODE_POINT
if the string does not represent a valid character entity reference name.
-
getCharacterReferenceString
public java.lang.String getCharacterReferenceString()
Returns the correct encoded form of this character entity reference.Note that the returned string is not necessarily the same as the original source text used to create this object. This library recognises certain invalid forms of character references, as detailed in the
decode(String encodedString)
method.To retrieve the original source text, use the
toString()
method instead.- Example:
CharacterReference.parse(">").getCharacterReferenceString()
returns ">
"
- Specified by:
getCharacterReferenceString
in classCharacterReference
- Returns:
- the correct encoded form of this character entity reference.
- See Also:
CharacterReference.getCharacterReferenceString(int codePoint)
-
getCharacterReferenceString
public static java.lang.String getCharacterReferenceString(int codePoint)
Returns the character entity reference encoded form of the specified unicode code point.If the specified unicode code point does not have an equivalent character entity reference, this method returns
null
. To get either the entity or numeric reference encoded form, use theCharacterReference.getCharacterReferenceString(int codePoint)
method instead.- Examples:
CharacterEntityReference.getCharacterReferenceString(62)
returns ">
"CharacterEntityReference.getCharacterReferenceString(9786)
returnsnull
- Returns:
- the character entity reference encoded form of the specified unicode code point, or
null
if none exists. - See Also:
CharacterReference.getCharacterReferenceString(int codePoint)
-
getNameToCodePointMap
public static java.util.Map<java.lang.String,java.lang.Integer> getNameToCodePointMap()
Returns a map of character entity reference names (String
) to unicode code points (Integer
).- Returns:
- a map of character entity reference names to unicode code points.
-
getDebugInfo
public java.lang.String getDebugInfo()
Returns a string representation of this object useful for debugging purposes.- Overrides:
getDebugInfo
in classSegment
- Returns:
- a string representation of this object useful for debugging purposes.
-
-