Package org.openbp.common.io.xml

Examples of org.openbp.common.io.xml.XMLDriver.loadMappings()


    {
      driver.setEncoding(encoding);
    }
    boolean prettyPrint = SettingUtil.getBooleanSetting(XML_PRETTYPRINT_PROP, false);
    driver.setPrettyPrint(prettyPrint);
    if (!driver.loadMappings(mappedClasses))
      throw new OpenBPException("Initialization.Mapping", "Errors occurred while loading the core mappings. See the log file for details.");
  }

  /**
   * Initializes the user interface adapters.
View Full Code Here


  {
    XMLDriver xmlDriver = XMLDriver.getInstance();
    try
    {
      Class [] profileClasses = { PluginProfile.class, };
      xmlDriver.loadMappings(profileClasses);
    }
    catch (XMLDriverException e)
    {
      ExceptionUtil.printTrace(e);
      return;
View Full Code Here

  {
    // Load the standard mappings for the standard XML driver
    XMLDriver xmlDriver = XMLDriver.getInstance();
    try
    {
      xmlDriver.loadMappings(standardMappedClasses);
    }
    catch (XMLDriverException e)
    {
      ExceptionUtil.printTrace(e);
      return;
View Full Code Here

      // Create a generator-local XML driver and load the standard mappings
      XMLDriver generatorXmlDriver = new XMLDriver(classLoader);
      try
      {
        generatorXmlDriver.loadMappings(standardMappedClasses);
        generator.setXmlDriver(generatorXmlDriver);
      }
      catch (XMLDriverException e)
      {
        ExceptionUtil.printTrace(e);
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.