Examples of componentsJoinedByString()


Examples of com.webobjects.foundation.NSMutableArray.componentsJoinedByString()

    }
        if (entityName() != null) {
            classes.addObject(elementClassPrefix + entityName());
        }
        classes.addObject(elementClassPrefix + d2wContext.dynamicPage());
    return classes.componentsJoinedByString(" ");
    }

    /**
     * Gets the CSS class(es) that should be applied to the current property name container element.
     * @return the css classes
View Full Code Here

Examples of com.webobjects.foundation.NSMutableArray.componentsJoinedByString()

            NSArray explicitClasses = ERXValueUtilities.arrayValueWithDefault(d2wContext.valueForKey(cssKey), NSArray.EmptyArray);
            if (explicitClasses.count() > 0) {
                classes.addObjectsFromArray(explicitClasses);
            }
        }
        return classes.componentsJoinedByString(" ");
    }

    /**
     * Gets any inline style declarations for the current property name container element.
     * @return the inline style declarations
View Full Code Here

Examples of com.webobjects.foundation.NSMutableArray.componentsJoinedByString()

        }
        else {
          first = false;
        }
      }
      return "\t" + subParts.componentsJoinedByString("\n\t") + "\n";
    }
  }

  /**
   * The application name pattern converter is useful for logging the current
View Full Code Here

Examples of com.webobjects.foundation.NSMutableArray.componentsJoinedByString()

    // FIXME: Must be a better way of doing
    public String nameForSet(NSSet set) {
        NSMutableArray stringObjects = new NSMutableArray();
        stringObjects.addObjectsFromArray(set.allObjects());
        ERXArrayUtilities.sortArrayWithKey(stringObjects, "description");
        return stringObjects.componentsJoinedByString(".");
    }


    // stuff to dump and restore the cache. This should increase the experience
    // for the first folks after an app needed to be restarted and the rules have not been fired yet
View Full Code Here

Examples of com.webobjects.foundation.NSMutableArray.componentsJoinedByString()

            classes.addObject("unset");
        }
        if (currentLoggerLevel() == aLoggerLevel) {
            classes.addObject("selected");
        }
        return classes.componentsJoinedByString(" ");
    }

    public String classForLoggerRow() {
        NSMutableArray array = new NSMutableArray();
        Level level = logger().getLevel();
View Full Code Here

Examples of com.webobjects.foundation.NSMutableArray.componentsJoinedByString()

            array.addObject(level.toString().toLowerCase());
        }
        if (rowIndex % 2 == 0) {
            array.addObject("alt");
        }
        return array.componentsJoinedByString(" ");
    }

    public boolean omitLoggerLevelSettingDecoration() {
        return classNameForLoggerLevelName().length() == 0;
    }
View Full Code Here

Examples of com.webobjects.foundation.NSMutableArray.componentsJoinedByString()

            array.addObject(level);
        }
        if (rowIndex % 2 == 0) {
            array.addObject("alt");
        }
        return array.componentsJoinedByString(" ");
    }

    public String classNameForAppenderThresholdName() {
        NSMutableArray classes = new NSMutableArray();
        if (aLoggerLevel == LoggerLevel.UNSET) {
View Full Code Here

Examples of com.webobjects.foundation.NSMutableArray.componentsJoinedByString()

            classes.addObject("unset");
        }
        if (currentAppenderLevel() == aLoggerLevel) {
            classes.addObject("selected");
        }
        return  classes.componentsJoinedByString(" ");
    }

    public boolean omitAppenderThresholdSettingDecoration() {
        return null == classNameForAppenderThresholdName();
    }
View Full Code Here

Examples of com.webobjects.foundation.NSMutableArray.componentsJoinedByString()

                styleClasses.addObject(STYLE_CLASS_SUB);
            }
        }

        if (styleClasses.count() > 0) {
            result += styleClasses.componentsJoinedByString(" ");
        }

        return result;
    }
View Full Code Here

Examples of com.webobjects.foundation.NSMutableArray.componentsJoinedByString()

            encoded.addObject(encodedEntityName + separator + (encrypt ? "E" : "") + c++ + "=" +
                              (encrypt ? ERXCrypto.crypterForAlgorithm(ERXCrypto.BLOWFISH).encrypt(pk) : pk));
        }

        // Return the result as an url-encoded string
        return encoded.componentsJoinedByString("&");
    }

    /**
     * Decodes all of the objects for a given set of form values in
     * the given editing context. The object encoding is very simple,
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.