public class ObjectTrace extends Object
| Modifier and Type | Field and Description |
|---|---|
protected StringBuffer |
buffer |
protected int |
m_indent |
protected int |
m_nested |
static String |
newLine |
boolean |
nextElementExclude |
| Constructor and Description |
|---|
ObjectTrace() |
ObjectTrace(int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
arrayElement(int index) |
void |
endArray() |
void |
endObject() |
protected String |
indentString()
Uses the static member, m_indent to create a string of spaces of
the appropriate indentation.
|
void |
namedElement(String name) |
void |
newLine() |
void |
startArray(String header) |
void |
startObject(String header) |
String |
toString() |
void |
write(Object o) |
void |
writeNull() |
void |
writeRef(int ref) |
void |
writeString(String s) |
public boolean nextElementExclude
protected StringBuffer buffer
protected int m_indent
protected int m_nested
public static String newLine
public void write(Object o)
public void writeNull()
public void writeRef(int ref)
public void writeString(String s)
public void startArray(String header)
public void arrayElement(int index)
public void endArray()
public void startObject(String header)
public void namedElement(String name)
public void endObject()
public void newLine()
protected String indentString()
Copyright © 2015 The Apache Software Foundation. All rights reserved.