Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


org.eclipse.uml2.uml.resource
Class UML2122UMLResourceHandler

java.lang.Object
  extended by org.eclipse.emf.ecore.xmi.impl.BasicResourceHandler
      extended by 
org.eclipse.uml2.uml.resource.UML2122UMLResourceHandler
All Implemented Interfaces:
org.eclipse.emf.ecore.xmi.XMLResource.ResourceHandler

public class UML2122UMLResourceHandler
extends org.eclipse.emf.ecore.xmi.impl.BasicResourceHandler

Resource handler that converts .uml models. OMG: UML 2.1.x and UML 2.2 API: UML2 2.2.x and UML2 3.0.x

Since:
3.0

Field Summary
protected static boolean DEBUG
           
protected  boolean resolveProxies
           
protected static java.lang.String STEREOTYPE__CLASSIFIER_TEMPLATE_PARAMETER
           
protected static java.lang.String STEREOTYPE__TEMPLATEABLE_ELEMENT
           
protected static java.lang.String STEREOTYPE__TIME_EVENT
           
protected static java.lang.String TAG_DEFINITION__DEFAULT_CLASSIFER
           
protected static java.lang.String TAG_DEFINITION__OWNED_TEMPLATE_SIGNATURE
           
protected static java.lang.String TAG_DEFINITION__TEMPLATE_BINDING
           
protected static java.lang.String TAG_DEFINITION__WHEN
           
 
Constructor Summary
UML2122UMLResourceHandler ()
           
 
Method Summary
protected  org.eclipse.emf.ecore.xml.type.AnyType getExtension (org.eclipse.emf.ecore.xmi.XMLResource resource, org.eclipse.emf.ecore.EObject eObject)
           
protected   Profile getUML2Profile ( Element element)
           
protected   Stereotype getUML2Stereotype ( Element element, java.lang.String name)
           
protected  java.lang.Object getValue (org.eclipse.emf.ecore.util.FeatureMap featureMap, java.lang.String name)
           
protected  java.lang.Object getValue (org.eclipse.emf.ecore.util.FeatureMap featureMap, java.lang.String name, boolean remove)
           
protected  java.util.Collection<java.lang.Object> getValues (org.eclipse.emf.ecore.util.FeatureMap featureMap, java.lang.String name)
           
protected  java.util.Collection<java.lang.Object> getValues (org.eclipse.emf.ecore.util.FeatureMap featureMap, java.lang.String name, boolean remove)
           
 void postLoad (org.eclipse.emf.ecore.xmi.XMLResource resource, java.io.InputStream inputStream, java.util.Map<?,?> options)
           
protected  org.eclipse.emf.ecore.xml.type.AnyType putExtension (org.eclipse.emf.ecore.xmi.XMLResource resource, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.xml.type.AnyType extension)
           
protected  org.eclipse.emf.ecore.xml.type.AnyType removeExtension (org.eclipse.emf.ecore.xmi.XMLResource resource, org.eclipse.emf.ecore.EObject eObject)
           
 
Methods inherited from class org.eclipse.emf.ecore.xmi.impl.BasicResourceHandler
postSave, preLoad, preSave
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

protected static final boolean DEBUG
See Also:
Constant Field Values

resolveProxies

protected boolean resolveProxies

STEREOTYPE__TIME_EVENT

protected static final java.lang.String STEREOTYPE__TIME_EVENT
See Also:
Constant Field Values

STEREOTYPE__TEMPLATEABLE_ELEMENT

protected static final java.lang.String STEREOTYPE__TEMPLATEABLE_ELEMENT
See Also:
Constant Field Values

STEREOTYPE__CLASSIFIER_TEMPLATE_PARAMETER

protected static final java.lang.String STEREOTYPE__CLASSIFIER_TEMPLATE_PARAMETER
See Also:
Constant Field Values

TAG_DEFINITION__WHEN

protected static final java.lang.String TAG_DEFINITION__WHEN
See Also:
Constant Field Values

TAG_DEFINITION__DEFAULT_CLASSIFER

protected static final java.lang.String TAG_DEFINITION__DEFAULT_CLASSIFER
See Also:
Constant Field Values

TAG_DEFINITION__TEMPLATE_BINDING

protected static final java.lang.String TAG_DEFINITION__TEMPLATE_BINDING
See Also:
Constant Field Values

TAG_DEFINITION__OWNED_TEMPLATE_SIGNATURE

protected static final java.lang.String TAG_DEFINITION__OWNED_TEMPLATE_SIGNATURE
See Also:
Constant Field Values
Constructor Detail

UML2122UMLResourceHandler

public UML2122UMLResourceHandler()
Method Detail

getExtension

protected org.eclipse.emf.ecore.xml.type.AnyType getExtension(org.eclipse.emf.ecore.xmi.XMLResource resource,
                                                              org.eclipse.emf.ecore.EObject eObject)

putExtension

protected org.eclipse.emf.ecore.xml.type.AnyType putExtension(org.eclipse.emf.ecore.xmi.XMLResource resource,
                                                              org.eclipse.emf.ecore.EObject eObject,
                                                              org.eclipse.emf.ecore.xml.type.AnyType extension)

removeExtension

protected org.eclipse.emf.ecore.xml.type.AnyType removeExtension(org.eclipse.emf.ecore.xmi.XMLResource resource,
                                                                 org.eclipse.emf.ecore.EObject eObject)

getValue

protected java.lang.Object getValue(org.eclipse.emf.ecore.util.FeatureMap featureMap,
                                    java.lang.String name)

getValue

protected java.lang.Object getValue(org.eclipse.emf.ecore.util.FeatureMap featureMap,
                                    java.lang.String name,
                                    boolean remove)

getValues

protected java.util.Collection<java.lang.Object> getValues(org.eclipse.emf.ecore.util.FeatureMap featureMap,
                                                           java.lang.String name)

getValues

protected java.util.Collection<java.lang.Object> getValues(org.eclipse.emf.ecore.util.FeatureMap featureMap,
                                                           java.lang.String name,
                                                           boolean remove)

getUML2Profile

protected 
Profile getUML2Profile(
Element element)

getUML2Stereotype

protected 
Stereotype getUML2Stereotype(
Element element,
                                       java.lang.String name)

postLoad

public void postLoad(org.eclipse.emf.ecore.xmi.XMLResource resource,
                     java.io.InputStream inputStream,
                     java.util.Map<?,?> options)
Specified by:
postLoad in interface org.eclipse.emf.ecore.xmi.XMLResource.ResourceHandler
Overrides:
postLoad in class org.eclipse.emf.ecore.xmi.impl.BasicResourceHandler

Copyright 2003, 2007 IBM Corporation and others.
All Rights Reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire