public class MarkupToTree extends MarkupSwitch<java.lang.StringBuilder>
Modifier and Type | Field and Description |
---|---|
protected java.lang.StringBuilder |
s |
modelPackage
Constructor and Description |
---|
MarkupToTree() |
Modifier and Type | Method and Description |
---|---|
protected void |
appendClass(org.eclipse.emf.ecore.EObject object) |
protected void |
appendIndented(java.lang.Iterable<MarkupElement> objects) |
protected void |
appendIndented(MarkupElement object) |
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 |
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 |
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(MarkupElement element) |
caseFootnoteElement, caseMarkup, caseMarkupElement, caseNullElement, caseOCLCodeElement, caseOCLEvalElement, caseOCLTextElement, doSwitch, isSwitchFor
@NonNull protected final java.lang.StringBuilder s
@NonNull public static java.lang.String toString(@NonNull MarkupElement element)
protected void appendClass(@NonNull org.eclipse.emf.ecore.EObject object)
protected void appendIndented(@NonNull MarkupElement object)
protected void appendIndented(@NonNull java.lang.Iterable<MarkupElement> objects)
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 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 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