FileDocCategorySizeDatePackage
ExprSupport.javaAPI DocGlassfish v2 API3917Sat May 05 19:17:54 BST 2007org.apache.taglibs.standard.tag.common.xml

ExprSupport

public abstract class ExprSupport extends javax.servlet.jsp.tagext.TagSupport

Tag handler for <expr> in JSTL's XML library.

author
Shawn Bayern

Fields Summary
private String
select
protected boolean
escapeXml
Constructors Summary
public ExprSupport()
Constructs a new handler. As with TagSupport, subclasses should not provide other constructors and are expected to call the superclass constructor.

        super();
        init();
    
Methods Summary
public intdoStartTag()

        try {
	    XPathUtil xu = new XPathUtil(pageContext);
	    String result = xu.valueOf(XPathUtil.getContext(this), select);
	    org.apache.taglibs.standard.tag.common.core.OutSupport.out(
              pageContext, escapeXml, result);
	    return SKIP_BODY;
        } catch (java.io.IOException ex) {
	    throw new JspTagException(ex.toString(), ex);
        }
    
private voidinit()

	select = null;
        escapeXml = true;
    
public voidrelease()

        super.release();
        init();
    
public voidsetSelect(java.lang.String select)

	this.select = select;