protected Configuration getConfiguration() { return LibDocBundleBoot.getInstance().getGlobalConfig(); }
protected Configuration getConfiguration() { return LibDocBundleBoot.getInstance().getGlobalConfig(); }
public static String getBundleMapping( final String bundleType ) { final String defaultType = LibDocBundleBoot.getInstance().getGlobalConfig().getConfigProperty ( "org.pentaho.reporting.libraries.docbundle.bundleloader.mapping" ); if ( bundleType == null ) { return defaultType; } return LibDocBundleBoot.getInstance().getGlobalConfig().getConfigProperty ( "org.pentaho.reporting.libraries.docbundle.bundleloader.mapping." + bundleType, defaultType ); }
public BundleMetaDataXmlWriter( final BundleMetaData bundleMetaData ) { if ( bundleMetaData == null ) { throw new NullPointerException(); } this.bundleMetaData = bundleMetaData; this.writeHandlerFactory = new BundleMetaDataWriteHandlerFactory(); this.writeHandlerFactory.configure( LibDocBundleBoot.getInstance().getGlobalConfig(), HANDLER_CONFIG_PREFIX ); }
public String getDefaultPrefix( final String uri ) { if ( uri == null ) { throw new NullPointerException(); } if ( namespaceCollection == null ) { namespaceCollection = new NamespaceCollection(); namespaceCollection.configure( LibDocBundleBoot.getInstance().getGlobalConfig(), "org.pentaho.reporting.libraries.docbundle.namespaces." ); } return namespaceCollection.getPrefix( uri ); }
public static synchronized BundleMetaDataEntryReadHandlerFactory getInstance() { if ( readHandlerFactory == null ) { final Configuration config = LibDocBundleBoot.getInstance().getGlobalConfig(); readHandlerFactory = new BundleMetaDataEntryReadHandlerFactory(); readHandlerFactory.configure( config, BundleMetaDataEntryReadHandlerFactory.PREFIX_SELECTOR ); } return readHandlerFactory; }
if ( "true".equals( LibDocBundleBoot.getInstance().getGlobalConfig().getConfigProperty ( "org.pentaho.reporting.libraries.docbundle.bundleloader.directory.StrictKeyCheck", "true" ) ) ) { try {
if ( "true".equals( LibDocBundleBoot.getInstance().getGlobalConfig().getConfigProperty ( "org.pentaho.reporting.libraries.docbundle.bundleloader.repository.StrictKeyCheck", "true" ) ) ) { try {
map = parent.getFactoryParameters(); if ( "true".equals( LibDocBundleBoot.getInstance().getGlobalConfig().getConfigProperty ( "org.pentaho.reporting.libraries.docbundle.bundleloader.zip.StrictKeyCheck", "true" ) ) ) { try {
parent.getFactoryParameters().get( new FactoryParameterKey( "repository-loader" ) ); if ( "true".equals( LibDocBundleBoot.getInstance().getGlobalConfig().getConfigProperty ( "org.pentaho.reporting.libraries.docbundle.bundleloader.memory.StrictKeyCheck", "true" ) ) ) { try {
public void write( final OutputStream out ) throws IOException { final DefaultTagDescription tagDescription = new DefaultTagDescription(); tagDescription.configure( LibDocBundleBoot.getInstance().getGlobalConfig(), CONFIG_PREFIX );
tagDescription.configure( LibDocBundleBoot.getInstance().getGlobalConfig(), TAGDEF_CONFIG_PREFIX );