Class PrettyPrinterManager
- java.lang.Object
-
- org.eclipse.epsilon.eol.execute.prettyprinting.PrettyPrinterManager
-
public class PrettyPrinterManager extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected DefaultPrettyPrinter
defaultPrettyPrinter
protected java.util.ArrayList<PrettyPrinter>
prettyPrinters
-
Constructor Summary
Constructors Constructor Description PrettyPrinterManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addPrettyPrinter(PrettyPrinter prettyPrinter)
PrettyPrinter
getPrettyPrinterFor(java.lang.Object o)
Deprecated.External clients should use print(Object object) insteadjava.util.List<PrettyPrinter>
getPrettyPrinters()
java.lang.String
print(java.lang.Object object)
java.lang.String
toString(java.lang.Object o)
-
-
-
Field Detail
-
prettyPrinters
protected java.util.ArrayList<PrettyPrinter> prettyPrinters
-
defaultPrettyPrinter
protected DefaultPrettyPrinter defaultPrettyPrinter
-
-
Method Detail
-
getPrettyPrinters
public java.util.List<PrettyPrinter> getPrettyPrinters()
-
addPrettyPrinter
public void addPrettyPrinter(PrettyPrinter prettyPrinter)
-
getPrettyPrinterFor
public PrettyPrinter getPrettyPrinterFor(java.lang.Object o)
Deprecated.External clients should use print(Object object) insteadReturns a pretty printer for o- Parameters:
o
-- Returns:
- A pretty printer for o
-
print
public java.lang.String print(java.lang.Object object)
-
toString
public java.lang.String toString(java.lang.Object o)
-
-