HDIV API 2.0.4

org.hdiv.taglib.html.util
Class LinkUtils

java.lang.Object
  extended by org.hdiv.taglib.html.util.LinkUtils

public class LinkUtils
extends java.lang.Object

Link's utility class.


Constructor Summary
LinkUtils()
           
 
Method Summary
static void compareLinks(java.lang.String expected, java.lang.String compareTo)
          As the result obtained compareTo contains _HDIV_STATE parameter added by HDIV, we can't do the verification as it is.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkUtils

public LinkUtils()
Method Detail

compareLinks

public static void compareLinks(java.lang.String expected,
                                java.lang.String compareTo)
As the result obtained compareTo contains _HDIV_STATE parameter added by HDIV, we can't do the verification as it is. We must check if the html code obtained compareTo until this parameter is what we expect, and also that the html code generated after _HDIV_STATE parameter is also what we expect.

Parameters:
expected - Expected HTML
compareTo - HTML generated by HDIV

HDIV 2.0.4

Copyright © 2008 hdiv.org. All Rights Reserved.