Package org.eclipse.epsilon.flexmi
Interface FlexmiParser
- All Known Implementing Classes:
FlexmiXmlParser
,FlexmiYamlParser
public interface FlexmiParser
-
Method Summary
Modifier and TypeMethodDescriptionparse
(InputStream inputStream) Performs the actual parsing of the input contents into a DOMvoid
parse
(FlexmiResource resource, InputStream inputStream, FlexmiXmlParser.Handler handler) Starts the parsing of a Flexmi resourcevoid
parse
(FlexmiResource resource, org.eclipse.emf.common.util.URI uri, InputStream inputStream, FlexmiXmlParser.Handler handler, boolean processDocument) Allows parsing included fragments that have a different URI and do not require startDocument events
-
Method Details
-
parse
void parse(FlexmiResource resource, InputStream inputStream, FlexmiXmlParser.Handler handler) throws FlexmiParseException Starts the parsing of a Flexmi resource- Throws:
FlexmiParseException
-
parse
void parse(FlexmiResource resource, org.eclipse.emf.common.util.URI uri, InputStream inputStream, FlexmiXmlParser.Handler handler, boolean processDocument) throws Exception Allows parsing included fragments that have a different URI and do not require startDocument events- Throws:
Exception
-
parse
Performs the actual parsing of the input contents into a DOM- Throws:
Exception
-
getFlavour
FlexmiFlavour getFlavour()
-