flex.messaging.util
Class BasicPrettyPrinter

java.lang.Object
  extended by flex.messaging.util.BasicPrettyPrinter
All Implemented Interfaces:
PrettyPrinter, Cloneable
Direct Known Subclasses:
ToStringPrettyPrinter

public class BasicPrettyPrinter
extends Object
implements PrettyPrinter, Cloneable

Prettifies the representation of an Object as a String. Complex types are not traversed.


Constructor Summary
BasicPrettyPrinter()
           
 
Method Summary
 Object clone()
           
 String prettify(Object o)
          Prettifies the representation of an Object as a String.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicPrettyPrinter

public BasicPrettyPrinter()
Method Detail

prettify

public String prettify(Object o)
Prettifies the representation of an Object as a String.

Specified by:
prettify in interface PrettyPrinter
Returns:
A prettified version of an Object as a String.

clone

public Object clone()
Specified by:
clone in interface PrettyPrinter
Overrides:
clone in class Object


Copyright © 2008 Adobe Systems Inc. All Rights Reserved.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/util/BasicPrettyPrinter.html