Class CallParamBuilder

    • Field Detail

      • paramIndex

        private int paramIndex
      • stackIndex

        private int stackIndex
      • fromStack

        private boolean fromStack
      • attributeName

        private java.lang.String attributeName
    • Constructor Detail

      • CallParamBuilder

        CallParamBuilder​(java.lang.String keyPattern,
                         java.lang.String namespaceURI,
                         RulesBinder mainBinder,
                         LinkedRuleBuilder mainBuilder)
    • Method Detail

      • ofIndex

        public CallParamBuilder ofIndex​(int paramIndex)
        Sets the zero-relative parameter number.
        Parameters:
        paramIndex - The zero-relative parameter number
        Returns:
        this builder instance
      • fromAttribute

        public CallParamBuilder fromAttribute​(java.lang.String attributeName)
        Sets the attribute from which to save the parameter value.
        Parameters:
        attributeName - The attribute from which to save the parameter value
        Returns:
        this builder instance
      • fromStack

        public CallParamBuilder fromStack​(boolean fromStack)
        Flags the parameter to be set from the stack.
        Parameters:
        fromStack - the parameter flag to be set from the stack
        Returns:
        this builder instance
      • withStackIndex

        public CallParamBuilder withStackIndex​(int stackIndex)
        Sets the position of the object from the top of the stack.
        Parameters:
        stackIndex - The position of the object from the top of the stack
        Returns:
        this builder instance