Package eu.bandm.tools.tpath.type
Class Type.__Formatter
java.lang.Object
eu.bandm.tools.tpath.type.Type.MATCH_ONLY_00
eu.bandm.tools.tpath.type.Type.__Formatter
- Enclosing class:
- Type
(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 Type.toFormat(Object)
in the main model class.
This class works only in the background.-
Field Summary
Modifier and TypeFieldDescriptionprotected 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.Type.MATCH_ONLY_00
_visitor_debug_stream, partial
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Format
protected void
action
(Type.Boolean el) protected void
action
(Type.Error el) protected void
action
(Type.NodeRel el) protected void
action
(Type.Number el) protected void
action
(Type.String el) protected void
protected void
action
(Type.XPathType el) 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
toFormat
(Type.Boolean el) protected Format
toFormat
(Type.Error el) protected Format
toFormat
(Type.NodeRel el) protected Format
toFormat
(Type.Number el) protected Format
toFormat
(Type.String el) 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
-
-
Constructor Details
-
__Formatter
public __Formatter()
-
-
Method Details
-
getKey
protected int getKey() -
foreignObject
Delivers a Format for an object of any class.- Overrides:
foreignObject
in classType.MATCH_ONLY_00
-
nomatch
- Overrides:
nomatch
in classType.MATCH_ONLY_00
-
process
-
toFormat
-
defaultformat
-
__throwIt
-
matchChecked
-
matchCheckedString
-
toFormat
-
action
- Overrides:
action
in classType.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classType.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classType.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classType.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classType.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classType.MATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classType.MATCH_ONLY_00
-