Class ReadOnlyVariableResolverFactory.ReadOnlyVariableResolver

  • All Implemented Interfaces:
    java.io.Serializable, org.mvel2.integration.VariableResolver
    Enclosing class:
    ReadOnlyVariableResolverFactory

    public abstract static class ReadOnlyVariableResolverFactory.ReadOnlyVariableResolver
    extends java.lang.Object
    implements org.mvel2.integration.VariableResolver
    Base variable resolver.
    Since:
    3.0.0
    Version:
    $Rev: 1049688 $ $Date: 2010-12-16 07:15:41 +1100 (Thu, 16 Dec 2010) $
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String name
      The name of the property.
    • Constructor Summary

      Constructors 
      Constructor Description
      ReadOnlyVariableResolver​(java.lang.String name)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getFlags()
      java.lang.String getName()
      void setStaticType​(java.lang.Class type)
      void setValue​(java.lang.Object value)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.mvel2.integration.VariableResolver

        getType, getValue
    • Field Detail

      • name

        protected java.lang.String name
        The name of the property.
    • Constructor Detail

      • ReadOnlyVariableResolver

        public ReadOnlyVariableResolver​(java.lang.String name)
        Constructor.
        Parameters:
        name - The name of the property.
        Since:
        2.2.0
    • Method Detail

      • getFlags

        public int getFlags()
        Specified by:
        getFlags in interface org.mvel2.integration.VariableResolver
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface org.mvel2.integration.VariableResolver
      • setStaticType

        public void setStaticType​(java.lang.Class type)
        Specified by:
        setStaticType in interface org.mvel2.integration.VariableResolver
      • setValue

        public void setValue​(java.lang.Object value)
        Specified by:
        setValue in interface org.mvel2.integration.VariableResolver