public class MarkupToString extends MarkupSwitch<StringBuilder>
Constructor and Description |
---|
MarkupToString() |
Modifier and Type | Method and Description |
---|---|
StringBuilder |
caseBulletElement(BulletElement object)
Returns the result of interpreting the object as an instance of 'Bullet Element'.
|
StringBuilder |
caseCompoundElement(CompoundElement object)
Returns the result of interpreting the object as an instance of 'Compound Element'.
|
StringBuilder |
caseFigureElement(FigureElement object)
Returns the result of interpreting the object as an instance of 'Figure Element'.
|
StringBuilder |
caseFigureRefElement(FigureRefElement object)
Returns the result of interpreting the object as an instance of 'Figure Ref Element'.
|
StringBuilder |
caseFontElement(FontElement object)
Returns the result of interpreting the object as an instance of 'Font Element'.
|
StringBuilder |
caseFootnoteElement(FootnoteElement object)
Returns the result of interpreting the object as an instance of 'Footnote Element'.
|
StringBuilder |
caseHeadingElement(HeadingElement object)
Returns the result of interpreting the object as an instance of 'Heading Element'.
|
StringBuilder |
caseNewLineElement(NewLineElement object)
Returns the result of interpreting the object as an instance of 'New Line Element'.
|
StringBuilder |
caseNullElement(NullElement object)
Returns the result of interpreting the object as an instance of 'Null Element'.
|
StringBuilder |
caseOCLCodeElement(OCLCodeElement object)
Returns the result of interpreting the object as an instance of 'OCL Code Element'.
|
StringBuilder |
caseOCLEvalElement(OCLEvalElement object)
Returns the result of interpreting the object as an instance of 'OCL Eval Element'.
|
StringBuilder |
caseOCLTextElement(OCLTextElement object)
Returns the result of interpreting the object as an instance of 'OCL Text Element'.
|
StringBuilder |
caseTextElement(TextElement object)
Returns the result of interpreting the object as an instance of 'Text Element'.
|
StringBuilder |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
String |
toString() |
static String |
toString(List<MarkupElement> elements) |
static String |
toString(MarkupElement element) |
caseMarkup, caseMarkupElement
public static String toString(MarkupElement element)
public static String toString(List<MarkupElement> elements)
public StringBuilder caseBulletElement(BulletElement object)
MarkupSwitch
caseBulletElement
in class MarkupSwitch<StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public StringBuilder caseCompoundElement(CompoundElement object)
MarkupSwitch
caseCompoundElement
in class MarkupSwitch<StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public StringBuilder caseFigureElement(FigureElement object)
MarkupSwitch
caseFigureElement
in class MarkupSwitch<StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public StringBuilder caseFigureRefElement(FigureRefElement object)
MarkupSwitch
caseFigureRefElement
in class MarkupSwitch<StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public StringBuilder caseFontElement(FontElement object)
MarkupSwitch
caseFontElement
in class MarkupSwitch<StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public StringBuilder caseFootnoteElement(FootnoteElement object)
MarkupSwitch
caseFootnoteElement
in class MarkupSwitch<StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public StringBuilder caseHeadingElement(HeadingElement object)
MarkupSwitch
caseHeadingElement
in class MarkupSwitch<StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public StringBuilder caseNewLineElement(NewLineElement object)
MarkupSwitch
caseNewLineElement
in class MarkupSwitch<StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public StringBuilder caseNullElement(NullElement object)
MarkupSwitch
caseNullElement
in class MarkupSwitch<StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public StringBuilder caseOCLCodeElement(OCLCodeElement object)
MarkupSwitch
caseOCLCodeElement
in class MarkupSwitch<StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public StringBuilder caseOCLEvalElement(OCLEvalElement object)
MarkupSwitch
caseOCLEvalElement
in class MarkupSwitch<StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public StringBuilder caseOCLTextElement(OCLTextElement object)
MarkupSwitch
caseOCLTextElement
in class MarkupSwitch<StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public StringBuilder caseTextElement(TextElement object)
MarkupSwitch
caseTextElement
in class MarkupSwitch<StringBuilder>
object
- the target of the switch.doSwitch(EObject)
public StringBuilder defaultCase(EObject object)
MarkupSwitch
defaultCase
in class MarkupSwitch<StringBuilder>
object
- the target of the switch.#doSwitch(org.eclipse.emf.ecore.EObject)
public String toString()
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.