Class PropertyBindingImpl

    • Constructor Detail

      • PropertyBindingImpl

        protected PropertyBindingImpl​(Binder binder,
                                      Component comp,
                                      java.lang.String fieldName,
                                      java.lang.String fieldExpr,
                                      java.lang.String accessExpr,
                                      ConditionType conditionType,
                                      java.lang.String command,
                                      java.util.Map<java.lang.String,​java.lang.Object> bindingArgs,
                                      java.lang.String converterExpr,
                                      java.util.Map<java.lang.String,​java.lang.Object> converterArgs)
        Parameters:
        binder -
        comp -
        fieldName - the name of component field (ex, style, value)
        fieldExpr - the EL expression to access component field (ex, self.style, self.value)
        accessExpr - the binding expression , to access the bean
        conditionType - the condition type
        command - the command, if the conditionType is not prompt, then command must not null
        bindingArgs -
        converterExpr -
        converterArgs -
    • Method Detail

      • getConverterArgs

        public java.util.Map<java.lang.String,​java.lang.Object> getConverterArgs()
        Description copied from interface: PropertyBinding
        Returns an argument <tags, object> pairs map for converter.
        Specified by:
        getConverterArgs in interface PropertyBinding
        Returns:
        an argument <tags, object> pairs map for converter.
      • ignoreTracker

        protected boolean ignoreTracker()
      • getConverter

        public Converter getConverter()
        Description copied from interface: PropertyBinding
        Returns the associated _converter with this binding.
        Specified by:
        getConverter in interface PropertyBinding
        Returns:
        the associated _converter with this binding.
      • getFieldName

        public java.lang.String getFieldName()
        Description copied from interface: PropertyBinding
        Returns the field name of the source object.
        Specified by:
        getFieldName in interface PropertyBinding
        Returns:
        the field name of the source object.
      • getCommandName

        public java.lang.String getCommandName()
        Description copied from interface: PropertyBinding
        Returns the associated command name of this binding; null if not speicified.
        Specified by:
        getCommandName in interface PropertyBinding
        Returns:
        the associated command name of this binding; null if not speicified.
      • getPropertyString

        public java.lang.String getPropertyString()
        Description copied from interface: PropertyBinding
        Returns the property expression script of this binding.
        Specified by:
        getPropertyString in interface PropertyBinding
        Returns:
        the property expression script of this binding.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object