Examples of writeTextNormalized()


Examples of org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeTextNormalized()

    if (ObjectWriter.isBasicObject(parameterNames, parameterDescription))
    {
      writer.writeTag(ExtParserModule.NAMESPACE, AbstractXMLDefinitionWriter.BASIC_OBJECT_TAG, p,
          XmlWriterSupport.OPEN);
      final String valueString = (String) parameterDescription.getParameter("value");
      writer.writeTextNormalized(valueString, false);
      writer.writeCloseTag();
    }
    else
    {
      writer.writeTag(ExtParserModule.NAMESPACE, AbstractXMLDefinitionWriter.COMPOUND_OBJECT_TAG, p,
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeTextNormalized()

        if (alts != null)
        {
          for (int optCount = 0; optCount < alts.length; optCount++)
          {
            dwriter.writeTag(ConfigEditorBoot.NAMESPACE, "text", XmlWriterSupport.OPEN); //$NON-NLS-1$
            dwriter.writeTextNormalized(alts[optCount], false);
            dwriter.writeCloseTag();
          }
        }
        dwriter.writeCloseTag();
      }
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeTextNormalized()

    final XmlWriter writer = getXmlWriter();
    final List parameterNames = getParameterNames(od);
    if (isBasicKey(parameterNames, od))
    {
      writer.writeTag(ExtParserModule.NAMESPACE, AbstractXMLDefinitionWriter.BASIC_KEY_TAG, p, XmlWriterSupport.OPEN);
      writer.writeTextNormalized((String) od.getParameter("value"), false);
      writer.writeCloseTag();
    }
    else
    {
      writer.writeTag(ExtParserModule.NAMESPACE, AbstractXMLDefinitionWriter.COMPOUND_KEY_TAG, p,
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeTextNormalized()

        for (int f = 0; f < fields.size(); f++)
        {
          final String field = (String) fields.get(f);
          writer.writeTag(ExtParserModule.NAMESPACE, ReportDescriptionWriter.FIELD_TAG, XmlWriterSupport.OPEN);
          writer.writeTextNormalized(field, false);
          writer.writeCloseTag();
        }
        writer.writeCloseTag();
      }
      else
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeTextNormalized()

        final String key = (String) properties.nextElement();
        final String value = config.getConfigProperty(key);
        if (value != null)
        {
          writer.writeTag(ExtParserModule.NAMESPACE, "property", "name", key, XmlWriterSupport.OPEN);
          writer.writeTextNormalized(value, false);
          writer.writeCloseTag();
        }
      }
      writer.writeCloseTag();
    }
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeTextNormalized()

    final String globalScriptLanguage = df.getGlobalScriptLanguage();
    if (StringUtils.isEmpty(globalScript) == false && StringUtils.isEmpty(globalScriptLanguage) == false)
    {
      xmlWriter.writeTag
          (SQLDataFactoryModule.NAMESPACE, "global-script", "language", globalScriptLanguage, XmlWriterSupport.OPEN);
      xmlWriter.writeTextNormalized(globalScript, false);
      xmlWriter.writeCloseTag();
    }

    xmlWriter.writeTag(SQLDataFactoryModule.NAMESPACE, "query-definitions", XmlWriterSupport.OPEN);
    final String[] queryNames = df.getQueryNames();
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeTextNormalized()

      final String queryName = queryNames[i];
      final String query = df.getQuery(queryName);
      xmlWriter.writeTag(SQLDataFactoryModule.NAMESPACE, "query", "name", queryName, XmlWriterSupport.OPEN);

      xmlWriter.writeTag(SQLDataFactoryModule.NAMESPACE, "static-query", XmlWriterSupport.OPEN);
      xmlWriter.writeTextNormalized(query, false);
      xmlWriter.writeCloseTag();

      final String queryScriptLanguage = df.getScriptingLanguage(queryName);
      final String queryScript = df.getScript(queryName);
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeTextNormalized()

        }
        else
        {
          xmlWriter.writeTag(SQLDataFactoryModule.NAMESPACE, "script", "language", queryScriptLanguage, XmlWriterSupport.OPEN);
        }
        xmlWriter.writeTextNormalized(queryScript, false);
        xmlWriter.writeCloseTag();
      }

      xmlWriter.writeCloseTag();
    }
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeTextNormalized()

          {
            continue;
          }
          final String attrValue = ConverterRegistry.toAttributeValue(parameter);
          xmlWriter.writeTag(SequenceDataFactoryModule.NAMESPACE, "property", "name", paramName, XmlWriterSupport.OPEN);
          xmlWriter.writeTextNormalized(attrValue, true);
          xmlWriter.writeCloseTag();
        }

        xmlWriter.writeCloseTag();
      }
View Full Code Here

Examples of org.pentaho.reporting.libraries.xmlns.writer.XmlWriter.writeTextNormalized()

    for (int i = 0; i < queryNames.length; i++)
    {
      final String queryName = queryNames[i];
      final String query = staticDataFactory.getQuery(queryName);
      xmlWriter.writeTag(StaticDataFactoryModule.NAMESPACE, "query", "name", queryName, XmlWriterSupport.OPEN);
      xmlWriter.writeTextNormalized(query, false);
      xmlWriter.writeCloseTag();
    }
    xmlWriter.writeCloseTag();
    xmlWriter.close();
    return fileName;
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.