Package eu.bandm.tools.muli.tdom
Class Matcher
java.lang.Object
eu.bandm.tools.tdom.runtime.BaseMatcher
eu.bandm.tools.muli.tdom.BaseMatcher
eu.bandm.tools.muli.tdom.Matcher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
action
(Element_entry element) protected void
action
(Element_entry.Attr_key attr) protected void
protected void
action
(Element_text element) protected void
action
(Element_text.Attr_lang attr) protected void
action
(Element_translationfile element) protected void
action
(TypedPCData pcdata) Semantic execution; can be overridden by the user when defining a particular visitor.void
protected void
protected void
phase
(int phase, boolean generalizing, boolean descending, Element_entry element) protected void
phase
(int phase, boolean generalizing, boolean descending, Element_entry.Attr_key attr) protected void
phase
(int phase, boolean generalizing, boolean descending, Element_entry.Attr_lang attr) protected void
phase
(int phase, boolean generalizing, boolean descending, Element_text element) protected void
phase
(int phase, boolean generalizing, boolean descending, Element_text.Attr_lang attr) protected void
phase
(int phase, boolean generalizing, boolean descending, Element_translationfile element) protected void
phase
(int phase, boolean generalizing, boolean descending, TypedPCData pcdata) protected void
setPhases
(int descendAt, boolean... generalize) Methods inherited from class eu.bandm.tools.tdom.runtime.BaseMatcher
match
-
Constructor Details
-
Matcher
public Matcher()
-
-
Method Details
-
action
Description copied from class:BaseMatcher
Semantic execution; can be overridden by the user when defining a particular visitor. Will always be called when aTypedPCData
is reached when traversing the model instance. This default implementation does nothing.- Overrides:
action
in classBaseMatcher
-
phase
-
match
-
setPhases
protected void setPhases(int descendAt, boolean... generalize) -
action
- Overrides:
action
in classBaseMatcher
-
phase
-
action
- Overrides:
action
in classBaseMatcher
-
phase
-
action
- Overrides:
action
in classBaseMatcher
-
phase
protected void phase(int phase, boolean generalizing, boolean descending, Element_translationfile element) -
action
- Overrides:
action
in classBaseMatcher
-
phase
-
action
- Overrides:
action
in classBaseMatcher
-
phase
protected void phase(int phase, boolean generalizing, boolean descending, Element_entry.Attr_key attr) -
action
- Overrides:
action
in classBaseMatcher
-
phase
protected void phase(int phase, boolean generalizing, boolean descending, Element_entry.Attr_lang attr) -
action
- Overrides:
action
in classBaseMatcher
-
phase
protected void phase(int phase, boolean generalizing, boolean descending, Element_text.Attr_lang attr)
-