org.apache.tuscany.sca.interfacedef.wsdl.xml
Class WSDLModelResolver
java.lang.Object
org.apache.tuscany.sca.interfacedef.wsdl.xml.WSDLModelResolver
- All Implemented Interfaces:
- ModelResolver
public class WSDLModelResolver
- extends java.lang.Object
- implements ModelResolver
A Model Resolver for WSDL models.
Method Summary |
void |
addModel(java.lang.Object resolved)
Add a resolved model. |
java.lang.Object |
removeModel(java.lang.Object resolved)
Remove a resolved model. |
|
resolveModel(java.lang.Class<T> modelClass,
T unresolved)
Resolve the model representing an artifact. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ELEM_SCHEMA
public static final java.lang.String ELEM_SCHEMA
- See Also:
- Constant Field Values
NS_URI_XSD_1999
public static final java.lang.String NS_URI_XSD_1999
- See Also:
- Constant Field Values
NS_URI_XSD_2000
public static final java.lang.String NS_URI_XSD_2000
- See Also:
- Constant Field Values
NS_URI_XSD_2001
public static final java.lang.String NS_URI_XSD_2001
- See Also:
- Constant Field Values
Q_ELEM_XSD_1999
public static final javax.xml.namespace.QName Q_ELEM_XSD_1999
Q_ELEM_XSD_2000
public static final javax.xml.namespace.QName Q_ELEM_XSD_2000
Q_ELEM_XSD_2001
public static final javax.xml.namespace.QName Q_ELEM_XSD_2001
XSD_QNAME_LIST
public static final java.util.List<javax.xml.namespace.QName> XSD_QNAME_LIST
Q_POLICY_ATTRIBUTE_EXTENSION
public static final javax.xml.namespace.QName Q_POLICY_ATTRIBUTE_EXTENSION
Q_POLICY_END_CONVERSATION_ATTRIBUTE_EXTENSION
public static final javax.xml.namespace.QName Q_POLICY_END_CONVERSATION_ATTRIBUTE_EXTENSION
ELEM_PLINKTYPE
public static final java.lang.String ELEM_PLINKTYPE
- See Also:
- Constant Field Values
NS_BPEL_1_1
public static final java.lang.String NS_BPEL_1_1
- See Also:
- Constant Field Values
BPEL_PLINKTYPE
public static final javax.xml.namespace.QName BPEL_PLINKTYPE
WSDLModelResolver
public WSDLModelResolver(Contribution contribution,
ModelFactoryExtensionPoint modelFactories)
addModel
public void addModel(java.lang.Object resolved)
- Description copied from interface:
ModelResolver
- Add a resolved model.
- Specified by:
addModel
in interface ModelResolver
- Parameters:
resolved
- The model
removeModel
public java.lang.Object removeModel(java.lang.Object resolved)
- Description copied from interface:
ModelResolver
- Remove a resolved model.
- Specified by:
removeModel
in interface ModelResolver
- Returns:
- The removed model, or null if the model was not removed
resolveModel
public <T> T resolveModel(java.lang.Class<T> modelClass,
T unresolved)
- Description copied from interface:
ModelResolver
- Resolve the model representing an artifact.
- Specified by:
resolveModel
in interface ModelResolver
- Parameters:
modelClass
- the type of artifactunresolved
- the unresolved model
- Returns:
- the resolved model