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 booleanisSlot(org.yaml.snakeyaml.nodes.ScalarNode node) static voidparse(InputStream inputStream) Performs the actual parsing of the input contents into a DOMprotected DocumenttoDocument(org.yaml.snakeyaml.nodes.Node node) protected Elementprotected ElementtoElement(Document document, org.yaml.snakeyaml.nodes.ScalarNode nameNode, org.yaml.snakeyaml.nodes.Node node) protected StringMethods 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:FlexmiParserPerforms the actual parsing of the input contents into a DOM- Specified by:
parsein interfaceFlexmiParser- Overrides:
parsein classFlexmiXmlParser- Throws:
Exception
-
getFlavour
- Specified by:
getFlavourin interfaceFlexmiParser- Overrides:
getFlavourin classFlexmiXmlParser
-
toDocument
- Throws:
Exception
-
toElement
-
toElement
-
isSlot
protected boolean isSlot(org.yaml.snakeyaml.nodes.ScalarNode node) -
toXml
-