org.eclipse.emf.ecore.xmi.impl
Class XMIHandler
java.lang.Object
org.eclipse.emf.ecore.xmi.impl.XMLHandler
org.eclipse.emf.ecore.xmi.impl.XMIHandler
- Direct Known Subclasses:
- SAXXMIHandler
- public abstract class XMIHandler
- extends XMLHandler
This class is a SAX handler for creating MOF2 objects from an XMI 2.0 file.
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, endElement, endPrefixMapping, error, fatalError, getColumnNumber, getExtension, getFactoryForPrefix, getFeature, getFeature, getLineNumber, getLocation, getPackageForURI, getURIConverter, getXMLEncoding, getXSIType, growArrays, handleCDATA, handleComment, handleFeature, handleForwardReferences, handleForwardReferences, handleMissingPackage, handleMixedText, handleNamespaceAttribs, handleObjectAttribs, handleProxy, handleTopLocations, handleXMLNSAttribute, handleXSINoNamespaceSchemaLocation, handleXSISchemaLocation, isError, isNull, processingInstruction, processObject, processTopObject, recordNamespacesSchemaLocations, recordUnknownFeature, reportUnknownFeature, setAttributes, setAttribValue, setExtendedMetaDataOption, setFeatureValue, setFeatureValue, setFeatureValues, setLocator, 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 |
XMI_ELEMENT_TYPE
protected static final String XMI_ELEMENT_TYPE
- See Also:
- Constant Field Values
XMI_UUID
protected static final String XMI_UUID
- See Also:
- Constant Field Values
XMI_EXTENSION
protected static final String XMI_EXTENSION
- See Also:
- Constant Field Values
XMI_TYPE_ATTRIB
protected static final String XMI_TYPE_ATTRIB
- See Also:
- Constant Field Values
ID_ATTRIB
protected static final String ID_ATTRIB
- See Also:
- Constant Field Values
VERSION_ATTRIB
protected static final String VERSION_ATTRIB
- See Also:
- Constant Field Values
UUID_ATTRIB
protected static final String UUID_ATTRIB
- See Also:
- Constant Field Values
XMI_ELEMENT_NAME
protected static final String XMI_ELEMENT_NAME
- See Also:
- Constant Field Values
XMIHandler
public XMIHandler(XMLResource xmiResource,
XMLHelper helper,
Map options)
- Constructor.
processElement
protected void processElement(String name,
String prefix,
String localName)
- Overrides:
processElement
in class XMLHandler
isTextFeatureValue
protected boolean isTextFeatureValue(Object type)
- Overrides:
isTextFeatureValue
in class XMLHandler
handleUnknownFeature
protected void handleUnknownFeature(String prefix,
String name,
boolean isElement,
EObject peekObject,
String value)
- Overrides:
handleUnknownFeature
in class XMLHandler