|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.ws.sibx.smobo.util.WSDLMessageEClassFactory
WSDLMessageEClassFactory manages ECore models based on WSDL Message definitions. It is primarily used to obtain an EClass representing the Message, given a namespace and Message name. These EClasses are registered with the ExtendedMetaData of EMF, meaning they can be reused. For a given WSDL Message definition, this class provides an EClassifier representing the definition. If the Message has a single part, described by a global element name (rather than a type), then the EClassifier is simply the classifier of the element. Otherwise, an EClass is generated to represent the message. This EClass has the same name as the message, and is in an EPackage named for the message's namespace. The EClass has a feature for each part in the message, named after the part, which itself has EClassifier appropriate for the part. In the latter case, if an EClass and EPackage with these names already exists, the existing EClass is returned. Clients of this Factory can optionally obtain a WSDLMessageInfo object which contains the appropriate EClassifier, a list of parts in the WSDL, whether the part is represented in the returned EClassifier, and whether the EClass was not generated by a WSDLMessageEClassFactory.
Field Summary | |
---|---|
static java.lang.String |
$sccsid
|
static java.lang.String |
COPYRIGHT
|
static WSDLMessageEClassFactory |
INSTANCE
|
Constructor Summary | |
---|---|
WSDLMessageEClassFactory()
|
Method Summary | |
---|---|
org.eclipse.emf.ecore.EClassifier |
getEClassiferForMessageName(javax.xml.namespace.QName qname)
Given a namespace and name, return an EClassifier modelling the WSDL Message. |
org.eclipse.emf.ecore.EClassifier |
getEClassiferForMessageName(java.lang.String namespace,
java.lang.String name)
Given a namespace and name, return an EClassifier modelling the WSDL Message. |
WSDLMessageInfo |
getInfoForMessageName(javax.xml.namespace.QName qname)
Given a namespace and name, return a WSDLMessageInfo describing the WSDL Message. |
WSDLMessageInfo |
getInfoForMessageName(java.lang.String namespace,
java.lang.String name)
Given a namespace and name, return a WSDLMessageInfo describing the WSDL Message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String $sccsid
public static final WSDLMessageEClassFactory INSTANCE
Constructor Detail |
public WSDLMessageEClassFactory()
Method Detail |
public org.eclipse.emf.ecore.EClassifier getEClassiferForMessageName(java.lang.String namespace, java.lang.String name)
namespace
- namespace of Messagename
- local part of Message name
public org.eclipse.emf.ecore.EClassifier getEClassiferForMessageName(javax.xml.namespace.QName qname)
qname
- -
namespace and local part of Message name
public WSDLMessageInfo getInfoForMessageName(java.lang.String namespace, java.lang.String name)
namespace
- namespace of Messagename
- local part of Message name
public WSDLMessageInfo getInfoForMessageName(javax.xml.namespace.QName qname)
qname
- -
namespace and local part of Message name
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |