|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagLibraryValidator org.apache.shale.clay.taglib.ClayTagValidator
public class ClayTagValidator
Validates the JSP page for the clay namespace,
"http://shale.apache.org/shale/clay-plugin". This tag
validator checks to make sure that there are not any nested
tags under the ClayTag
with the exception of the
SymbolTag
.
Constructor Summary | |
---|---|
ClayTagValidator()
|
Method Summary | |
---|---|
protected StringBuffer |
loadTemplate(PageData page)
Loads the page content into a StringBuffer . |
ValidationMessage[] |
validate(String prefix,
String uri,
PageData page)
Validates the page for a directive with a uri of "http://shale.apache.org/shale/clay-plugin". |
Methods inherited from class javax.servlet.jsp.tagext.TagLibraryValidator |
---|
getInitParameters, release, setInitParameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClayTagValidator()
Method Detail |
---|
protected StringBuffer loadTemplate(PageData page) throws IOException
Loads the page
content into a StringBuffer
.
page
- tag page data
IOException
- error reading page datapublic ValidationMessage[] validate(String prefix, String uri, PageData page)
Validates the page for a directive with a uri of "http://shale.apache.org/shale/clay-plugin".
validate
in class TagLibraryValidator
prefix
- namespaceuri
- namespacepage
- normalized jsp page into XML
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |