FileDocCategorySizeDatePackage
XmlTransformTEI.javaAPI DocGlassfish v2 API2727Sat May 05 19:18:02 BST 2007org.apache.taglibs.standard.tei

XmlTransformTEI

public class XmlTransformTEI extends javax.servlet.jsp.tagext.TagExtraInfo

An implementation of TagExtraInfo that implements validation for <x:transform>'s attributes

author
Shawn Bayern

Fields Summary
private static final String
XSLT
private static final String
RESULT
private static final String
VAR
Constructors Summary
Methods Summary
public booleanisValid(javax.servlet.jsp.tagext.TagData us)


        
	// require XSLT
	if (!Util.isSpecified(us, XSLT))
	    return false;

	// disallow both VAR and RESULT
	if (Util.isSpecified(us, VAR) && Util.isSpecified(us, RESULT))
	    return false;
        return true;