| Package | Description |
|---|---|
| org.eclipse.emf.ecore.xmi | |
| org.eclipse.emf.ecore.xmi.impl |
| Modifier and Type | Interface and Description |
|---|---|
interface |
XMIResource
A resource that serializes to XMI.
|
| Modifier and Type | Method and Description |
|---|---|
XMLResource |
XMLHelper.getResource()
Returns the resource
|
| Modifier and Type | Method and Description |
|---|---|
XMLDefaultHandler |
XMLParserPool.getDefaultHandler(XMLResource resource,
XMLLoad xmlLoad,
XMLHelper helper,
java.util.Map<?,?> options)
Retrieves XMLDefaultHandler from the pool and initializes / prepares it.
|
void |
XMLLoad.load(XMLResource resource,
org.xml.sax.InputSource inputSource,
java.util.Map<?,?> options) |
void |
XMLLoad.load(XMLResource resource,
java.io.InputStream inputStream,
java.util.Map<?,?> options) |
void |
XMLLoad.load(XMLResource resource,
org.w3c.dom.Node node,
java.util.Map<?,?> options) |
void |
XMLResource.ResourceHandler.postLoad(XMLResource resource,
java.io.InputStream inputStream,
java.util.Map<?,?> options)
Called after loading is done.
|
void |
XMLResource.ResourceHandler.postSave(XMLResource resource,
java.io.OutputStream outputStream,
java.util.Map<?,?> options)
Called before saving begins.
|
void |
XMLResource.ResourceHandler.preLoad(XMLResource resource,
java.io.InputStream inputStream,
java.util.Map<?,?> options)
Called before loading begins.
|
void |
XMLDefaultHandler.prepare(XMLResource resource,
XMLHelper helper,
java.util.Map<?,?> options) |
void |
XMLResource.ResourceHandler.preSave(XMLResource resource,
java.io.OutputStream outputStream,
java.util.Map<?,?> options)
Called before saving begins.
|
org.w3c.dom.Document |
XMLSave.save(XMLResource resource,
org.w3c.dom.Document document,
java.util.Map<?,?> options,
DOMHandler handler) |
void |
XMLSave.save(XMLResource resource,
java.io.OutputStream outputStream,
java.util.Map<?,?> options) |
void |
XMLSave.save(XMLResource resource,
java.io.Writer writer,
java.util.Map<?,?> options)
Saves the resource to the writer using the specified options.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EMOFResourceImpl
This class represents an Ecore model serialized as an EMOF XMI file.
|
class |
GenericXMLResourceImpl |
class |
XMIResourceImpl
This class represents an XMIResource.
|
class |
XMLResourceImpl
This class implements the XMLResource interface.
|
| Modifier and Type | Field and Description |
|---|---|
protected XMLResource |
XMLLoadImpl.resource |
protected XMLResource |
XMLHelperImpl.resource |
protected XMLResource |
XMLSaveImpl.xmlResource |
protected XMLResource |
XMLHandler.xmlResource |
| Modifier and Type | Method and Description |
|---|---|
protected XMLResource |
XMLContentHandlerImpl.createXMLResource()
Creates a specialized XML resource for consuming just the root elements
as well as the first nested element,
if the root element is an
XMI root element. |
XMLResource |
XMLHelperImpl.getResource() |
protected XMLResource |
XMLContentHandlerImpl.load(URI uri,
java.io.InputStream inputStream,
java.util.Map<?,?> options,
java.util.Map<java.lang.Object,java.lang.Object> context)
Returns the XML resource loaded from the input stream.
|
| Modifier and Type | Method and Description |
|---|---|
XMLDefaultHandler |
XMLParserPoolImpl.getDefaultHandler(XMLResource resource,
XMLLoad xmlLoad,
XMLHelper helper,
java.util.Map<?,?> options) |
protected void |
XMLSaveImpl.init(XMLResource resource,
java.util.Map<?,?> options) |
protected void |
XMISaveImpl.init(XMLResource resource,
java.util.Map<?,?> options) |
protected void |
EMOFSaveImpl.init(XMLResource resource,
java.util.Map<?,?> options) |
void |
XMLLoadImpl.load(XMLResource resource,
org.xml.sax.InputSource inputSource,
java.util.Map<?,?> options) |
void |
XMLLoadImpl.load(XMLResource resource,
java.io.InputStream inputStream,
java.util.Map<?,?> options)
Start parsing with the default handler; either XMI
or XML.
|
void |
XMLLoadImpl.load(XMLResource resource,
org.w3c.dom.Node node,
java.util.Map<?,?> options) |
void |
BasicResourceHandler.postLoad(XMLResource resource,
java.io.InputStream inputStream,
java.util.Map<?,?> options) |
void |
BasicResourceHandler.postSave(XMLResource resource,
java.io.OutputStream outputStream,
java.util.Map<?,?> options) |
void |
BasicResourceHandler.preLoad(XMLResource resource,
java.io.InputStream inputStream,
java.util.Map<?,?> options) |
void |
XMLHandler.prepare(XMLResource resource,
XMLHelper helper,
java.util.Map<?,?> options) |
void |
SAXWrapper.prepare(XMLResource resource,
XMLHelper helper,
java.util.Map<?,?> options)
Deprecated.
|
void |
BasicResourceHandler.preSave(XMLResource resource,
java.io.OutputStream outputStream,
java.util.Map<?,?> options) |
org.w3c.dom.Document |
XMLSaveImpl.save(XMLResource resource,
org.w3c.dom.Document doc,
java.util.Map<?,?> options,
DOMHandler handler) |
void |
XMLSaveImpl.save(XMLResource resource,
java.io.OutputStream outputStream,
java.util.Map<?,?> options) |
void |
XMLSaveImpl.save(XMLResource resource,
java.io.Writer writer,
java.util.Map<?,?> options) |
void |
XMLHelperImpl.setResource(XMLResource resource) |
| Constructor and Description |
|---|
EMOFHandler(XMLResource xmiResource,
EMOFHandler.Helper helper,
java.util.Map<?,?> options) |
EMOFHelperImpl(XMLResource resource) |
GenericSAXXMLHandler(XMLResource xmlResource,
XMLHelper helper,
java.util.Map<?,?> options) |
SAXXMIHandler(XMLResource xmiResource,
XMLHelper helper,
java.util.Map<?,?> options)
Constructor.
|
SAXXMLHandler(XMLResource xmiResource,
XMLHelper helper,
java.util.Map<?,?> options)
Constructor.
|
XMIHandler(XMLResource xmiResource,
XMLHelper helper,
java.util.Map<?,?> options)
Constructor.
|
XMIHelperImpl(XMLResource resource) |
XMLHandler(XMLResource xmlResource,
XMLHelper helper,
java.util.Map<?,?> options) |
XMLHelperImpl(XMLResource resource) |
Copyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature