public class MarkupToString extends MarkupSwitch<java.lang.StringBuilder>
Modifier and Type | Field and Description |
---|---|
protected java.lang.StringBuilder |
s |
modelPackage
Constructor and Description |
---|
MarkupToString() |
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuilder |
caseBulletElement(BulletElement object)
Returns the result of interpreting the object as an instance of 'Bullet Element'.
|
java.lang.StringBuilder |
caseCompoundElement(CompoundElement object)
Returns the result of interpreting the object as an instance of 'Compound Element'.
|
java.lang.StringBuilder |
caseFigureElement(FigureElement object)
Returns the result of interpreting the object as an instance of 'Figure Element'.
|
java.lang.StringBuilder |
caseFigureRefElement(FigureRefElement object)
Returns the result of interpreting the object as an instance of 'Figure Ref Element'.
|
java.lang.StringBuilder |
caseFontElement(FontElement object)
Returns the result of interpreting the object as an instance of 'Font Element'.
|
java.lang.StringBuilder |
caseFootnoteElement(FootnoteElement object)
Returns the result of interpreting the object as an instance of 'Footnote Element'.
|
java.lang.StringBuilder |
caseHeadingElement(HeadingElement object)
Returns the result of interpreting the object as an instance of 'Heading Element'.
|
java.lang.StringBuilder |
caseNewLineElement(NewLineElement object)
Returns the result of interpreting the object as an instance of 'New Line Element'.
|
java.lang.StringBuilder |
caseNullElement(NullElement object)
Returns the result of interpreting the object as an instance of 'Null Element'.
|
java.lang.StringBuilder |
caseOCLCodeElement(OCLCodeElement object)
Returns the result of interpreting the object as an instance of 'OCL Code Element'.
|
java.lang.StringBuilder |
caseOCLEvalElement(OCLEvalElement object)
Returns the result of interpreting the object as an instance of 'OCL Eval Element'.
|
java.lang.StringBuilder |
caseOCLTextElement(OCLTextElement object)
Returns the result of interpreting the object as an instance of 'OCL Text Element'.
|
java.lang.StringBuilder |
caseTextElement(TextElement object)
Returns the result of interpreting the object as an instance of 'Text Element'.
|
java.lang.StringBuilder |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
java.lang.String |
toString() |
static java.lang.String |
toString(java.util.List<MarkupElement> elements) |
static java.lang.String |
toString(MarkupElement element) |
caseMarkup, caseMarkupElement, doSwitch, isSwitchFor
@NonNull public static java.lang.String toString(@NonNull MarkupElement element)
@NonNull public static java.lang.String toString(@NonNull java.util.List<MarkupElement> elements)
public java.lang.StringBuilder caseBulletElement(BulletElement object)
MarkupSwitch
caseBulletElement
in class MarkupSwitch<java.lang.StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public java.lang.StringBuilder caseCompoundElement(CompoundElement object)
MarkupSwitch
caseCompoundElement
in class MarkupSwitch<java.lang.StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public java.lang.StringBuilder caseFigureElement(FigureElement object)
MarkupSwitch
caseFigureElement
in class MarkupSwitch<java.lang.StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public java.lang.StringBuilder caseFigureRefElement(FigureRefElement object)
MarkupSwitch
caseFigureRefElement
in class MarkupSwitch<java.lang.StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public java.lang.StringBuilder caseFontElement(FontElement object)
MarkupSwitch
caseFontElement
in class MarkupSwitch<java.lang.StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public java.lang.StringBuilder caseFootnoteElement(FootnoteElement object)
MarkupSwitch
caseFootnoteElement
in class MarkupSwitch<java.lang.StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public java.lang.StringBuilder caseHeadingElement(HeadingElement object)
MarkupSwitch
caseHeadingElement
in class MarkupSwitch<java.lang.StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public java.lang.StringBuilder caseNewLineElement(NewLineElement object)
MarkupSwitch
caseNewLineElement
in class MarkupSwitch<java.lang.StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public java.lang.StringBuilder caseNullElement(NullElement object)
MarkupSwitch
caseNullElement
in class MarkupSwitch<java.lang.StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public java.lang.StringBuilder caseOCLCodeElement(OCLCodeElement object)
MarkupSwitch
caseOCLCodeElement
in class MarkupSwitch<java.lang.StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public java.lang.StringBuilder caseOCLEvalElement(OCLEvalElement object)
MarkupSwitch
caseOCLEvalElement
in class MarkupSwitch<java.lang.StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public java.lang.StringBuilder caseOCLTextElement(OCLTextElement object)
MarkupSwitch
caseOCLTextElement
in class MarkupSwitch<java.lang.StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public java.lang.StringBuilder caseTextElement(TextElement object)
MarkupSwitch
caseTextElement
in class MarkupSwitch<java.lang.StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public java.lang.StringBuilder defaultCase(org.eclipse.emf.ecore.EObject object)
MarkupSwitch
defaultCase
in class MarkupSwitch<java.lang.StringBuilder>
object
- the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)
public java.lang.String toString()
toString
in class java.lang.Object