Package eu.bandm.tools.tpath.type
Class Node.__Formatter
java.lang.Object
eu.bandm.tools.tpath.type.Node.MATCH_ONLY_00
eu.bandm.tools.tpath.type.Node.__Formatter
- Enclosing class:
- Node
(Ancillary class for generating pretty-print format objects).
The user invokes the methods
The user invokes the methods
format()
in
the various model element classes, or Node.toFormat(Object)
in the main model class.
This class works only in the background.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Format
protected static final Format
protected static final Format
protected static final Format
protected static final Format
protected static final Format
protected static final Format
protected static final Format
protected static final Format
protected static final Format
protected static final Format
protected static final Format
protected static final Format
protected static final Format
protected static final Format
protected static final Format
protected static final Format
protected static final Format
protected static final Format
protected static final Format
int
protected static final Format
int
static String
protected Format
Fields inherited from class eu.bandm.tools.tpath.type.Node.MATCH_ONLY_00
_visitor_debug_stream, partial
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Format
protected void
action
(Node.Attribute el) protected void
action
(Node.AttType el) protected void
action
(Node.AttValue el) protected void
action
(Node.CData el) protected void
action
(Node.Comment el) protected void
action
(Node.Default el) protected void
action
(Node.Element el) protected void
action
(Node.Entities el) protected void
action
(Node.Entity el) protected void
protected void
protected void
action
(Node.IdRef el) protected void
action
(Node.IdRefs el) protected void
action
(Node.Implied el) protected void
action
(Node.NamedType el) protected void
protected void
action
(Node.NmToken el) protected void
action
(Node.NmTokens el) protected void
action
(Node.NodeType el) protected void
protected void
action
(Node.Required el) protected void
protected void
protected void
defaultformat
(Object e0) protected void
foreignObject
(Object e0) Delivers a Format for an object of any class.protected int
getKey()
protected Format
matchChecked
(Object e0) protected Format
void
static Format
protected Format
protected Format
toFormat
(Node.AttType el) protected Format
protected Format
toFormat
(Node.CData el) protected Format
toFormat
(Node.Comment el) protected Format
toFormat
(Node.Default el) protected Format
toFormat
(Node.Element el) protected Format
protected Format
toFormat
(Node.Entity el) protected Format
protected Format
protected Format
toFormat
(Node.IdRef el) protected Format
toFormat
(Node.IdRefs el) protected Format
toFormat
(Node.Implied el) protected Format
protected Format
protected Format
toFormat
(Node.NmToken el) protected Format
protected Format
protected Format
protected Format
protected Format
protected Format
protected Format
-
Field Details
-
nulltext
-
process
-
default_indent
public int default_indent -
mode
public int mode -
format_empty
-
result
-
CONST_0
-
CONST_1
-
CONST_2
-
CONST_3
-
CONST_4
-
CONST_5
-
CONST_6
-
CONST_7
-
CONST_8
-
CONST_9
-
CONST_10
-
CONST_11
-
CONST_12
-
CONST_13
-
CONST_14
-
CONST_15
-
CONST_16
-
CONST_17
-
CONST_18
-
CONST_19
-
-
Constructor Details
-
__Formatter
public __Formatter()
-
-
Method Details
-
getKey
protected int getKey() -
foreignObject
Delivers a Format for an object of any class.- Overrides:
foreignObject
in classNode.MATCH_ONLY_00
-
nomatch
- Overrides:
nomatch
in classNode.MATCH_ONLY_00
-
process
-
toFormat
-
defaultformat
-
__throwIt
-
matchChecked
-
matchCheckedString
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classNode.MATCH_ONLY_00
-