|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.emf.ecore.xmi.impl.XMLHandler
org.eclipse.emf.ecore.xmi.impl.XMIHandler
org.eclipse.emf.ecore.xmi.impl.SAXXMIHandler
This class is a SAX handler for creating MOF2 objects from an XMI 2.0 file.
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.emf.ecore.xmi.impl.XMLHandler |
XMLHandler.ManyReference, XMLHandler.MyStack, XMLHandler.SingleReference |
| Field Summary | |
protected Attributes |
attribs
|
protected Locator |
locator
|
| 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 |
| Constructor Summary | |
SAXXMIHandler(XMLResource xmiResource,
XMLHelper helper,
Map options)
Constructor. |
|
| Method Summary | |
protected int |
getColumnNumber()
|
protected int |
getLineNumber()
|
protected String |
getXSIType()
Returns the xsi type attribute's value. |
protected void |
handleNamespaceAttribs()
Handle the XML namespace attributes. |
protected void |
handleObjectAttribs(EObject obj)
Process the XMI attributes for the newly created object. |
protected boolean |
isNull()
Returns true if the xsi:null attribute is in the list of attributes. |
protected Object |
setAttributes(Object attributes)
Sets the current attributes and returns the old ones. |
void |
setLocator(Object locator)
Sets the object that might be used for determining the line and column number. |
| Methods inherited from class org.eclipse.emf.ecore.xmi.impl.XMIHandler |
handleUnknownFeature, isTextFeatureValue, processElement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Locator locator
protected Attributes attribs
| Constructor Detail |
public SAXXMIHandler(XMLResource xmiResource,
XMLHelper helper,
Map options)
| Method Detail |
protected Object setAttributes(Object attributes)
XMLHandler
setAttributes in class XMLHandlerpublic void setLocator(Object locator)
XMLHandler
setLocator in class XMLHandlerprotected int getLineNumber()
getLineNumber in class XMLHandlerprotected int getColumnNumber()
getColumnNumber in class XMLHandlerprotected boolean isNull()
isNull in class XMLHandlerprotected void handleNamespaceAttribs()
handleNamespaceAttribs in class XMLHandlerprotected String getXSIType()
XMLHandler
getXSIType in class XMLHandlerprotected void handleObjectAttribs(EObject obj)
handleObjectAttribs in class XMLHandler
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||