Class ExpressionWriterUtility
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.ExpressionWriterUtility
-
public class ExpressionWriterUtility extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
copyStaticResources(org.pentaho.reporting.libraries.docbundle.WriteableDocumentBundle bundle, BundleWriterState state, Expression expression, BeanUtility beanUtility, ExpressionPropertyMetaData[] datas)
static boolean
isElementLayoutExpressionActive(BundleWriterState state)
static boolean
isGlobalLayoutExpressionActive(BundleWriterState state)
static void
writeDataExpressions(org.pentaho.reporting.libraries.docbundle.WriteableDocumentBundle bundle, BundleWriterState state, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter writer)
static void
writeElementLayoutExpressions(org.pentaho.reporting.libraries.docbundle.WriteableDocumentBundle bundle, BundleWriterState state, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter writer)
static void
writeExpression(org.pentaho.reporting.libraries.docbundle.WriteableDocumentBundle bundle, BundleWriterState state, Expression expression, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter writer, String namespaceUri, String expressionTag)
static void
writeExpressionCore(org.pentaho.reporting.libraries.docbundle.WriteableDocumentBundle bundle, BundleWriterState state, Expression expression, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter writer, String namespaceUri, String expressionTag, org.pentaho.reporting.libraries.xmlns.common.AttributeList expressionAttrList)
static void
writeGlobalLayoutExpressions(org.pentaho.reporting.libraries.docbundle.WriteableDocumentBundle bundle, BundleWriterState state, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter writer)
static void
writeStyleExpression(org.pentaho.reporting.libraries.docbundle.WriteableDocumentBundle bundle, BundleWriterState state, Expression expression, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter writer, StyleKey styleKey, String namespaceUri, String expressionTag)
-
-
-
Method Detail
-
isElementLayoutExpressionActive
public static boolean isElementLayoutExpressionActive(BundleWriterState state)
-
writeElementLayoutExpressions
public static void writeElementLayoutExpressions(org.pentaho.reporting.libraries.docbundle.WriteableDocumentBundle bundle, BundleWriterState state, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter writer) throws IOException, BundleWriterException
- Throws:
IOException
BundleWriterException
-
isGlobalLayoutExpressionActive
public static boolean isGlobalLayoutExpressionActive(BundleWriterState state)
-
writeGlobalLayoutExpressions
public static void writeGlobalLayoutExpressions(org.pentaho.reporting.libraries.docbundle.WriteableDocumentBundle bundle, BundleWriterState state, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter writer) throws IOException, BundleWriterException
- Throws:
IOException
BundleWriterException
-
writeDataExpressions
public static void writeDataExpressions(org.pentaho.reporting.libraries.docbundle.WriteableDocumentBundle bundle, BundleWriterState state, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter writer) throws IOException, BundleWriterException
- Throws:
IOException
BundleWriterException
-
writeExpression
public static void writeExpression(org.pentaho.reporting.libraries.docbundle.WriteableDocumentBundle bundle, BundleWriterState state, Expression expression, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter writer, String namespaceUri, String expressionTag) throws IOException, BundleWriterException
- Throws:
IOException
BundleWriterException
-
writeStyleExpression
public static void writeStyleExpression(org.pentaho.reporting.libraries.docbundle.WriteableDocumentBundle bundle, BundleWriterState state, Expression expression, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter writer, StyleKey styleKey, String namespaceUri, String expressionTag) throws IOException, BundleWriterException
- Throws:
IOException
BundleWriterException
-
writeExpressionCore
public static void writeExpressionCore(org.pentaho.reporting.libraries.docbundle.WriteableDocumentBundle bundle, BundleWriterState state, Expression expression, org.pentaho.reporting.libraries.xmlns.writer.XmlWriter writer, String namespaceUri, String expressionTag, org.pentaho.reporting.libraries.xmlns.common.AttributeList expressionAttrList) throws IOException, BundleWriterException
- Throws:
IOException
BundleWriterException
-
copyStaticResources
public static void copyStaticResources(org.pentaho.reporting.libraries.docbundle.WriteableDocumentBundle bundle, BundleWriterState state, Expression expression, BeanUtility beanUtility, ExpressionPropertyMetaData[] datas) throws BundleWriterException, BeanException
- Throws:
BundleWriterException
BeanException
-
-