protected void prepare() throws JspTagException { nodesIndex = 0; XPathUtil xu = new XPathUtil(pageContext); nodes = xu.selectNodes(XPathUtil.getContext(this), select); }
/** * Validate that the Object returned is not null. If it is * null, throw an exception. */ private Object notNull(Object o, String namespace, String localName) throws UnresolvableException { if (o == null) { throw new UnresolvableException("$" + (namespace==null?"":namespace+":") + localName); } // p("resolved to: " + o); return o; }
public void setBegin(int begin) throws JspTagException { this.beginSpecified = true; this.begin = begin; validateBegin(); }
public void setEnd(int end) throws JspTagException { this.endSpecified = true; this.end = end; validateEnd(); }
@Override public void release() { super.release(); nameExpression = null; valueExpression = null; }
@Override public void release() { init(); } }
public void setStep(int step) throws JspTagException { this.stepSpecified = true; this.step = step; validateStep(); }
/** * Constructs a new handler. As with TagSupport, subclasses should * not provide other constructors and are expected to call the * superclass constructor. */ public SetTag() { super(); init(); }
public javax.xml.xpath.XPath newXPath() { return new org.apache.taglibs.standard.tag.common.xml.JSTLXPathImpl(null, null); } }
protected void prepare() throws JspTagException { nodesIndex = 0; XPathUtil xu = new XPathUtil(pageContext); nodes = xu.selectNodes(XPathUtil.getContext(this), select); }
public void setBegin(int begin) throws JspTagException { this.beginSpecified = true; this.begin = begin; validateBegin(); }
public void setEnd(int end) throws JspTagException { this.endSpecified = true; this.end = end; validateEnd(); }
@Override public void release() { init(); } }
/** * Constructs a new handler. As with TagSupport, subclasses should * not provide other constructors and are expected to call the * superclass constructor. */ public SetTag() { super(); init(); }
/** * Validate that the Object returned is not null. If it is * null, throw an exception. */ private Object notNull(Object o, String namespace, String localName) throws UnresolvableException { if (o == null) { throw new UnresolvableException("$" + (namespace==null?"":namespace+":") + localName); } // p("resolved to: " + o); return o; }
public void setBegin(int begin) throws JspTagException { this.beginSpecified = true; this.begin = begin; validateBegin(); }
public void setEnd(int end) throws JspTagException { this.endSpecified = true; this.end = end; validateEnd(); }
/** * Constructs a new handler. As with TagSupport, subclasses should * not provide other constructors and are expected to call the * superclass constructor. */ public SetTag() { super(); init(); }
public void setBegin(int begin) throws JspTagException { this.beginSpecified = true; this.begin = begin; validateBegin(); }
public void setEnd(int end) throws JspTagException { this.endSpecified = true; this.end = end; validateEnd(); }