Package jodd.lagarto

Class HtmlDecoder


  • class HtmlDecoder
    extends java.lang.Object
    Internal HTML Decoder from Jodd, that accepts CharSequence.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private static class  HtmlDecoder.Ptr  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.Map<java.lang.String,​char[]> ENTITY_MAP  
      private static char[][] ENTITY_NAMES  
    • Constructor Summary

      Constructors 
      Constructor Description
      HtmlDecoder()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String detectName​(java.lang.CharSequence input, int ndx)
      Detects the longest character reference name on given position in char array.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ENTITY_MAP

        private static final java.util.Map<java.lang.String,​char[]> ENTITY_MAP
      • ENTITY_NAMES

        private static final char[][] ENTITY_NAMES
    • Constructor Detail

      • HtmlDecoder

        HtmlDecoder()
    • Method Detail

      • detectName

        public static java.lang.String detectName​(java.lang.CharSequence input,
                                                  int ndx)
        Detects the longest character reference name on given position in char array. Returns null if name not found.