Examples of findPropertyKeys()


Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

  }

  public void initialize()
  {
    final Configuration configuration = ReportDesignerBoot.getInstance().getGlobalConfig();
    final Iterator keys = configuration.findPropertyKeys(PREFIX);//NON-NLS
    while (keys.hasNext())
    {
      final String key = (String) keys.next();
      final String name = key.substring(PREFIX.length());
      final String className = configuration.getConfigProperty(key);
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

      throw new NullPointerException();
    }

    final Configuration configuration = context.getConfiguration();
    final String prefix = DefaultActionFactory.PREFIX + category;
    final Iterator keys = configuration.findPropertyKeys(prefix);
    if (keys.hasNext() == false)
    {
      DefaultActionFactory.logger.debug(DefaultActionFactory.MESSAGES.getString("DefaultActionFactory.DEBUG_NO_ACTIONS",
          category)); //$NON-NLS-1$
      return DefaultActionFactory.EMPTY_ACTIONS;
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()


  public void registerDefaults()
  {
    final Configuration config = LibCssBoot.getInstance().getGlobalConfig();
    Iterator sit = config.findPropertyKeys(SIMPLE_PREFIX);
    while (sit.hasNext())
    {
      final String key = (String) sit.next();
      final String name = key.substring(SIMPLE_PREFIX.length()).toLowerCase();
      final String c = config.getConfigProperty(key);
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

      {
        logger.warn("Invalid module implementation: [" + c + "] for style key [" + name + ']');
      }
    }

    Iterator cit = config.findPropertyKeys(COMPOUND_PREFIX);
    while (cit.hasNext())
    {
      final String key = (String) cit.next();
      final String name = key.substring(COMPOUND_PREFIX.length()).toLowerCase();
      final String c = config.getConfigProperty(key);
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

    {
      throw new IllegalStateException
          ("All StyleKeys must be registered during the bootup. The registry is locked now.");
    }
    final Configuration config = LibCssBoot.getInstance().getGlobalConfig();
    final Iterator it = config.findPropertyKeys("org.pentaho.reporting.libraries.css.stylekeys.");
    final ClassLoader classLoader = ObjectUtilities.getClassLoader(StyleKeyRegistry.class);

    while (it.hasNext())
    {
      final String key = (String) it.next();
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

      return;
    }
    this.initSections.add(modulePrefix);

    final Configuration config = this.booter.getGlobalConfig();
    final Iterator it = config.findPropertyKeys(modulePrefix);
    int count = 0;
    while (it.hasNext())
    {
      final String key = (String) it.next();
      if (key.endsWith(".Module"))
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

   * Traverses the configuration and registers all serialization handlers in this factory.
   */
  protected void registerMethods()
  {
    final Configuration config = LibSerializerBoot.getInstance().getGlobalConfig();
    final Iterator sit = config.findPropertyKeys("org.pentaho.reporting.libraries.serializer.handler.");

    while (sit.hasNext())
    {
      final String configkey = (String) sit.next();
      final String c = config.getConfigProperty(configkey);
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

  }

  public void registerDefault()
  {
    final Configuration config = LibCssBoot.getInstance().getGlobalConfig();
    final Iterator valueKeys = config.findPropertyKeys(VALUE_FUNCTIONS_KEY_RANGE);
    while (valueKeys.hasNext())
    {
      final String key = (String) valueKeys.next();
      final String value = config.getConfigProperty(key);
      final String name = key.substring(VALUE_FUNCTIONS_KEY_RANGE.length());
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

      {
        styleFunctions.put(name.toLowerCase(), maybeFunction);
      }
    }

    final Iterator contentKeys = config.findPropertyKeys(CONTENT_FUNCTIONS_KEY_RANGE);
    while (contentKeys.hasNext())
    {
      final String key = (String) contentKeys.next();
      final String value = config.getConfigProperty(key);
      final String name = key.substring(CONTENT_FUNCTIONS_KEY_RANGE.length());
View Full Code Here

Examples of org.pentaho.reporting.libraries.base.config.Configuration.findPropertyKeys()

  }

  public void registerDefaults ()
  {
    final Configuration config = LibCssBoot.getInstance().getGlobalConfig();
    final Iterator it = config.findPropertyKeys(PREFIX);
    while (it.hasNext())
    {
      final String key = (String) it.next();
      final String counterClass = config.getConfigProperty(key);
      if (counterClass == null)
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.