Exemplo n.º 1
0
 static {
   HTML32 = new Entities();
   HTML32.addEntities(BASIC_ARRAY);
   HTML32.addEntities(ISO8859_1_ARRAY);
 }
Exemplo n.º 2
0
 /**
  * Fills the specified entities instance with HTML 40 entities.
  *
  * @param entities the instance to be filled.
  */
 static void fillWithHtml40Entities(Entities entities) {
   entities.addEntities(BASIC_ARRAY);
   entities.addEntities(ISO8859_1_ARRAY);
   entities.addEntities(HTML40_ARRAY);
 }
Exemplo n.º 3
0
 static {
   XML = new Entities();
   XML.addEntities(BASIC_ARRAY);
   XML.addEntities(APOS_ARRAY);
 }