|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.eclipse.xsd.presentation.XSDEditor.MapBuilder
|
+--org.eclipse.xsd.presentation.XSDEditor.XSDEcoreBuilder
| Field Summary | |
protected int |
style
|
protected java.util.Map |
targetNamespaceToEPackageMap
|
protected static int |
TRIVIAL
|
protected XSDSchema |
xsdSchema
|
| Fields inherited from class org.eclipse.xsd.presentation.XSDEditor.MapBuilder |
addInputMethod, addOutputMethod, mapMethod, mapper, mappingRoot, xsdComponentToEModelElementMap |
| Constructor Summary | |
XSDEditor.XSDEcoreBuilder()
|
|
XSDEditor.XSDEcoreBuilder(int style)
|
|
| Method Summary | |
protected void |
addAnnotationDetail(org.eclipse.emf.ecore.EAnnotation eAnnotation,
java.lang.String key,
java.lang.String value)
|
java.util.List |
collectParticles(XSDParticle xsdParticle)
|
void |
collectParticlesHelper(java.util.List result,
XSDParticle xsdParticle)
|
protected org.eclipse.emf.ecore.EAnnotation |
createAnnotation()
|
protected org.eclipse.emf.ecore.EStructuralFeature |
createFeature(org.eclipse.emf.ecore.EClass eClass,
java.lang.String name,
org.eclipse.emf.ecore.EClassifier type,
XSDComponent xsdComponent)
|
java.util.Collection |
generate(org.eclipse.emf.common.util.URI uri)
|
void |
generate(XSDSchema xsdSchema)
|
java.util.Collection |
generateResources(org.eclipse.emf.common.util.URI uri)
|
org.eclipse.emf.ecore.EClassifier |
getEClassifier(XSDElementDeclaration xsdElementDeclaration)
|
org.eclipse.emf.ecore.EClassifier |
getEClassifier(XSDTypeDefinition xsdTypeDefinition)
|
org.eclipse.emf.ecore.EPackage |
getEPackage(java.lang.String targetNamespace)
|
XSDSchema |
getSchema()
|
java.util.Map |
getTargetNamespaceToEPackageMap()
|
java.util.Map |
getXSDComponentToEModelElementMap()
|
protected java.util.List |
parseName(java.lang.String sourceName,
char separator)
|
java.lang.String |
uncapName(java.lang.String name)
|
protected java.lang.String |
validName(java.lang.String name,
boolean isUpperCase)
|
| Methods inherited from class org.eclipse.xsd.presentation.XSDEditor.MapBuilder |
addInput, addOutput, map |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final int TRIVIAL
protected int style
protected XSDSchema xsdSchema
protected java.util.Map targetNamespaceToEPackageMap
| Constructor Detail |
public XSDEditor.XSDEcoreBuilder()
public XSDEditor.XSDEcoreBuilder(int style)
| Method Detail |
public XSDSchema getSchema()
public java.util.Map getTargetNamespaceToEPackageMap()
public java.util.Map getXSDComponentToEModelElementMap()
public org.eclipse.emf.ecore.EPackage getEPackage(java.lang.String targetNamespace)
public org.eclipse.emf.ecore.EClassifier getEClassifier(XSDTypeDefinition xsdTypeDefinition)
protected org.eclipse.emf.ecore.EAnnotation createAnnotation()
protected void addAnnotationDetail(org.eclipse.emf.ecore.EAnnotation eAnnotation,
java.lang.String key,
java.lang.String value)
protected org.eclipse.emf.ecore.EStructuralFeature createFeature(org.eclipse.emf.ecore.EClass eClass,
java.lang.String name,
org.eclipse.emf.ecore.EClassifier type,
XSDComponent xsdComponent)
public java.util.List collectParticles(XSDParticle xsdParticle)
public void collectParticlesHelper(java.util.List result,
XSDParticle xsdParticle)
public org.eclipse.emf.ecore.EClassifier getEClassifier(XSDElementDeclaration xsdElementDeclaration)
public java.util.Collection generate(org.eclipse.emf.common.util.URI uri)
public java.util.Collection generateResources(org.eclipse.emf.common.util.URI uri)
public void generate(XSDSchema xsdSchema)
protected java.lang.String validName(java.lang.String name,
boolean isUpperCase)
protected java.util.List parseName(java.lang.String sourceName,
char separator)
public java.lang.String uncapName(java.lang.String name)
|
Copyright 2001-2002 IBM Corporation and others. All Rights Reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||