|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.xsd.ecore.NameMangler
org.eclipse.xsd.ecore.MapBuilder
org.eclipse.xsd.ecore.EcoreSchemaBuilder
org.milyn.ect.ecore.CustomSchemaBuilder
public class CustomSchemaBuilder
Extension of EcoreSchemaBuilder to simplify the namespace prefix
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.xsd.ecore.MapBuilder |
|---|
org.eclipse.xsd.ecore.MapBuilder.Mapper |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.xsd.ecore.EcoreSchemaBuilder |
|---|
defaultXMLSchemaNamespace, defaultXMLSchemaNamespacePrefix, eModelElementToXSDComponentMap, extendedMetaData, GEN_MODEL_PACKAGE_NS_URI |
| Fields inherited from class org.eclipse.xsd.ecore.MapBuilder |
|---|
mapper, xsdComponentToEModelElementMap |
| Fields inherited from class org.eclipse.xsd.ecore.NameMangler |
|---|
DOMAINS, LOWER_CASE, UNCHANGED_CASE, UPPER_CASE |
| Constructor Summary | |
|---|---|
CustomSchemaBuilder(org.eclipse.emf.ecore.util.ExtendedMetaData extendedMetaData)
|
|
| Method Summary | |
|---|---|
void |
createAnnotation(Map<String,String> qNamePrefixToNamespaceMap,
Element element,
String namespace,
String key,
String value)
|
protected void |
createEcoreAnnotation(Map<String,String> qNamePrefixToNamespaceMap,
Element element,
String key,
String value)
|
String |
qualifiedPackageName(String namespace)
|
| Methods inherited from class org.eclipse.xsd.ecore.EcoreSchemaBuilder |
|---|
buildAnnotation, buildAnnotation, buildAnnotations, buildAttributeInformation, buildAttributeUse, buildAttributeWildcard, buildComplexTypeDefinition, buildContentFeature, buildElementParticle, buildElementWildcard, buildGlobalAttribute, buildGlobalElement, buildGlobalElement, buildGlobalFeature, buildModelGroup, buildModelGroupParticle, buildSchema, buildSimpleContent, buildSimpleTypeDefinition, buildTypeDefinition, buildTypeParameters, createAnnotation, createEcoreAnnotation, createUserInfo, findOrCreateModelGroup, getGenericType, getQualifiedPackageName, getSchema, getURI, getURI, handleImport, handleMultiplicity, handleMultiplicity, handlePrefix, isIgnoredAnnotationSource, isWrapperType, map |
| Methods inherited from class org.eclipse.xsd.ecore.MapBuilder |
|---|
addInput, addOutput, setMapper |
| Methods inherited from class org.eclipse.xsd.ecore.NameMangler |
|---|
parseName, uncapName, validName, validName, validName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomSchemaBuilder(org.eclipse.emf.ecore.util.ExtendedMetaData extendedMetaData)
| Method Detail |
|---|
public String qualifiedPackageName(String namespace)
qualifiedPackageName in class org.eclipse.xsd.ecore.NameMangler
public void createAnnotation(Map<String,String> qNamePrefixToNamespaceMap,
Element element,
String namespace,
String key,
String value)
createAnnotation in class org.eclipse.xsd.ecore.EcoreSchemaBuilder
protected void createEcoreAnnotation(Map<String,String> qNamePrefixToNamespaceMap,
Element element,
String key,
String value)
createEcoreAnnotation in class org.eclipse.xsd.ecore.EcoreSchemaBuilder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||