Examples of FlaggedPropertyMap


Examples of org.apache.myfaces.trinidad.bean.util.FlaggedPropertyMap

    return _getPropertyMap().get(key);
  }

  protected PropertyMap createPropertyMap()
  {
    return new FlaggedPropertyMap();
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.bean.util.FlaggedPropertyMap

    return new FlaggedPropertyMap();
  }

  protected PropertyMap createBindingsMap()
  {
    FlaggedPropertyMap bindings = new FlaggedPropertyMap();
    bindings.setUseStateHolder(true);
    return bindings;
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.bean.util.FlaggedPropertyMap

  }

  @Override
  protected PropertyMap createPropertyMap()
  {
    return new FlaggedPropertyMap()
    {
      @Override
      public Object put(PropertyKey key, Object value)
      {
        if (value == null)
View Full Code Here

Examples of org.apache.myfaces.trinidad.bean.util.FlaggedPropertyMap

  }

  @Override
  protected PropertyMap createBindingsMap()
  {
    FlaggedPropertyMap bindings = new FlaggedPropertyMap()
    {
      @Override
      public Object put(PropertyKey key, Object value)
      {
        if (value == null)
        {
          return remove(key);
        }
        else
        {
          Object o = super.put(key, value);
          AttributeKey attrKey = getAttributeKey(key);
          if (attrKey != null)
          {
            // If there's no local value, then we're not shadowing;
            // set up a new ValueBindingBoundValue
            if (getLocalProperty(key) == null)
            {
              ValueBinding binding = (ValueBinding) value;
              _node.setAttributeValue(attrKey,
                                      new ValueBindingBoundValue(binding));
            }
          }

          return o;
        }
      }

      public Object remove(PropertyKey key)
      {
        Object o = super.remove(key);
        if (o == null)
          return null;

        AttributeKey attrKey = getAttributeKey(key);
        if (attrKey != null)
        {
          // If there's no local value, then we're not shadowing,
          // and the value is just null now
          if (getLocalProperty(key) == null)
            _node.setAttributeValue(attrKey, null);
        }

        return o;
      }
    };

    bindings.setUseStateHolder(true);
    return bindings;
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.bean.util.FlaggedPropertyMap

    return _getPropertyMap().get(key);
  }

  protected PropertyMap createPropertyMap()
  {
    FlaggedPropertyMap map =  new FlaggedPropertyMap();
    // We are providing Type information to the Map implementation
    // to enable tracking certain properties in a bitmask.
    // For now, the properties we are tracking will never be specified
    // as expressions
    map.setType(getType());
    return map;
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.bean.util.FlaggedPropertyMap

    return map;
  }

  protected PropertyMap createExpressionsMap()
  {
    return new FlaggedPropertyMap();
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.bean.util.FlaggedPropertyMap

    return _getPropertyMap().get(key);
  }

  protected PropertyMap createPropertyMap()
  {
    return new FlaggedPropertyMap();
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.bean.util.FlaggedPropertyMap

    return new FlaggedPropertyMap();
  }

  protected PropertyMap createExpressionsMap()
  {
    return new FlaggedPropertyMap();
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.bean.util.FlaggedPropertyMap

    return _getPropertyMap().get(key);
  }

  protected PropertyMap createPropertyMap()
  {
    FlaggedPropertyMap map =  new FlaggedPropertyMap();
    // We are providing Type information to the Map implementation
    // to enable tracking certain properties in a bitmask.
    // For now, the properties we are tracking will never be specified
    // as expressions
    map.setType(getType());
    return map;
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.bean.util.FlaggedPropertyMap

    return map;
  }

  protected PropertyMap createExpressionsMap()
  {
    return new FlaggedPropertyMap();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.