public class Node extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Node.__Formatter
(Ancillary class for generating pretty-print format objects).
|
static class |
Node.__SAX_Parser
Decoder for umod's own XML serialisation.
|
static class |
Node.__SAX_Writer
Encoder for umod's own XML serialisation.
|
static class |
Node.Attribute |
static class |
Node.AttType |
static class |
Node.AttValue |
static class |
Node.CData |
static class |
Node.Comment |
static class |
Node.Default |
static class |
Node.Element |
static class |
Node.Entities |
static class |
Node.Entity |
static class |
Node.Enumerated |
static class |
Node.Id |
static class |
Node.IdRef |
static class |
Node.IdRefs |
static class |
Node.Implied |
static class |
Node.MATCH_ONLY_00
(Ancillary class as basis for all visitors).
|
static class |
Node.NamedType |
static class |
Node.NamespaceDecl |
static class |
Node.NmToken |
static class |
Node.NmTokens |
static class |
Node.NodeType |
static class |
Node.ProcessingInstruction |
static class |
Node.Required |
static class |
Node.Root |
static class |
Node.Text |
Constructor and Description |
---|
Node() |
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 .