org.apache.tuscany.sdo.util.resource
Class SDOXMLResourceImpl.SDOXMLLoadImpl

java.lang.Object
  extended by org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl
      extended by org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl.SDOXMLLoadImpl
All Implemented Interfaces:
org.eclipse.emf.ecore.xmi.XMLLoad
Enclosing class:
SDOXMLResourceImpl

public class SDOXMLResourceImpl.SDOXMLLoadImpl
extends org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl

An EMF XMLLoad that loads a model from a StAX stream


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl
org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.AttributesProxy
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl
BUFFER_SIZE, helper, is, namespaceAware, options, resource, SAX_LEXICAL_PROPERTY
 
Constructor Summary
SDOXMLResourceImpl.SDOXMLLoadImpl(org.eclipse.emf.ecore.xmi.XMLHelper helper)
           
 
Method Summary
 void load(org.eclipse.emf.ecore.xmi.XMLResource resource, javax.xml.stream.XMLStreamReader reader, Map options)
          Start parsing an XMLReader with the default handler.
protected  org.xml.sax.helpers.DefaultHandler makeDefaultHandler()
           
 
Methods inherited from class org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl
createDefaultHandler, getEncoding, handleErrors, load, load, load, makeParser, readBuffer, traverse, traverseElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SDOXMLResourceImpl.SDOXMLLoadImpl

public SDOXMLResourceImpl.SDOXMLLoadImpl(org.eclipse.emf.ecore.xmi.XMLHelper helper)
Method Detail

makeDefaultHandler

protected org.xml.sax.helpers.DefaultHandler makeDefaultHandler()
Overrides:
makeDefaultHandler in class org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl

load

public void load(org.eclipse.emf.ecore.xmi.XMLResource resource,
                 javax.xml.stream.XMLStreamReader reader,
                 Map options)
          throws IOException
Start parsing an XMLReader with the default handler.

Throws:
IOException


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.