org.jibx.schema.codegen
Class InvocationBuilder

java.lang.Object
  extended by org.jibx.schema.codegen.ASTBuilderBase
      extended by org.jibx.schema.codegen.ExpressionBuilderBase
          extended by org.jibx.schema.codegen.InvocationBuilder

public class InvocationBuilder
extends ExpressionBuilderBase

Method invocation builder. This wraps the AST method invocation representation with convenience methods and added control information.


Field Summary
private  MethodInvocation m_invoke
          Method invocation.
 
Fields inherited from class org.jibx.schema.codegen.ExpressionBuilderBase
m_expression, m_source
 
Fields inherited from class org.jibx.schema.codegen.ASTBuilderBase
m_ast
 
Constructor Summary
InvocationBuilder(ClassBuilder source, MethodInvocation invoke)
          Constructor.
 
Method Summary
protected  void addOperand(Expression operand)
          Add operand to expression.
 
Methods inherited from class org.jibx.schema.codegen.ExpressionBuilderBase
addCharacterLiteralOperand, addNullOperand, addNumberLiteralOperand, addStringLiteralOperand, addVariableOperand, getExpression
 
Methods inherited from class org.jibx.schema.codegen.ASTBuilderBase
numberLiteral, setFinal, setPrivate, setPrivateFinal, setPrivateStaticFinal, setPublic, setPublicStatic, setPublicStaticFinal, setStatic, stringLiteral
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_invoke

private final MethodInvocation m_invoke
Method invocation.

Constructor Detail

InvocationBuilder

public InvocationBuilder(ClassBuilder source,
                         MethodInvocation invoke)
Constructor.

Parameters:
source -
invoke -
Method Detail

addOperand

protected void addOperand(Expression operand)
Add operand to expression. This just adds the supplied operand expression as a new method parameter.

Specified by:
addOperand in class ExpressionBuilderBase
Parameters:
operand -


Project Web Site