com.bstek.dorado.view.output
public class ObjectOutputterDispatcher extends java.lang.Object implements Outputter, PropertyOutputter
Constructor and Description |
---|
ObjectOutputterDispatcher() |
Modifier and Type | Method and Description |
---|---|
boolean |
isEscapeable() |
boolean |
isEscapeValue(java.lang.Object value)
判断传入的数值是否该属性的默认值。
|
void |
output(java.lang.Object object,
OutputContext context)
输出组件。
|
protected void |
outputObject(java.lang.Object object,
OutputContext context) |
void |
setClientOutputHelper(ClientOutputHelper clientOutputHelper) |
void |
setDefaultObjectOutputter(Outputter defaultObjectOutputter) |
void |
setEscapeable(boolean escapeable) |
public boolean isEscapeable()
public void setEscapeable(boolean escapeable)
public void setClientOutputHelper(ClientOutputHelper clientOutputHelper)
public void setDefaultObjectOutputter(Outputter defaultObjectOutputter)
public boolean isEscapeValue(java.lang.Object value)
PropertyOutputter
isEscapeValue
in interface PropertyOutputter
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 outputObject(java.lang.Object object, OutputContext context) throws java.lang.Exception
java.lang.Exception
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.