com.bstek.dorado.view.output
public class ClientObjectOutputter extends ObjectOutputter
Constructor and Description |
---|
ClientObjectOutputter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPrototype()
返回该对象在客户端中的类型名。
|
java.lang.String |
getShortTypeName() |
boolean |
isUsePrototype() |
protected void |
outputObject(java.lang.Object object,
OutputContext context)
将一个Java的POJO对象输出成为JSON对象。
|
void |
setPrototype(java.lang.String prototype)
设置该对象在客户端中的类型名。
|
void |
setShortTypeName(java.lang.String shortTypeName) |
void |
setUsePrototype(boolean usePrototype) |
getEscapeMode, getPropertieConfigs, isEscapeable, output, outputObjectProperties, setEscapeMode, setPropertieConfigs
public boolean isUsePrototype()
public void setUsePrototype(boolean usePrototype)
public java.lang.String getShortTypeName()
public void setShortTypeName(java.lang.String shortTypeName)
public java.lang.String getPrototype()
public void setPrototype(java.lang.String prototype)
protected void outputObject(java.lang.Object object, OutputContext context) throws java.io.IOException, java.lang.Exception
outputObject
in class ObjectOutputter
java.io.IOException
java.lang.Exception
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.