congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ImportRules.loadXML
Code IndexAdd Tabnine to your IDE (free)

How to use
loadXML
method
in
org.pentaho.di.imp.ImportRules

Best Java code snippets using org.pentaho.di.imp.ImportRules.loadXML (Showing top 3 results out of 315)

origin: pentaho/pentaho-kettle

public static void main( String[] args ) throws Exception {
 Display display = new Display();
 KettleEnvironment.init();
 PropsUI.init( display, PropsUI.TYPE_PROPERTIES_SPOON );
 Shell shell = new Shell( display );
 ImportRules importRules = new ImportRules();
 importRules.loadXML( XMLHandler.getSubNode(
  XMLHandler.loadXMLFile( "bin/import-rules.xml" ), ImportRules.XML_TAG ) );
 ImportRulesDialog dialog = new ImportRulesDialog( shell, importRules );
 if ( dialog.open() ) {
  for ( ImportRuleInterface rule : importRules.getRules() ) {
   System.out.println( " - " + rule.toString() );
  }
 }
}
origin: pentaho/pentaho-kettle

Document document = XMLHandler.loadXMLFile( rulesFile );
Node rulesNode = XMLHandler.getSubNode( document, ImportRules.XML_TAG );
importRules.loadXML( rulesNode );
log.logMinimal( BaseMessages.getString( PKG, "Import.Log.RulesLoaded", rulesFile, Integer.toString(
 importRules.getRules().size() ) ) );
origin: pentaho/pentaho-kettle

newRules.loadXML( XMLHandler.getSubNode( XMLHandler.loadXMLFile( filename ), ImportRules.XML_TAG ) );
importRules = newRules;
org.pentaho.di.impImportRulesloadXML

Popular methods of ImportRules

  • <init>
  • getRules
  • verifyRules
  • clone
    Perform a deep clone
  • getXML
  • setRules

Popular in Java

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • startActivity (Activity)
  • getApplicationContext (Context)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now