org.eclipse.emf.ecore.xmi.impl
Class XMISaveImpl

java.lang.Object
  |
  +--org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl
        |
        +--org.eclipse.emf.ecore.xmi.impl.XMISaveImpl
All Implemented Interfaces:
XMLSave

public class XMISaveImpl
extends XMLSaveImpl


Inner classes inherited from class org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl
XMLSaveImpl.Escape, XMLSaveImpl.Lookup
 
Field Summary
protected static java.lang.String XMI_ID_NS
           
protected static java.lang.String XMI_TAG_NS
           
protected static java.lang.String XMI_TYPE_NS
           
protected static java.lang.String XMI_VER_NS
           
protected static java.lang.String XMI_XMLNS
           
protected  boolean xmiType
           
 
Fields inherited from class org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl
CONTENT_ELEMENT, CROSS_DOC, DATATYPE_CONTENT_SINGLE, DATATYPE_ELEMENT_SINGLE, DATATYPE_MANY, DATATYPE_SINGLE, DATATYPE_SINGLE_NILLABLE, declareSchemaLocation, declareXML, declareXSI, doc, EMPTY_ELEMENT, encoding, escape, featureTable, helper, idAttributeName, OBJECT_CONTAIN_MANY, OBJECT_CONTAIN_MANY_UNSETTABLE, OBJECT_CONTAIN_SINGLE, OBJECT_CONTAIN_SINGLE_UNSETTABLE, OBJECT_ELEMENT_MANY, OBJECT_ELEMENT_SINGLE, OBJECT_HREF_MANY, OBJECT_HREF_MANY_UNSETTABLE, OBJECT_HREF_SINGLE, OBJECT_HREF_SINGLE_UNSETTABLE, processDanglingHREF, SAME_DOC, SKIP, TRANSIENT, useEncodedAttributeStyle, XML_VERSION, XSI_NIL, XSI_SCHEMA_LOCATION, XSI_TYPE_NS, XSI_XMLNS
 
Constructor Summary
XMISaveImpl(java.util.Map options, XMLHelper helper, java.lang.String encoding)
           
XMISaveImpl(XMLHelper helper)
           
 
Method Summary
 void addNamespaceDeclarations()
           
protected  void init(XMLResource resource, java.util.Map options)
           
protected  void saveTypeAttribute(EClass eClass)
           
 java.lang.Object writeTopObjects(java.util.List contents)
           
 
Methods inherited from class org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl
endSaveFeatures, getContent, isEmpty, isNil, sameDocMany, sameDocSingle, save, saveContainedMany, saveContainedSingle, saveDataTypeElementSingle, saveDataTypeMany, saveDataTypeSingle, saveElement, saveElementID, saveElementReference, saveElementReferenceMany, saveElementReferenceSingle, saveEObjectMany, saveEObjectSingle, saveFeatures, saveHref, saveHRefMany, saveHRefSingle, saveIDRefMany, saveIDRefSingle, saveManyEmpty, saveNil, toChar, traverse, write, writeAscii, writeTopObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xmiType

protected boolean xmiType

XMI_ID_NS

protected static final java.lang.String XMI_ID_NS

XMI_TAG_NS

protected static final java.lang.String XMI_TAG_NS

XMI_TYPE_NS

protected static final java.lang.String XMI_TYPE_NS

XMI_VER_NS

protected static final java.lang.String XMI_VER_NS

XMI_XMLNS

protected static final java.lang.String XMI_XMLNS
Constructor Detail

XMISaveImpl

public XMISaveImpl(XMLHelper helper)

XMISaveImpl

public XMISaveImpl(java.util.Map options,
                   XMLHelper helper,
                   java.lang.String encoding)
Method Detail

init

protected void init(XMLResource resource,
                    java.util.Map options)
Overrides:
init in class XMLSaveImpl

writeTopObjects

public java.lang.Object writeTopObjects(java.util.List contents)
Overrides:
writeTopObjects in class XMLSaveImpl

saveTypeAttribute

protected void saveTypeAttribute(EClass eClass)
Overrides:
saveTypeAttribute in class XMLSaveImpl

addNamespaceDeclarations

public void addNamespaceDeclarations()
Overrides:
addNamespaceDeclarations in class XMLSaveImpl

Copyright 2001-2002 IBM Corporation and others.
All Rights Reserved.