public static class Node.__Formatter extends Node.MATCH_ONLY_00
format()
in
the various model element classes, or Node.toFormat(Object)
in the main model class.
This class works only in the background.Modifier and Type | Field and Description |
---|---|
protected static Format |
CONST_0 |
protected static Format |
CONST_1 |
protected static Format |
CONST_10 |
protected static Format |
CONST_11 |
protected static Format |
CONST_12 |
protected static Format |
CONST_13 |
protected static Format |
CONST_14 |
protected static Format |
CONST_15 |
protected static Format |
CONST_16 |
protected static Format |
CONST_17 |
protected static Format |
CONST_18 |
protected static Format |
CONST_19 |
protected static Format |
CONST_2 |
protected static Format |
CONST_3 |
protected static Format |
CONST_4 |
protected static Format |
CONST_5 |
protected static Format |
CONST_6 |
protected static Format |
CONST_7 |
protected static Format |
CONST_8 |
protected static Format |
CONST_9 |
int |
default_indent |
protected static Format |
format_empty |
int |
mode |
static String |
nulltext |
static Function<Object,Format> |
process |
protected Format |
result |
_visitor_debug_stream, partial
Constructor and Description |
---|
__Formatter() |
public static String nulltext
public int default_indent
public int mode
protected static final Format format_empty
protected Format result
protected static final Format CONST_0
protected static final Format CONST_1
protected static final Format CONST_2
protected static final Format CONST_3
protected static final Format CONST_4
protected static final Format CONST_5
protected static final Format CONST_6
protected static final Format CONST_7
protected static final Format CONST_8
protected static final Format CONST_9
protected static final Format CONST_10
protected static final Format CONST_11
protected static final Format CONST_12
protected static final Format CONST_13
protected static final Format CONST_14
protected static final Format CONST_15
protected static final Format CONST_16
protected static final Format CONST_17
protected static final Format CONST_18
protected static final Format CONST_19
protected int getKey()
protected void foreignObject(Object e0)
foreignObject
in class Node.MATCH_ONLY_00
public void nomatch(Object e0)
nomatch
in class Node.MATCH_ONLY_00
protected void defaultformat(Object e0)
protected Format __throwIt()
protected Format toFormat(Node.NodeType el)
protected void action(Node.NodeType el)
action
in class Node.MATCH_ONLY_00
protected Format toFormat(Node.NamedType el)
protected void action(Node.NamedType el)
action
in class Node.MATCH_ONLY_00
protected Format toFormat(Node.Element el)
protected void action(Node.Element el)
action
in class Node.MATCH_ONLY_00
protected Format toFormat(Node.Attribute el)
protected void action(Node.Attribute el)
action
in class Node.MATCH_ONLY_00
protected void action(Node.Root el)
action
in class Node.MATCH_ONLY_00
protected Format toFormat(Node.Comment el)
protected void action(Node.Comment el)
action
in class Node.MATCH_ONLY_00
protected Format toFormat(Node.ProcessingInstruction el)
protected void action(Node.ProcessingInstruction el)
action
in class Node.MATCH_ONLY_00
protected void action(Node.Text el)
action
in class Node.MATCH_ONLY_00
protected Format toFormat(Node.NamespaceDecl el)
protected void action(Node.NamespaceDecl el)
action
in class Node.MATCH_ONLY_00
protected Format toFormat(Node.AttType el)
protected void action(Node.AttType el)
action
in class Node.MATCH_ONLY_00
protected Format toFormat(Node.CData el)
protected void action(Node.CData el)
action
in class Node.MATCH_ONLY_00
protected Format toFormat(Node.NmToken el)
protected void action(Node.NmToken el)
action
in class Node.MATCH_ONLY_00
protected Format toFormat(Node.NmTokens el)
protected void action(Node.NmTokens el)
action
in class Node.MATCH_ONLY_00
protected void action(Node.Id el)
action
in class Node.MATCH_ONLY_00
protected Format toFormat(Node.IdRef el)
protected void action(Node.IdRef el)
action
in class Node.MATCH_ONLY_00
protected Format toFormat(Node.IdRefs el)
protected void action(Node.IdRefs el)
action
in class Node.MATCH_ONLY_00
protected Format toFormat(Node.Entity el)
protected void action(Node.Entity el)
action
in class Node.MATCH_ONLY_00
protected Format toFormat(Node.Entities el)
protected void action(Node.Entities el)
action
in class Node.MATCH_ONLY_00
protected Format toFormat(Node.Enumerated el)
protected void action(Node.Enumerated el)
action
in class Node.MATCH_ONLY_00
protected Format toFormat(Node.AttValue el)
protected void action(Node.AttValue el)
action
in class Node.MATCH_ONLY_00
protected Format toFormat(Node.Required el)
protected void action(Node.Required el)
action
in class Node.MATCH_ONLY_00
protected Format toFormat(Node.Implied el)
protected void action(Node.Implied el)
action
in class Node.MATCH_ONLY_00
protected Format toFormat(Node.Default el)
protected void action(Node.Default el)
action
in class Node.MATCH_ONLY_00
see also the complete user documentation .