Package org.jostraca.transform

Examples of org.jostraca.transform.HTMLEscapeTransform.transform()


  /* Public Methods << */

  public void testTransform() {
    HTMLEscapeTransform t = new HTMLEscapeTransform();

    assertTrue( "a&amp;b".equals( t.transform("a&b") ) );
    assertTrue( "A&amp;B&lt;C&gt;D&quot;E&apos;F".equals( t.transform("A&B<C>D\"E'F") ) );
  }

  /* Public Methods >> */

 
View Full Code Here


  public void testTransform() {
    HTMLEscapeTransform t = new HTMLEscapeTransform();

    assertTrue( "a&amp;b".equals( t.transform("a&b") ) );
    assertTrue( "A&amp;B&lt;C&gt;D&quot;E&apos;F".equals( t.transform("A&B<C>D\"E'F") ) );
  }

  /* Public Methods >> */

}
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.