public class Type extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Type.__Formatter
(Ancillary class for generating pretty-print format objects).
|
static class |
Type.__SAX_Parser
Decoder for umod's own XML serialisation.
|
static class |
Type.__SAX_Writer
Encoder for umod's own XML serialisation.
|
static class |
Type.Boolean |
static class |
Type.Error |
static class |
Type.MATCH_ONLY_00
(Ancillary class as basis for all visitors).
|
static class |
Type.NodeRel |
static class |
Type.Number |
static class |
Type.Rewriter
Visitor generated by umod according to field selection #0.
|
static class |
Type.String |
static class |
Type.XPathProperType |
static class |
Type.XPathType |
Constructor and Description |
---|
Type() |
Modifier and Type | Method and Description |
---|---|
static Format |
toFormat(Object e0)
Yields a pretty-print format for arbitrary objects.
|
static Format |
toFormat(Object e0,
Integer mode)
Yields a pretty-print format for arbitrary objects.
|
public static Format toFormat(Object e0)
e0
- the object to render.public static Format toFormat(Object e0, Integer mode)
e0
- the object to render.mode
- an integer mode selector read by the $switch$mode..
construct in format definitions. This allows small variants in the
generated pretty-print.see also the complete user documentation .