Examples of findPropertyKeys()


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

  {
    if (readHandlerFactory == null)
    {
      readHandlerFactory = new SubReportReadHandlerFactory();
      final Configuration config = ClassicEngineBoot.getInstance().getGlobalConfig();
      final Iterator propertyKeys = config.findPropertyKeys(PREFIX_SELECTOR);
      while (propertyKeys.hasNext())
      {
        final String key = (String) propertyKeys.next();
        final String value = config.getConfigProperty(key);
        if (value != null)
View Full Code Here

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

  {
    if (readHandlerFactory == null)
    {
      readHandlerFactory = new ReportElementReadHandlerFactory();
      final Configuration config = ClassicEngineBoot.getInstance().getGlobalConfig();
      final Iterator propertyKeys = config.findPropertyKeys(PREFIX_SELECTOR);
      while (propertyKeys.hasNext())
      {
        final String key = (String) propertyKeys.next();
        final String value = config.getConfigProperty(key);
        if (value != null)
View Full Code Here

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

  {
    if (DataFactoryReadHandlerFactory.readHandlerFactory == null)
    {
      DataFactoryReadHandlerFactory.readHandlerFactory = new DataFactoryReadHandlerFactory();
      final Configuration config = ClassicEngineBoot.getInstance().getGlobalConfig();
      final Iterator propertyKeys = config.findPropertyKeys(DataFactoryReadHandlerFactory.PREFIX_SELECTOR);
      while (propertyKeys.hasNext())
      {
        final String key = (String) propertyKeys.next();
        final String value = config.getConfigProperty(key);
        if (value != null)
View Full Code Here

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

  {
    if (readHandlerFactory == null)
    {
      readHandlerFactory = new BandedRootElementReadHandlerFactory();
      final Configuration config = ClassicEngineBoot.getInstance().getGlobalConfig();
      final Iterator propertyKeys = config.findPropertyKeys(BandedRootElementReadHandlerFactory.PREFIX_SELECTOR);
      while (propertyKeys.hasNext())
      {
        final String key = (String) propertyKeys.next();
        final String value = config.getConfigProperty(key);
        if (value != null)
View Full Code Here

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

   * @noinspection ProhibitedExceptionCaught
   */
  public static synchronized void registerDefaults()
  {
    final Configuration config = ClassicEngineBoot.getInstance().getGlobalConfig();
    final Iterator it = config.findPropertyKeys("org.pentaho.reporting.engine.classic.core.stylekeys.");
    final ClassLoader classLoader = ObjectUtilities.getClassLoader(StyleKey.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 the mapping from environment names to data-row column names.
   */
  public static LinkedMap createEnvironmentMapping()
  {
    final Configuration configuration = ClassicEngineBoot.getInstance().getGlobalConfig();
    final Iterator propertyKeys = configuration.findPropertyKeys(ENV_MAPPING_KEY_PREFIX);
    final LinkedMap names = new LinkedMap();
    while (propertyKeys.hasNext())
    {
      final String key = (String) propertyKeys.next();
      final String value = configuration.getConfigProperty(key);
View Full Code Here

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

    if (manager == null)
    {
      throw new NullPointerException();
    }
    final Configuration configuration = ClassicEngineBoot.getInstance().getGlobalConfig();
    final Iterator sources = configuration.findPropertyKeys
        ("org.pentaho.reporting.engine.classic.core.DataSchemaDefinition");

    final DefaultDataSchemaDefinition definition = new DefaultDataSchemaDefinition();

    while (sources.hasNext())
View Full Code Here

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

  public static void initializeElementMetaData() throws ModuleInitializeException
  {

    final String namespaceRegistryPrefix = "org.pentaho.reporting.engine.classic.core.metadata.namespaces.";
    final Configuration configuration = ClassicEngineBoot.getInstance().getGlobalConfig();
    final Iterator keys = configuration.findPropertyKeys(namespaceRegistryPrefix);
    while (keys.hasNext())
    {
      final String key = (String) keys.next();
      final String prefix = key.substring(namespaceRegistryPrefix.length());
      final String namespaceUri = configuration.getConfigProperty(key);
View Full Code Here

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

    final ResourceManager resourceManager = getRootHandler().getResourceManager();
    final ResourceKey context = getRootHandler().getContext();

    final Configuration configuration = ClassicEngineBoot.getInstance().getGlobalConfig();
    final Iterator keys = configuration.findPropertyKeys(ElementMetaDataParser.GLOBAL_INCLUDES_PREFIX);
    while (keys.hasNext())
    {
      final String key = (String) keys.next();
      final String href = configuration.getConfigProperty(key);
      if (StringUtils.isEmpty(href, true))
View Full Code Here

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

    final ResourceManager resourceManager = getRootHandler().getResourceManager();
    final ResourceKey context = getRootHandler().getContext();

    final Configuration configuration = ClassicEngineBoot.getInstance().getGlobalConfig();
    final Iterator keys = configuration.findPropertyKeys(ElementMetaDataParser.GLOBAL_INCLUDES_PREFIX);
    while (keys.hasNext())
    {
      final String key = (String) keys.next();
      final String href = configuration.getConfigProperty(key);
      if (StringUtils.isEmpty(href, true))
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.