Home » displaytag-1.1.1-src » org » displaytag » tld » [javadoc | source]
public class: TldTest [javadoc | source]
Reads tlds and check tag classes for declared attributes. This simple reports missing/invalid setters in tag classes. Basic tests only, other tests are performed by the maven-taglib plugin.
Nested Class Summary:
public static class  TldTest.ClasspathEntityResolver  Simple Entity resolver which looks in the classpath for dtds. 
public static class  TldTest.TagAttribute  Javabean representing a tag attribute. 
Method from org.displaytag.tld.TldTest Summary:
checkTld,   getName,   testELTld,   testStandardTld
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.displaytag.tld.TldTest Detail:
 public  void checkTld(String checkedTld) throws Exception 
    Check the given tld. Assure then:
    • Any tag class is loadable
    • the tag class has a setter for any of the declared attribute
    • the type declared in the dtd for an attribute (if any) matches the type accepted by the getter
 public String getName() 
 public  void testELTld() throws Exception 
    Check displaytag EL dtd.
 public  void testStandardTld() throws Exception 
    Check displaytag 1.2 dtd.