/** * Append XML comparison. * * @param buf * the SQL buffer to write the comparison * @param op * the comparison operation to perform * @param lhs * the left hand side of the comparison * @param rhs * the right hand side of the comparison * @param lhsxml * indicates whether the left operand maps to XML * @param rhsxml * indicates whether the right operand maps to XML */ public void appendXmlComparison(SQLBuffer buf, String op, FilterValue lhs, FilterValue rhs, boolean lhsxml, boolean rhsxml) { super.appendXmlComparison(buf, op, lhs, rhs, lhsxml, rhsxml); if (lhsxml) appendXmlValue(buf, lhs); else lhs.appendTo(buf); buf.append(" ").append(op).append(" "); if (rhsxml) appendXmlValue(buf, rhs); else rhs.appendTo(buf); }
/** * Append XML comparison. * * @param buf * the SQL buffer to write the comparison * @param op * the comparison operation to perform * @param lhs * the left hand side of the comparison * @param rhs * the right hand side of the comparison * @param lhsxml * indicates whether the left operand maps to XML * @param rhsxml * indicates whether the right operand maps to XML */ public void appendXmlComparison(SQLBuffer buf, String op, FilterValue lhs, FilterValue rhs, boolean lhsxml, boolean rhsxml) { super.appendXmlComparison(buf, op, lhs, rhs, lhsxml, rhsxml); if (lhsxml) appendXmlValue(buf, lhs); else lhs.appendTo(buf); buf.append(" ").append(op).append(" "); if (rhsxml) appendXmlValue(buf, rhs); else rhs.appendTo(buf); }
/** * Append XML comparison. * * @param buf * the SQL buffer to write the comparison * @param op * the comparison operation to perform * @param lhs * the left hand side of the comparison * @param rhs * the right hand side of the comparison * @param lhsxml * indicates whether the left operand maps to XML * @param rhsxml * indicates whether the right operand maps to XML */ public void appendXmlComparison(SQLBuffer buf, String op, FilterValue lhs, FilterValue rhs, boolean lhsxml, boolean rhsxml) { super.appendXmlComparison(buf, op, lhs, rhs, lhsxml, rhsxml); if (lhsxml) appendXmlValue(buf, lhs); else lhs.appendTo(buf); buf.append(" ").append(op).append(" "); if (rhsxml) appendXmlValue(buf, rhs); else rhs.appendTo(buf); }
/** * Append XML comparison. * * @param buf * the SQL buffer to write the comparison * @param op * the comparison operation to perform * @param lhs * the left hand side of the comparison * @param rhs * the right hand side of the comparison * @param lhsxml * indicates whether the left operand maps to XML * @param rhsxml * indicates whether the right operand maps to XML */ public void appendXmlComparison(SQLBuffer buf, String op, FilterValue lhs, FilterValue rhs, boolean lhsxml, boolean rhsxml) { super.appendXmlComparison(buf, op, lhs, rhs, lhsxml, rhsxml); if (lhsxml) appendXmlValue(buf, lhs); else lhs.appendTo(buf); buf.append(" ").append(op).append(" "); if (rhsxml) appendXmlValue(buf, rhs); else rhs.appendTo(buf); }