Package com._1c.g5.modeling.xml.parser
Class XmlParserAdapter
- java.lang.Object
-
- com._1c.g5.modeling.xml.parser.XmlParserAdapter
-
- All Implemented Interfaces:
IXmlParser
,org.eclipse.emf.ecore.xmi.XMLLoad
- Direct Known Subclasses:
AbstractSaxXmlParser
,AbstractStaxXmlParser
public abstract class XmlParserAdapter extends Object implements org.eclipse.emf.ecore.xmi.XMLLoad, IXmlParser
-
-
Field Summary
-
Fields inherited from interface com._1c.g5.modeling.xml.parser.IXmlParser
OPTION_USE_SYMLINK
-
-
Constructor Summary
Constructors Constructor Description XmlParserAdapter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.ecore.xmi.XMLDefaultHandler
createDefaultHandler()
abstract void
init(org.eclipse.emf.ecore.xmi.XMLHelper helper, Map<?,?> options)
void
load(org.eclipse.emf.ecore.xmi.XMLResource resource, InputStream inputStream, Map<?,?> options)
void
load(org.eclipse.emf.ecore.xmi.XMLResource resource, Node node, Map<?,?> options)
void
load(org.eclipse.emf.ecore.xmi.XMLResource resource, InputSource inputSource, Map<?,?> options)
ParseResult
parse(InputStream inputStream)
-
-
-
Method Detail
-
load
public void load(org.eclipse.emf.ecore.xmi.XMLResource resource, InputStream inputStream, Map<?,?> options) throws IOException
- Specified by:
load
in interfaceorg.eclipse.emf.ecore.xmi.XMLLoad
- Throws:
IOException
-
load
public void load(org.eclipse.emf.ecore.xmi.XMLResource resource, InputSource inputSource, Map<?,?> options) throws IOException
- Specified by:
load
in interfaceorg.eclipse.emf.ecore.xmi.XMLLoad
- Throws:
IOException
-
load
public void load(org.eclipse.emf.ecore.xmi.XMLResource resource, Node node, Map<?,?> options) throws IOException
- Specified by:
load
in interfaceorg.eclipse.emf.ecore.xmi.XMLLoad
- Throws:
IOException
-
createDefaultHandler
public org.eclipse.emf.ecore.xmi.XMLDefaultHandler createDefaultHandler()
- Specified by:
createDefaultHandler
in interfaceorg.eclipse.emf.ecore.xmi.XMLLoad
-
parse
public ParseResult parse(InputStream inputStream) throws IOException
- Specified by:
parse
in interfaceIXmlParser
- Returns:
- экземпляр
ParseResult
- Throws:
IOException
-
init
public abstract void init(org.eclipse.emf.ecore.xmi.XMLHelper helper, Map<?,?> options)
-
-