Class PropertyBag

    • Constructor Detail

      • PropertyBag

        public PropertyBag​(List<String> propertyNames)
      • PropertyBag

        public PropertyBag​(List<String> propertyNames,
                           boolean removeInitialUnderscoreForIdentifiers)
    • Method Detail

      • propertyNames

        public List<String> propertyNames()
      • putNonNull

        public void putNonNull​(String key,
                               String value)
      • asDouble

        public double asDouble​(String property)
      • asDouble

        public double asDouble​(String property,
                               double defaultValue)
      • asBoolean

        public boolean asBoolean​(String property,
                                 boolean defaultValue)
      • asInt

        public int asInt​(String property)
      • asInt

        public int asInt​(String property,
                         int defaultValue)
      • tabulateLocals

        public String tabulateLocals()
      • tabulate

        public String tabulate()
      • tabulateLocals

        public String tabulateLocals​(String title)
      • isResource

        public boolean isResource​(String name)
      • namespacePrefix

        public String namespacePrefix​(String name)
      • setResourceNames

        public void setResourceNames​(List<String> resourceNames)
      • setClassPropertyNames

        public void setClassPropertyNames​(List<String> classPropertyNames)
      • isClassProperty

        public boolean isClassProperty​(String name)
      • setMultivaluedProperty

        public void setMultivaluedProperty​(List<String> multiValuedPropertyNames)
      • isMultivaluedProperty

        public boolean isMultivaluedProperty​(String name)