Package org.eclipse.epsilon.flexmi.yaml
Class FlexmiYamlParser
java.lang.Object
org.eclipse.epsilon.flexmi.xml.FlexmiXmlParser
org.eclipse.epsilon.flexmi.yaml.FlexmiYamlParser
- All Implemented Interfaces:
FlexmiParser
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.epsilon.flexmi.xml.FlexmiXmlParser
FlexmiXmlParser.Handler
-
Field Summary
Fields inherited from class org.eclipse.epsilon.flexmi.xml.FlexmiXmlParser
resource, uri
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isSlot
(org.yaml.snakeyaml.nodes.ScalarNode node) static void
parse
(InputStream inputStream) Performs the actual parsing of the input contents into a DOMprotected Document
toDocument
(org.yaml.snakeyaml.nodes.Node node) protected Element
protected Element
toElement
(Document document, org.yaml.snakeyaml.nodes.ScalarNode nameNode, org.yaml.snakeyaml.nodes.Node node) protected String
Methods inherited from class org.eclipse.epsilon.flexmi.xml.FlexmiXmlParser
isFlexmiRootNode, isTemplate, parse, parse, visit
-
Constructor Details
-
FlexmiYamlParser
public FlexmiYamlParser()
-
-
Method Details
-
main
- Throws:
Exception
-
parse
Description copied from interface:FlexmiParser
Performs the actual parsing of the input contents into a DOM- Specified by:
parse
in interfaceFlexmiParser
- Overrides:
parse
in classFlexmiXmlParser
- Throws:
Exception
-
getFlavour
- Specified by:
getFlavour
in interfaceFlexmiParser
- Overrides:
getFlavour
in classFlexmiXmlParser
-
toDocument
- Throws:
Exception
-
toElement
-
toElement
-
isSlot
protected boolean isSlot(org.yaml.snakeyaml.nodes.ScalarNode node) -
toXml
-