org.eclipse.emf.ecore.xmi.impl
Class EMOFHandler
java.lang.Object
org.eclipse.emf.ecore.xmi.impl.XMLHandler
org.eclipse.emf.ecore.xmi.impl.XMIHandler
org.eclipse.emf.ecore.xmi.impl.SAXXMIHandler
org.eclipse.emf.ecore.xmi.impl.EMOFHandler
- public class EMOFHandler
- extends SAXXMIHandler
Fields inherited from class org.eclipse.emf.ecore.xmi.impl.XMLHandler |
anySimpleType, anyType, ARRAY_SIZE, capacity, contextFeature, DEBUG_DEMANDED_PACKAGES, deferIDREFResolution, disableNotify, DOCUMENT_ROOT_TYPE, elements, eObjectToExtensionMap, ERROR_TYPE, extendedMetaData, extent, forwardManyReferences, forwardSingleReferences, helper, hrefAttribute, idAttribute, identifiers, isIDREF, isSimpleFeature, mixedTargets, NIL_ATTRIB, NO_NAMESPACE_SCHEMA_LOCATION_ATTRIB, notFeatures, OBJECT_TYPE, objects, oldStyleProxyURIs, packageRegistry, positions, prefixesToFactories, recordAnyTypeNSDecls, recordUnknownFeature, REFERENCE_THRESHOLD, resolve, resourceSet, resourceURI, sameDocumentProxies, SCHEMA_LOCATION_ATTRIB, text, TYPE_ATTRIB, types, UNKNOWN_FEATURE_TYPE, urisToLocations, xmlMap, xmlResource, xmlSchemaTypePackage |
Methods inherited from class org.eclipse.emf.ecore.xmi.impl.XMLHandler |
characters, comment, createObject, createObjectByType, createObjectFromFactory, createObjectFromFeatureType, createObjectFromTypeName, createTopObject, endCDATA, endDocument, endPrefixMapping, error, fatalError, getExtension, getFactoryForPrefix, getFeature, getFeature, getLocation, getPackageForURI, getURIConverter, getXMLEncoding, growArrays, handleCDATA, handleComment, handleFeature, handleForwardReferences, handleMissingPackage, handleMixedText, handleTopLocations, handleXMLNSAttribute, handleXSINoNamespaceSchemaLocation, handleXSISchemaLocation, isError, processingInstruction, processObject, processTopObject, recordNamespacesSchemaLocations, recordUnknownFeature, reportUnknownFeature, setExtendedMetaDataOption, setFeatureValue, setFeatureValue, setFeatureValues, setValueFromId, startCDATA, startDocument, startDTD, startElement, startPrefixMapping, validateCreateObjectFromFactory, validateCreateObjectFromFactory, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
emofHelper
protected EMOFHandler.Helper emofHelper
ECORE_EXTENSION_TYPE
protected static final String ECORE_EXTENSION_TYPE
- See Also:
- Constant Field Values
EMOFHandler
public EMOFHandler(XMLResource xmiResource,
EMOFHandler.Helper helper,
Map options)
handleProxy
protected void handleProxy(InternalEObject proxy,
String uriLiteral)
- Overrides:
handleProxy
in class XMLHandler
handleForwardReferences
protected void handleForwardReferences(boolean isEndDocument)
- Description copied from class:
XMLHandler
- Check if the values of the forward references have been set (they may
have been set due to a bi-directional reference being set). If not,
set them.
If this is called during end document processing, errors should be diagnosed.
If it is called in the middle of a document,
we need to clean up the forward reference lists to avoid reprocessing resolved references again later.
- Overrides:
handleForwardReferences
in class XMLHandler
processElement
protected void processElement(String name,
String prefix,
String localName)
- Overrides:
processElement
in class XMIHandler
endElement
public void endElement(String uri,
String localName,
String name)
- Description copied from class:
XMLHandler
- Pop the appropriate stacks and set features whose values are in
the content of XML elements.
- Overrides:
endElement
in class XMLHandler
setAttribValue
protected void setAttribValue(EObject object,
String name,
String value)
- Description copied from class:
XMLHandler
- Create a feature with the given name for the given object with the
given values.
- Overrides:
setAttribValue
in class XMLHandler