com.bstek.dorado.view.type.property
public class MappingPropertyOutputter extends DataOutputter
Constructor and Description |
---|
MappingPropertyOutputter() |
Modifier and Type | Method and Description |
---|---|
boolean |
isEscapeValue(java.lang.Object value)
判断传入的数值是否该属性的默认值。
|
void |
output(java.lang.Object value,
OutputContext context)
输出组件。
|
protected void |
outputArray(Mapping mapping,
java.lang.Object elements,
OutputContext context) |
protected void |
outputCollection(Mapping mapping,
java.util.Collection mapValues,
OutputContext context) |
protected void |
outputMap(java.util.Map mapValues,
OutputContext context) |
isEvaluateExpression, isIgnoreEmptyProperty, isSimplePropertyValueOnly, outputData, outputEntity, outputEntityProperty, outputExpression, setEvaluateExpression, setIgnoreEmptyProperty, setSimplePropertyValueOnly
public boolean isEscapeValue(java.lang.Object value)
PropertyOutputter
isEscapeValue
in interface PropertyOutputter
isEscapeValue
in class DataOutputter
public void output(java.lang.Object value, OutputContext context) throws java.lang.Exception
Outputter
output
in interface Outputter
output
in interface PropertyOutputter
output
in class DataOutputter
value
- 要输出的对象。context
- 输出上下文。java.lang.Exception
protected void outputCollection(Mapping mapping, java.util.Collection mapValues, OutputContext context) throws java.lang.Exception
java.lang.Exception
protected void outputArray(Mapping mapping, java.lang.Object elements, OutputContext context) throws java.lang.Exception
java.lang.Exception
protected void outputMap(java.util.Map mapValues, OutputContext context) throws java.lang.Exception
java.lang.Exception
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.