com.bstek.dorado.view.output
public class DataOutputter extends java.lang.Object implements Outputter, PropertyOutputter
Constructor and Description |
---|
DataOutputter() |
Modifier and Type | Method and Description |
---|---|
boolean |
isEscapeValue(java.lang.Object value)
判断传入的数值是否该属性的默认值。
|
boolean |
isEvaluateExpression() |
boolean |
isIgnoreEmptyProperty() |
boolean |
isSimplePropertyValueOnly() |
void |
output(java.lang.Object object,
OutputContext context)
输出组件。
|
protected void |
outputData(java.lang.Object object,
OutputContext context) |
protected void |
outputEntity(java.lang.Object object,
OutputContext context) |
protected void |
outputEntityProperty(OutputContext context,
EntityWrapper entity,
java.lang.String property,
boolean ignoreEmptyProperty) |
protected void |
outputExpression(java.lang.String expression,
OutputContext context)
将一个EL表达式输出为JavaScript代码。
|
void |
setEvaluateExpression(boolean evaluateExpression) |
void |
setIgnoreEmptyProperty(boolean ignoreEmptyProperty) |
void |
setSimplePropertyValueOnly(boolean simplePropertyValueOnly) |
public boolean isEvaluateExpression()
public void setEvaluateExpression(boolean evaluateExpression)
public boolean isIgnoreEmptyProperty()
public void setIgnoreEmptyProperty(boolean ignoreEmptyProperty)
public boolean isSimplePropertyValueOnly()
public void setSimplePropertyValueOnly(boolean simplePropertyValueOnly)
public boolean isEscapeValue(java.lang.Object value)
PropertyOutputter
isEscapeValue
in interface PropertyOutputter
protected void outputExpression(java.lang.String expression, OutputContext context) throws java.lang.Exception
java.lang.Exception
public void output(java.lang.Object object, OutputContext context) throws java.lang.Exception
Outputter
output
in interface Outputter
output
in interface PropertyOutputter
object
- 要输出的对象。context
- 输出上下文。java.lang.Exception
protected void outputData(java.lang.Object object, OutputContext context) throws java.lang.Exception
object
- writer
- context
- java.lang.Exception
protected void outputEntity(java.lang.Object object, OutputContext context) throws java.lang.Exception
java.lang.Exception
protected void outputEntityProperty(OutputContext context, EntityWrapper entity, java.lang.String property, boolean ignoreEmptyProperty) throws java.lang.Exception
java.lang.Exception
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.