|
|||||||||||
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.SAXXMLHandler
This class implements the XML deserializer which creates EObjects from XML files.
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
|
Constructor Summary | |
SAXXMLHandler(XMLResource xmiResource,
XMLHelper helper,
Map options)
Constructor. |
Method Summary | |
protected int |
getColumnNumber()
|
protected EStructuralFeature |
getContentFeature(EObject object)
|
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 XML attributes for the newly created object. |
protected boolean |
isNull()
Returns true if the xsi:nil attribute is in the list of attributes. |
protected void |
processObject(EObject object)
Add object to appropriate stacks. |
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 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 SAXXMLHandler(XMLResource xmiResource, XMLHelper helper, Map options)
Method Detail |
protected Object setAttributes(Object attributes)
XMLHandler
setAttributes
in class XMLHandler
public void setLocator(Object locator)
XMLHandler
setLocator
in class XMLHandler
protected int getLineNumber()
getLineNumber
in class XMLHandler
protected int getColumnNumber()
getColumnNumber
in class XMLHandler
protected boolean isNull()
isNull
in class XMLHandler
protected void handleNamespaceAttribs()
handleNamespaceAttribs
in class XMLHandler
protected String getXSIType()
XMLHandler
getXSIType
in class XMLHandler
protected void handleObjectAttribs(EObject obj)
handleObjectAttribs
in class XMLHandler
protected void processObject(EObject object)
XMLHandler
processObject
in class XMLHandler
protected EStructuralFeature getContentFeature(EObject object)
|
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 |