Class DefaultPrettyPrinter
- java.lang.Object
-
- org.eclipse.epsilon.eol.execute.prettyprinting.DefaultPrettyPrinter
-
- All Implemented Interfaces:
PrettyPrinter
public class DefaultPrettyPrinter extends java.lang.Object implements PrettyPrinter
-
-
Field Summary
Fields Modifier and Type Field Description protected PrettyPrinterManager
manager
protected int
maximumCollectionSize
-
Constructor Summary
Constructors Constructor Description DefaultPrettyPrinter(PrettyPrinterManager manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
appliesTo(java.lang.Object o)
int
getMaximumCollectionSize()
java.lang.String
print(java.lang.Object o)
void
setMaximumCollectionSize(int maximumCollectionSize)
-
-
-
Field Detail
-
manager
protected PrettyPrinterManager manager
-
maximumCollectionSize
protected int maximumCollectionSize
-
-
Constructor Detail
-
DefaultPrettyPrinter
public DefaultPrettyPrinter(PrettyPrinterManager manager)
-
-
Method Detail
-
appliesTo
public boolean appliesTo(java.lang.Object o)
- Specified by:
appliesTo
in interfacePrettyPrinter
-
print
public java.lang.String print(java.lang.Object o)
- Specified by:
print
in interfacePrettyPrinter
-
getMaximumCollectionSize
public int getMaximumCollectionSize()
-
setMaximumCollectionSize
public void setMaximumCollectionSize(int maximumCollectionSize)
-
-