/** * Have the object release it's resources. * Call only when the variable or argument is going out of scope. */ public void detach() { if(null != m_val) { m_val.allowDetachToRelease(true); m_val.detach(); } }
/** * @see DTMIterator#detach() */ public void detach() { if(null != m_iter) m_iter.detach(); super.detach(); }
/** * Have the object release it's resources. * Call only when the variable or argument is going out of scope. */ public void detach() { if(null != m_val) { m_val.allowDetachToRelease(true); m_val.detach(); } }
/** * @see DTMIterator#detach() */ public void detach() { if(null != m_iter) m_iter.detach(); super.detach(); }
/** * Execute a binary operation by calling execute on each of the operands, * and then calling the operate method on the derived class. * * * @param xctxt The runtime execution context. * * @return The XObject result of the operation. * * @throws javax.xml.transform.TransformerException */ public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException { XObject left = m_left.execute(xctxt, true); XObject right = m_right.execute(xctxt, true); XObject result = operate(left, right); left.detach(); right.detach(); return result; }
/** * Execute a binary operation by calling execute on each of the operands, * and then calling the operate method on the derived class. * * * @param xctxt The runtime execution context. * * @return The XObject result of the operation. * * @throws javax.xml.transform.TransformerException */ public boolean bool(XPathContext xctxt) throws javax.xml.transform.TransformerException { XObject left = m_left.execute(xctxt, true); XObject right = m_right.execute(xctxt, true); boolean result = left.equals(right) ? true : false; left.detach(); right.detach(); return result; }
/** * Forces the object to release it's resources. This is more harsh than * detach(). */ public void destruct() { if (null != m_obj) { allowDetachToRelease(true); detach(); setObject(null); } }
/** * Execute a binary operation by calling execute on each of the operands, * and then calling the operate method on the derived class. * * * @param xctxt The runtime execution context. * * @return The XObject result of the operation. * * @throws javax.xml.transform.TransformerException */ public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException { XObject left = m_left.execute(xctxt, true); XObject right = m_right.execute(xctxt, true); XObject result = operate(left, right); left.detach(); right.detach(); return result; }
/** * Execute a binary operation by calling execute on each of the operands, * and then calling the operate method on the derived class. * * * @param xctxt The runtime execution context. * * @return The XObject result of the operation. * * @throws javax.xml.transform.TransformerException */ public boolean bool(XPathContext xctxt) throws javax.xml.transform.TransformerException { XObject left = m_left.execute(xctxt, true); XObject right = m_right.execute(xctxt, true); boolean result = left.equals(right) ? true : false; left.detach(); right.detach(); return result; }
/** * Forces the object to release it's resources. This is more harsh than * detach(). */ public void destruct() { if (null != m_obj) { allowDetachToRelease(true); detach(); setObject(null); } }
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * NEEDSDOC @param handler * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. * @throws org.xml.sax.SAXException */ public void executeCharsToContentHandler( XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); obj.detach(); }
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * NEEDSDOC @param handler * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. * @throws org.xml.sax.SAXException */ public void executeCharsToContentHandler( XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); obj.detach(); }
pred.detach();
pred.detach();
pred.detach();
pred.detach();
pred.detach();
pred.detach();
/** * Have the object release it's resources. * Call only when the variable or argument is going out of scope. */ public void detach() { if(null != m_val) { m_val.allowDetachToRelease(true); m_val.detach(); } }
/** * Have the object release it's resources. * Call only when the variable or argument is going out of scope. */ public void detach() { if(null != m_val) { m_val.allowDetachToRelease(true); m_val.detach(); } }