public class ERXXmlRestWriter extends java.lang.Object implements IERXRestWriter
| Properties | |
ERXRest.suppressTypeAttributesForSimpleTypes | (default "false") If set to true, primitive types, like type = "datetime", won't be added to the output |
| Boolean property to enable null values in return. Defaults
to true. |
| Constructor and Description |
|---|
ERXXmlRestWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendArrayToResponse(ERXRestRequestNode node,
IERXRestResponse response,
int indent,
ERXRestFormat.Delegate delegate,
ERXRestContext context) |
protected void |
appendAttributesToResponse(ERXRestRequestNode node,
IERXRestResponse response,
ERXRestContext context) |
protected void |
appendDictionaryToResponse(ERXRestRequestNode node,
IERXRestResponse response,
int indent,
ERXRestFormat.Delegate delegate,
ERXRestContext context) |
void |
appendHeadersToResponse(ERXRestRequestNode node,
IERXRestResponse response,
ERXRestContext context)
Called at the end of a request to produce the output to the user.
|
protected void |
appendNodeToResponse(ERXRestRequestNode node,
IERXRestResponse response,
int indent,
ERXRestFormat.Delegate delegate,
ERXRestContext context) |
void |
appendToResponse(ERXRestRequestNode node,
IERXRestResponse response,
ERXRestFormat.Delegate delegate,
ERXRestContext context)
Called at the end of a request to produce the output to the user.
|
protected void |
appendTypeToResponse(java.lang.Object value,
IERXRestResponse response) |
protected void |
appendValueToResponse(ERXRestRequestNode node,
IERXRestResponse response,
int indent,
ERXRestContext context) |
protected java.lang.String |
coerceValueToString(java.lang.Object value,
ERXRestContext context) |
protected void |
indent(IERXRestResponse response,
int indent) |
public void appendHeadersToResponse(ERXRestRequestNode node, IERXRestResponse response, ERXRestContext context)
IERXRestWriterappendHeadersToResponse in interface IERXRestWriternode - the node to renderresponse - the response to write intopublic void appendToResponse(ERXRestRequestNode node, IERXRestResponse response, ERXRestFormat.Delegate delegate, ERXRestContext context)
IERXRestWriterappendToResponse in interface IERXRestWriternode - the node to renderresponse - the response to write intoprotected java.lang.String coerceValueToString(java.lang.Object value,
ERXRestContext context)
protected void appendNodeToResponse(ERXRestRequestNode node, IERXRestResponse response, int indent, ERXRestFormat.Delegate delegate, ERXRestContext context)
protected void appendValueToResponse(ERXRestRequestNode node, IERXRestResponse response, int indent, ERXRestContext context)
protected void appendAttributesToResponse(ERXRestRequestNode node, IERXRestResponse response, ERXRestContext context)
protected void appendDictionaryToResponse(ERXRestRequestNode node, IERXRestResponse response, int indent, ERXRestFormat.Delegate delegate, ERXRestContext context)
protected void appendTypeToResponse(java.lang.Object value,
IERXRestResponse response)
protected void appendArrayToResponse(ERXRestRequestNode node, IERXRestResponse response, int indent, ERXRestFormat.Delegate delegate, ERXRestContext context)
protected void indent(IERXRestResponse response, int indent)
Copyright © 2002 – 2022 Project Wonder.