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