|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.wim.util.XSDHelper
public class XSDHelper
Helper class for XSD related operations
Constructor Summary | |
---|---|
XSDHelper()
|
Method Summary | |
---|---|
static org.eclipse.emf.ecore.EClass |
getClass(java.lang.String uri,
java.lang.String typeName)
Returns the EClass object from the given name space URI and type name. |
static org.eclipse.emf.ecore.EStructuralFeature |
getGlobalFeature(java.lang.String qualifiedName)
Returns the EStructuralFeature objct from the given qualified property name. |
static org.eclipse.emf.ecore.EStructuralFeature |
getGlobalFeature(java.lang.String uri,
java.lang.String featureName)
Returns the global EStructuralFeature object from the given name space URI and feature name. |
static commonj.sdo.Property |
getGlobalProperty(java.lang.String uri,
java.lang.String propertyName)
Returns the global Property object from the given name space URI and property name. |
static org.eclipse.emf.ecore.EStructuralFeature |
getLocalFeature(java.lang.String typeUri,
java.lang.String typeName,
java.lang.String featureUri,
java.lang.String featureName)
Returns the local EStructuralFeature object from the given type name and its name space URI, as well as the feature name and its name space URI. |
static commonj.sdo.Property |
getLocalProperty(java.lang.String typeUri,
java.lang.String typeName,
java.lang.String propertyUri,
java.lang.String propertyName)
Returns the local Property object from the the given type name and its name space URI, as well as the property name and its name space URI. |
static java.lang.String |
getNsURIFromQualifiedName(java.lang.String qualifiedName)
Returns the name space URI from the given qualified name. |
static org.eclipse.emf.ecore.EPackage |
getPackage(java.lang.String uri)
Returns the EPackage object from the given name space URI |
static java.lang.String |
getPackageNsPrefix(java.lang.String nsURI)
Returns the name space prefix of the package from the given name space URI. |
static java.lang.String |
getPackageNsURI(java.lang.String nsPrefix)
Returns the name space URI of the package from the given name space prefix. |
static java.lang.String |
getQualifiedPropertyName(org.eclipse.emf.ecore.EStructuralFeature feature)
Returns the qualified property name from the given feature. |
static java.lang.String |
getQualifiedPropertyName(commonj.sdo.Property property)
Returns the qualified property name from the given property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XSDHelper()
Method Detail |
---|
public static org.eclipse.emf.ecore.EClass getClass(java.lang.String uri, java.lang.String typeName)
uri
- the name space URI of the type. If it is null or empty, default is virtual member manager name space URI ("http://www.ibm.com/websphere/wim").typeName
- the name of the type.public static org.eclipse.emf.ecore.EStructuralFeature getGlobalFeature(java.lang.String uri, java.lang.String featureName)
uri
- the name space URI of the feature. If it is null or empty, default is virtual member manager name space URI ("http://www.ibm.com/websphere/wim").featureName
- the name of the feature.public static java.lang.String getPackageNsURI(java.lang.String nsPrefix)
nsPrefix
- The name space prefix.public static java.lang.String getNsURIFromQualifiedName(java.lang.String qualifiedName)
qualifiedName
- The qualified namepublic static java.lang.String getPackageNsPrefix(java.lang.String nsURI)
nsURI
- The name space URI.public static org.eclipse.emf.ecore.EStructuralFeature getGlobalFeature(java.lang.String qualifiedName)
qualifiedName
- The qualified property name.public static commonj.sdo.Property getGlobalProperty(java.lang.String uri, java.lang.String propertyName)
uri
- the name space URI of the property. If it is null or empty, default is virtual member manager name space URI ("http://www.ibm.com/websphere/wim").propertyName
- the name of the propertypublic static org.eclipse.emf.ecore.EStructuralFeature getLocalFeature(java.lang.String typeUri, java.lang.String typeName, java.lang.String featureUri, java.lang.String featureName)
typeUri
- the name space URI of the type. If it is null or empty, default is virtual member manager name space URI ("http://www.ibm.com/websphere/wim").typeName
- the name of the type.featureUri
- the name space URI of the feature. If it is null or empty, default is virtual member manager name space URI ("http://www.ibm.com/websphere/wim").featureName
- the name of the feature.public static commonj.sdo.Property getLocalProperty(java.lang.String typeUri, java.lang.String typeName, java.lang.String propertyUri, java.lang.String propertyName)
typeUri
- the name space URI of the type. If it is null or empty, default is virtual member manager name space URI ("http://www.ibm.com/websphere/wim").typeName
- the name of the type.propertyUri
- the name space URI of the property. If it is null or empty, default is virtual member manager name space URI ("http://www.ibm.com/websphere/wim").propertyName
- the name of the property.public static org.eclipse.emf.ecore.EPackage getPackage(java.lang.String uri)
uri
- the name space URI of the package. If it is null or empty, default is virtual member manager name space URI ("http://www.ibm.com/websphere/wim").public static java.lang.String getQualifiedPropertyName(commonj.sdo.Property property)
property
- The property objectpublic static java.lang.String getQualifiedPropertyName(org.eclipse.emf.ecore.EStructuralFeature feature)
property
- The EStructuralFeature object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |