Package net.sf.jasperreports.engine.component

Examples of net.sf.jasperreports.engine.component.ComponentsXmlParser


   
    Collection components = ComponentsEnvironment.getComponentBundles();
    for (Iterator it = components.iterator(); it.hasNext();)
    {
      ComponentsBundle componentManager = (ComponentsBundle) it.next();
      ComponentsXmlParser xmlParser = componentManager.getXmlParser();
     
      String schemaURI;
      String schemaResource = xmlParser.getInternalSchemaResource();
      if (schemaResource != null)
      {
        schemaURI = getResourceURI(schemaResource);
      }
      else
      {
        schemaURI = xmlParser.getPublicSchemaLocation();
      }

      if (log.isDebugEnabled())
      {
        log.debug("Adding components schema at " + schemaURI);
View Full Code Here


   
    Collection components = ComponentsEnvironment.getComponentBundles();
    for (Iterator it = components.iterator(); it.hasNext();)
    {
      ComponentsBundle componentsBundle = (ComponentsBundle) it.next();
      ComponentsXmlParser xmlParser = componentsBundle.getXmlParser();
      digester.setRuleNamespaceURI(xmlParser.getNamespace());
     
      XmlDigesterConfigurer configurer = xmlParser.getDigesterConfigurer();
      if (configurer != null)
      {
        configurer.configureDigester(digester);
      }
     
View Full Code Here

  {
    Collection components = ComponentsEnvironment.getComponentBundles();
    for (Iterator it = components.iterator(); it.hasNext();)
    {
      ComponentsBundle componentManager = (ComponentsBundle) it.next();
      ComponentsXmlParser xmlParser = componentManager.getXmlParser();
      String schemaResource = xmlParser.getInternalSchemaResource();
      if (schemaResource != null)
      {
        digester.addInternalEntityResource(xmlParser.getPublicSchemaLocation(),
            schemaResource);
      }
    }
  }
View Full Code Here

TOP

Related Classes of net.sf.jasperreports.engine.component.ComponentsXmlParser

Copyright © 2018 www.massapicom. 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.