|
|||||||||
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 WSDLDefinition
public void setDefinition(Definition definition)
WSDLDefinition
setDefinition
in interface WSDLDefinition
definition
- the WSDL definition modelpublic boolean isUnresolved()
Base
isUnresolved
in interface Base
public void setUnresolved(boolean undefined)
Base
setUnresolved
in interface Base
undefined
- whether the model element is unresolvedpublic java.lang.String getNamespace()
WSDLDefinition
getNamespace
in interface WSDLDefinition
public void setNamespace(java.lang.String namespace)
WSDLDefinition
setNamespace
in interface WSDLDefinition
namespace
- the namespace of this WSDL definitionpublic java.util.List<XSDefinition> getXmlSchemas()
WSDLDefinition
getXmlSchemas
in interface WSDLDefinition
WSDLDefinition.getXmlSchemas()
public java.net.URI getLocation()
WSDLDefinition
getLocation
in interface WSDLDefinition
WSDLDefinition.getLocation()
public void setLocation(java.net.URI url)
WSDLDefinition
setLocation
in interface WSDLDefinition
WSDLDefinition.setLocation(java.net.URI)
public java.net.URI getURI()
WSDLDefinition
getURI
in interface WSDLDefinition
WSDLDefinition.getURI()
public void setURI(java.net.URI uri)
WSDLDefinition
setURI
in interface WSDLDefinition
WSDLDefinition.setURI(java.net.URI)
public java.util.List<WSDLDefinition> getImportedDefinitions()
WSDLDefinition
getImportedDefinitions
in interface WSDLDefinition
WSDLDefinition.getImportedDefinitions()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public XmlSchemaElement getXmlSchemaElement(javax.xml.namespace.QName name)
WSDLDefinition
getXmlSchemaElement
in interface WSDLDefinition
WSDLDefinition.getXmlSchemaElement(javax.xml.namespace.QName)
public XmlSchemaType getXmlSchemaType(javax.xml.namespace.QName name)
WSDLDefinition
getXmlSchemaType
in interface WSDLDefinition
WSDLDefinition.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 WSDLDefinition
type
- javax.wsdl.Service/PortType/Binding/Message.classname
- The QName of the object
public Binding getBinding()
WSDLDefinition
getBinding
in interface WSDLDefinition
public void setBinding(Binding binding)
WSDLDefinition
setBinding
in interface WSDLDefinition
binding
- the WSDL binding
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |