public class Inspector extends Object
Inspector is able to print objects in plain text and HTML format by default. No other formats are now supported.
Inspector comes with default implementations of ValueFormatter
s that can handle the following objects:
String
sDate
and Calendar
)ContentMap
sNode
sProperty
sCollection
sMap
sInspector uses Service Provider Interface
pattern for handling registered ValueFormatter
s.
Developers may register custom ValueFormatter
implementations the following way:
info.magnolia.templating.inspector.spi.ValueFormatter$Definition
under META-INF/services
directory.ValueFormatter
implementation.ValueFormatter
Modifier and Type | Class and Description |
---|---|
static class |
Inspector.AbstractValueFormatter<T>
Abstract implementation of the
ValueFormatter . |
static class |
Inspector.ArrayValueFormatter
Array type description.
|
static class |
Inspector.BooleanValueFormatter
Boolean type description. |
static class |
Inspector.CalendarValueFormatter
Calendar type description. |
static class |
Inspector.CharValueFormatter
Character type description. |
static class |
Inspector.CollectionValueFormatter
Collection type description. |
static class |
Inspector.ContentMapValueFormatter
ContentMap type description. |
static class |
Inspector.DateValueFormatter
Date type description. |
static class |
Inspector.MapValueFormatter
type description.
|
static class |
Inspector.NodeValueFormatter
Node type description. |
static class |
Inspector.NullValueFormatter
Type description for
null values. |
static class |
Inspector.NumberValueFormatter
Number type description. |
static class |
Inspector.ObjectValueFormatter
Object type description. |
static class |
Inspector.PropertyValueFormatter
Property type description. |
static class |
Inspector.StringValueFormatter
String type description. |
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.