Package org.pentaho.reporting.engine.classic.core.modules.output.table.html.util

Examples of org.pentaho.reporting.engine.classic.core.modules.output.table.html.util.HtmlCharacterEntities


  public void testEncode () throws Exception
  {
    final String testNative = "Test is a \u00e4\u00f6\u00fc<&> && test";
    final String testEncoded = "Test is a &auml;&ouml;&uuml;&lt;&amp;&gt; &amp;&amp; test";
    final CharacterEntityParser ep = new CharacterEntityParser (new HtmlCharacterEntities());
    //Log.debug (ep.decodeEntities(testEncoded));
    assertEquals(testNative, ep.decodeEntities(testEncoded));
    assertEquals(testEncoded, ep.encodeEntities(testNative));
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.modules.output.table.html.util.HtmlCharacterEntities

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.