Return-Path: Delivered-To: apmail-xml-xalan-cvs-archive@xml.apache.org Received: (qmail 77105 invoked by uid 500); 6 Nov 2001 17:49:39 -0000 Mailing-List: contact xalan-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: Delivered-To: mailing list xalan-cvs@xml.apache.org Received: (qmail 77082 invoked from network); 6 Nov 2001 17:49:38 -0000 Date: 6 Nov 2001 17:38:21 -0000 Message-ID: <20011106173821.7530.qmail@icarus.apache.org> From: jkesselm@apache.org To: xml-xalan-cvs@apache.org Subject: cvs commit: xml-xalan/java/src/org/apache/xpath/operations Operation.java UnaryOperation.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N jkesselm 01/11/06 09:38:21 Modified: java/src/org/apache/xpath/operations Operation.java UnaryOperation.java Log: Bugzilla 4679: Accessors for left and right operands Revision Changes Path 1.8 +13 -0 xml-xalan/java/src/org/apache/xpath/operations/Operation.java Index: Operation.java =================================================================== RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/operations/Operation.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- Operation.java 2001/06/12 19:16:56 1.7 +++ Operation.java 2001/11/06 17:38:21 1.8 @@ -162,4 +162,17 @@ { return null; // no-op } + + /** @return the left operand of binary operation, as an Expression. + */ + public Expression getLeftOperand(){ + return m_left; + } + + /** @return the right operand of binary operation, as an Expression. + */ + public Expression getRightOperand(){ + return m_right; + } + } 1.8 +7 -0 xml-xalan/java/src/org/apache/xpath/operations/UnaryOperation.java Index: UnaryOperation.java =================================================================== RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/operations/UnaryOperation.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- UnaryOperation.java 2001/06/12 19:16:57 1.7 +++ UnaryOperation.java 2001/11/06 17:38:21 1.8 @@ -144,4 +144,11 @@ */ public abstract XObject operate(XObject right) throws javax.xml.transform.TransformerException; + + /** @return the operand of unary operation, as an Expression. + */ + public Expression getOperand(){ + return m_right; + } + } --------------------------------------------------------------------- To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org For additional commands, e-mail: xalan-cvs-help@xml.apache.org