|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.ecore.util.Switch<T> org.eclipse.ocl.examples.xtext.markup.util.MarkupSwitch<java.lang.StringBuilder> org.eclipse.ocl.examples.xtext.markup.MarkupToTree
public class MarkupToTree
MarkupToTree gives an indented textual tree presentation of the markup for debugging purposes. Each line starts with a class name followed by attributes.
Field Summary | |
---|---|
protected java.lang.StringBuilder |
s
|
Fields inherited from class org.eclipse.ocl.examples.xtext.markup.util.MarkupSwitch |
---|
modelPackage |
Constructor Summary | |
---|---|
MarkupToTree()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.eclipse.ocl.examples.xtext.markup.util.MarkupSwitch |
---|
caseFootnoteElement, caseMarkup, caseMarkupElement, caseNullElement, caseOCLCodeElement, caseOCLEvalElement, caseOCLTextElement, doSwitch, isSwitchFor |
Methods inherited from class org.eclipse.emf.ecore.util.Switch |
---|
doSwitch, doSwitch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
@NonNull protected final java.lang.StringBuilder s
Constructor Detail |
---|
public MarkupToTree()
Method Detail |
---|
@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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |