|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.eclipse.emf.ecore.xmi.impl.XMLHandler
org.eclipse.emf.ecore.xmi.impl.XMIHandler
org.eclipse.emf.ecore.xmi.impl.SAXXMIHandler
edu.cmu.sei.aadl.model.core.util.SAXCoreHandler
public class SAXCoreHandler
A SAXXMIHandler refined to handle proxies that are encoded as XPath expressions in AADL model files.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.xmi.impl.XMLHandler |
---|
org.eclipse.emf.ecore.xmi.impl.XMLHandler.ManyReference, org.eclipse.emf.ecore.xmi.impl.XMLHandler.MyEObjectStack, org.eclipse.emf.ecore.xmi.impl.XMLHandler.MyStack<E>, org.eclipse.emf.ecore.xmi.impl.XMLHandler.SingleReference |
Field Summary |
---|
Fields inherited from class org.eclipse.emf.ecore.xmi.impl.XMIHandler |
---|
ID_ATTRIB, UUID_ATTRIB, VERSION_ATTRIB, XMI_ELEMENT_NAME, XMI_ELEMENT_TYPE, XMI_EXTENSION, XMI_TYPE_ATTRIB, XMI_UUID |
Fields inherited from class org.eclipse.emf.ecore.xmi.impl.XMLHandler |
---|
anySimpleType, anyType, ARRAY_SIZE, attribs, capacity, contextFeature, DEBUG_DEMANDED_PACKAGES, deferIDREFResolution, deferredExtent, disableNotify, DOCUMENT_ROOT_TYPE, documentRoot, ecoreBuilder, elements, eObjectToExtensionMap, ERROR_TYPE, extendedMetaData, extent, externalURIToLocations, featuresToKinds, forwardManyReferences, forwardSingleReferences, helper, hrefAttribute, idAttribute, identifiers, isIDREF, isRoot, isSimpleFeature, locator, mixedTargets, needsPushContext, NIL_ATTRIB, NO_NAMESPACE_SCHEMA_LOCATION_ATTRIB, notFeatures, OBJECT_TYPE, objects, oldStyleProxyURIs, packageRegistry, positions, prefixesToFactories, processAnyXML, processSchemaLocations, recordAnyTypeNSDecls, recordUnknownFeature, REFERENCE_THRESHOLD, resolve, resourceEntityHandler, resourceSet, resourceURI, sameDocumentProxies, SCHEMA_LOCATION_ATTRIB, text, TYPE_ATTRIB, types, UNKNOWN_FEATURE_TYPE, uriHandler, urisToLocations, useConfigurationCache, usedNullNamespacePackage, useNewMethods, xmlMap, xmlResource, xmlSchemaTypePackage |
Constructor Summary | |
---|---|
SAXCoreHandler(org.eclipse.emf.ecore.xmi.XMLResource xmiResource,
org.eclipse.emf.ecore.xmi.XMLHelper helper,
java.util.Map options)
Create a new SAXCoreHandler. |
Method Summary | |
---|---|
protected java.lang.String |
convertID(java.lang.String id)
convert id into an id handled by EMF This interprets XPath and does the file lookup for packages and propertysets |
protected void |
mySetProxyFromId(org.eclipse.emf.ecore.EObject object,
org.eclipse.emf.ecore.EReference eReference,
java.lang.String id)
|
protected void |
setValueFromId(org.eclipse.emf.ecore.EObject object,
org.eclipse.emf.ecore.EReference eReference,
java.lang.String ids)
Create a ValueLine object and put it in the list of references to resolve at the end of the document. |
Methods inherited from class org.eclipse.emf.ecore.xmi.impl.SAXXMIHandler |
---|
getXSIType, handleObjectAttribs |
Methods inherited from class org.eclipse.emf.ecore.xmi.impl.XMIHandler |
---|
createDocumentRoot, createObject, handleUnknownFeature, isTextFeatureValue, processElement, startElement |
Methods inherited from class org.eclipse.emf.ecore.xmi.impl.XMLHandler |
---|
characters, comment, createEcoreBuilder, createObject, createObjectByType, createObjectFromFactory, createObjectFromFeatureType, createObjectFromTypeName, createTopObject, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, error, error, fatalError, fatalError, getColumnNumber, getExtension, getFactoryForPrefix, getFeature, getFeature, getLineNumber, getLocation, getPackageForURI, getURIConverter, getXMLEncoding, growArrays, handleCDATA, handleComment, handleFeature, handleForwardReferences, handleForwardReferences, handleMissingPackage, handleMixedText, handleNamespaceAttribs, handleProcessingInstruction, handleProxy, handleSchemaLocation, handleTopLocations, handleXMLNSAttribute, handleXSINoNamespaceSchemaLocation, handleXSISchemaLocation, ignorableWhitespace, isError, isNull, notationDecl, prepare, processingInstruction, processObject, processSchemaLocations, processTopObject, recordHeaderInformation, recordNamespacesSchemaLocations, recordUnknownFeature, reportUnknownFeature, reset, resolveEntity, setAttributes, setAttribValue, setDocumentLocator, setExtendedMetaDataOption, setFeatureValue, setFeatureValue, setFeatureValues, setLocator, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity, startPrefixMapping, toXMIException, unparsedEntityDecl, validateCreateObjectFromFactory, validateCreateObjectFromFactory, validateCreateObjectFromFactory, warning, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SAXCoreHandler(org.eclipse.emf.ecore.xmi.XMLResource xmiResource, org.eclipse.emf.ecore.xmi.XMLHelper helper, java.util.Map options)
xmiResource
- helper
- options
- Method Detail |
---|
protected java.lang.String convertID(java.lang.String id)
id
- String id stored as XPath in XML document
protected void mySetProxyFromId(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EReference eReference, java.lang.String id)
protected void setValueFromId(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EReference eReference, java.lang.String ids)
setValueFromId
in class org.eclipse.emf.ecore.xmi.impl.XMLHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |