org.apache.xpath.operations.Operation.setLeftRight()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(6.7k)|赞(0)|评价(0)|浏览(126)

本文整理了Java中org.apache.xpath.operations.Operation.setLeftRight()方法的一些代码示例,展示了Operation.setLeftRight()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Operation.setLeftRight()方法的具体详情如下:
包路径:org.apache.xpath.operations.Operation
类名称:Operation
方法名:setLeftRight

Operation.setLeftRight介绍

[英]Set the left and right operand expressions for this operation.
[中]设置此操作的左操作数表达式和右操作数表达式。

代码示例

代码示例来源:origin: robovm/robovm

  1. /**
  2. * Bottle-neck compilation of an operation with left and right operands.
  3. *
  4. * @param operation non-null reference to parent operation.
  5. * @param opPos The op map position of the parent operation.
  6. *
  7. * @return reference to {@link org.apache.xpath.operations.Operation} instance.
  8. *
  9. * @throws TransformerException if there is a syntax or other error.
  10. */
  11. private Expression compileOperation(Operation operation, int opPos)
  12. throws TransformerException
  13. {
  14. int leftPos = getFirstChildPos(opPos);
  15. int rightPos = getNextOpPos(leftPos);
  16. operation.setLeftRight(compile(leftPos), compile(rightPos));
  17. return operation;
  18. }

代码示例来源:origin: xalan/xalan

  1. /**
  2. * Bottle-neck compilation of an operation with left and right operands.
  3. *
  4. * @param operation non-null reference to parent operation.
  5. * @param opPos The op map position of the parent operation.
  6. *
  7. * @return reference to {@link org.apache.xpath.operations.Operation} instance.
  8. *
  9. * @throws TransformerException if there is a syntax or other error.
  10. */
  11. private Expression compileOperation(Operation operation, int opPos)
  12. throws TransformerException
  13. {
  14. int leftPos = getFirstChildPos(opPos);
  15. int rightPos = getNextOpPos(leftPos);
  16. operation.setLeftRight(compile(leftPos), compile(rightPos));
  17. return operation;
  18. }

代码示例来源:origin: MobiVM/robovm

  1. /**
  2. * Bottle-neck compilation of an operation with left and right operands.
  3. *
  4. * @param operation non-null reference to parent operation.
  5. * @param opPos The op map position of the parent operation.
  6. *
  7. * @return reference to {@link org.apache.xpath.operations.Operation} instance.
  8. *
  9. * @throws TransformerException if there is a syntax or other error.
  10. */
  11. private Expression compileOperation(Operation operation, int opPos)
  12. throws TransformerException
  13. {
  14. int leftPos = getFirstChildPos(opPos);
  15. int rightPos = getNextOpPos(leftPos);
  16. operation.setLeftRight(compile(leftPos), compile(rightPos));
  17. return operation;
  18. }

代码示例来源:origin: FlexoVM/flexovm

  1. /**
  2. * Bottle-neck compilation of an operation with left and right operands.
  3. *
  4. * @param operation non-null reference to parent operation.
  5. * @param opPos The op map position of the parent operation.
  6. *
  7. * @return reference to {@link org.apache.xpath.operations.Operation} instance.
  8. *
  9. * @throws TransformerException if there is a syntax or other error.
  10. */
  11. private Expression compileOperation(Operation operation, int opPos)
  12. throws TransformerException
  13. {
  14. int leftPos = getFirstChildPos(opPos);
  15. int rightPos = getNextOpPos(leftPos);
  16. operation.setLeftRight(compile(leftPos), compile(rightPos));
  17. return operation;
  18. }

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

  1. /**
  2. * Bottle-neck compilation of an operation with left and right operands.
  3. *
  4. * @param operation non-null reference to parent operation.
  5. * @param opPos The op map position of the parent operation.
  6. *
  7. * @return reference to {@link org.apache.xpath.operations.Operation} instance.
  8. *
  9. * @throws TransformerException if there is a syntax or other error.
  10. */
  11. private Expression compileOperation(Operation operation, int opPos)
  12. throws TransformerException
  13. {
  14. int leftPos = getFirstChildPos(opPos);
  15. int rightPos = getNextOpPos(leftPos);
  16. operation.setLeftRight(compile(leftPos), compile(rightPos));
  17. return operation;
  18. }

代码示例来源:origin: com.gluonhq/robovm-rt

  1. /**
  2. * Bottle-neck compilation of an operation with left and right operands.
  3. *
  4. * @param operation non-null reference to parent operation.
  5. * @param opPos The op map position of the parent operation.
  6. *
  7. * @return reference to {@link org.apache.xpath.operations.Operation} instance.
  8. *
  9. * @throws TransformerException if there is a syntax or other error.
  10. */
  11. private Expression compileOperation(Operation operation, int opPos)
  12. throws TransformerException
  13. {
  14. int leftPos = getFirstChildPos(opPos);
  15. int rightPos = getNextOpPos(leftPos);
  16. operation.setLeftRight(compile(leftPos), compile(rightPos));
  17. return operation;
  18. }

代码示例来源:origin: ibinti/bugvm

  1. /**
  2. * Bottle-neck compilation of an operation with left and right operands.
  3. *
  4. * @param operation non-null reference to parent operation.
  5. * @param opPos The op map position of the parent operation.
  6. *
  7. * @return reference to {@link org.apache.xpath.operations.Operation} instance.
  8. *
  9. * @throws TransformerException if there is a syntax or other error.
  10. */
  11. private Expression compileOperation(Operation operation, int opPos)
  12. throws TransformerException
  13. {
  14. int leftPos = getFirstChildPos(opPos);
  15. int rightPos = getNextOpPos(leftPos);
  16. operation.setLeftRight(compile(leftPos), compile(rightPos));
  17. return operation;
  18. }

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

  1. /**
  2. * Bottle-neck compilation of an operation with left and right operands.
  3. *
  4. * @param operation non-null reference to parent operation.
  5. * @param opPos The op map position of the parent operation.
  6. *
  7. * @return reference to {@link org.apache.xpath.operations.Operation} instance.
  8. *
  9. * @throws TransformerException if there is a syntax or other error.
  10. */
  11. private Expression compileOperation(Operation operation, int opPos)
  12. throws TransformerException
  13. {
  14. int leftPos = getFirstChildPos(opPos);
  15. int rightPos = getNextOpPos(leftPos);
  16. operation.setLeftRight(compile(leftPos), compile(rightPos));
  17. return operation;
  18. }

代码示例来源:origin: org.apache.xalan/com.springsource.org.apache.xalan

  1. /**
  2. * Bottle-neck compilation of an operation with left and right operands.
  3. *
  4. * @param operation non-null reference to parent operation.
  5. * @param opPos The op map position of the parent operation.
  6. *
  7. * @return reference to {@link org.apache.xpath.operations.Operation} instance.
  8. *
  9. * @throws TransformerException if there is a syntax or other error.
  10. */
  11. private Expression compileOperation(Operation operation, int opPos)
  12. throws TransformerException
  13. {
  14. int leftPos = getFirstChildPos(opPos);
  15. int rightPos = getNextOpPos(leftPos);
  16. operation.setLeftRight(compile(leftPos), compile(rightPos));
  17. return operation;
  18. }

代码示例来源:origin: com.bugvm/bugvm-rt

  1. /**
  2. * Bottle-neck compilation of an operation with left and right operands.
  3. *
  4. * @param operation non-null reference to parent operation.
  5. * @param opPos The op map position of the parent operation.
  6. *
  7. * @return reference to {@link org.apache.xpath.operations.Operation} instance.
  8. *
  9. * @throws TransformerException if there is a syntax or other error.
  10. */
  11. private Expression compileOperation(Operation operation, int opPos)
  12. throws TransformerException
  13. {
  14. int leftPos = getFirstChildPos(opPos);
  15. int rightPos = getNextOpPos(leftPos);
  16. operation.setLeftRight(compile(leftPos), compile(rightPos));
  17. return operation;
  18. }

代码示例来源:origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

  1. /**
  2. * Bottle-neck compilation of an operation with left and right operands.
  3. *
  4. * @param operation non-null reference to parent operation.
  5. * @param opPos The op map position of the parent operation.
  6. *
  7. * @return reference to {@link org.apache.xpath.operations.Operation} instance.
  8. *
  9. * @throws TransformerException if there is a syntax or other error.
  10. */
  11. private Expression compileOperation(Operation operation, int opPos)
  12. throws TransformerException
  13. {
  14. int leftPos = getFirstChildPos(opPos);
  15. int rightPos = getNextOpPos(leftPos);
  16. operation.setLeftRight(compile(leftPos), compile(rightPos));
  17. return operation;
  18. }

相关文章