|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.interfacedef.wsdl.impl.WSDLDefinitionImpl
public class WSDLDefinitionImpl
Represents a WSDL definition.
| Constructor Summary | |
|---|---|
protected |
WSDLDefinitionImpl()
|
| Method Summary | ||
|---|---|---|
boolean |
equals(java.lang.Object obj)
|
|
Binding |
getBinding()
Get the generated binding for a WSDLDefinition |
|
Definition |
getDefinition()
Returns the WSDL definition model, if there are more than one WSDL definition under the same namespace, the definition will be a facade which imports all the physical WSDL definitions |
|
java.util.List<WSDLDefinition> |
getImportedDefinitions()
Get the WSDL definitions imported by this definition |
|
java.net.URI |
getLocation()
Get the location of the WSDL file |
|
java.lang.String |
getNamespace()
Returns the namespace of this WSDL definition. |
|
java.net.URI |
getURI()
Get the contribution artifact URI of the WSDL document |
|
|
getWSDLObject(java.lang.Class<T> type,
javax.xml.namespace.QName name)
Get the WSDL object by type and name |
|
XmlSchemaElement |
getXmlSchemaElement(javax.xml.namespace.QName name)
Get an XSD element by QName |
|
java.util.List<XSDefinition> |
getXmlSchemas()
Get a list of inline XML schema definitions |
|
XmlSchemaType |
getXmlSchemaType(javax.xml.namespace.QName name)
Get an XSD type by QName |
|
int |
hashCode()
|
|
boolean |
isUnresolved()
Returns true if the model element is unresolved. |
|
void |
setBinding(Binding binding)
Set the generated binding for a WSDLDefinition |
|
void |
setDefinition(Definition definition)
Sets the WSDL definition model |
|
void |
setLocation(java.net.URI url)
Set the location of the WSDL file |
|
void |
setNamespace(java.lang.String namespace)
Sets the namespace of this WSDL definition. |
|
void |
setUnresolved(boolean undefined)
Sets whether the model element is unresolved. |
|
void |
setURI(java.net.URI uri)
Set the contribution artifact URI of the WSDL document |
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected WSDLDefinitionImpl()
| Method Detail |
|---|
public Definition getDefinition()
WSDLDefinition
getDefinition in interface WSDLDefinitionpublic void setDefinition(Definition definition)
WSDLDefinition
setDefinition in interface WSDLDefinitiondefinition - the WSDL definition modelpublic boolean isUnresolved()
Base
isUnresolved in interface Basepublic void setUnresolved(boolean undefined)
Base
setUnresolved in interface Baseundefined - whether the model element is unresolvedpublic java.lang.String getNamespace()
WSDLDefinition
getNamespace in interface WSDLDefinitionpublic void setNamespace(java.lang.String namespace)
WSDLDefinition
setNamespace in interface WSDLDefinitionnamespace - the namespace of this WSDL definitionpublic java.util.List<XSDefinition> getXmlSchemas()
WSDLDefinition
getXmlSchemas in interface WSDLDefinitionWSDLDefinition.getXmlSchemas()public java.net.URI getLocation()
WSDLDefinition
getLocation in interface WSDLDefinitionWSDLDefinition.getLocation()public void setLocation(java.net.URI url)
WSDLDefinition
setLocation in interface WSDLDefinitionWSDLDefinition.setLocation(java.net.URI)public java.net.URI getURI()
WSDLDefinition
getURI in interface WSDLDefinitionWSDLDefinition.getURI()public void setURI(java.net.URI uri)
WSDLDefinition
setURI in interface WSDLDefinitionWSDLDefinition.setURI(java.net.URI)public java.util.List<WSDLDefinition> getImportedDefinitions()
WSDLDefinition
getImportedDefinitions in interface WSDLDefinitionWSDLDefinition.getImportedDefinitions()public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public XmlSchemaElement getXmlSchemaElement(javax.xml.namespace.QName name)
WSDLDefinition
getXmlSchemaElement in interface WSDLDefinitionWSDLDefinition.getXmlSchemaElement(javax.xml.namespace.QName)public XmlSchemaType getXmlSchemaType(javax.xml.namespace.QName name)
WSDLDefinition
getXmlSchemaType in interface WSDLDefinitionWSDLDefinition.getXmlSchemaType(javax.xml.namespace.QName)
public <T extends WSDLElement> WSDLObject<T> getWSDLObject(java.lang.Class<T> type,
javax.xml.namespace.QName name)
WSDLDefinition
getWSDLObject in interface WSDLDefinitiontype - javax.wsdl.Service/PortType/Binding/Message.classname - The QName of the object
public Binding getBinding()
WSDLDefinition
getBinding in interface WSDLDefinitionpublic void setBinding(Binding binding)
WSDLDefinition
setBinding in interface WSDLDefinitionbinding - the WSDL binding
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||