public final class BindingImpl extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.xmlbeans.XmlObject |
mXmlObject
The base XML object we are dealing with.
|
| Modifier and Type | Method and Description |
|---|---|
BindingFault |
addNewBindingFault(InterfaceFault ref)
Create a new binding fault, appending it to this binding's faults
list.
|
BindingOperation |
addNewOperation()
Create a new operation, appending it to this binding's operations list.
|
void |
appendFault(BindingFault theFault)
Append an item to faults bound by this binding definition.
|
void |
appendOperation(BindingOperation theOperation)
Append an item to named binding operations, if any.
|
protected BindingType |
getBean()
Get the BindingType XML bean behind this Binding component.
|
protected com.sun.jbi.wsdl2.impl.DescriptionImpl |
getContainer()
Get the container for this component.
|
Document |
getDocument()
Deprecated.
- replaced by getDocument(int i)
|
Document |
getDocument(int i)
Get documentation for component, if any.
|
protected ExtensibleDocumentedType |
getExBean()
Get the extensible, documented XML bean for this (abstract) component.
|
Extensions |
getExtensions()
Get extensions for component, if any.
|
BindingFault |
getFault(int index)
Get faults bound by this binding definition by indexed position.
|
int |
getFaultsLength()
Get the number of BindingFault items in faults.
|
Interface |
getInterface()
Get interface being bound by this binding definition, if any.
|
String |
getName()
Get local name of this binding component.
|
BindingOperation |
getOperation(int index)
Get named binding operations, if any, by indexed position.
|
int |
getOperationsLength()
Get the number of BindingOperation items in operations.
|
QName |
getQName()
Get the qualified name of this binding component.
|
String |
getTargetNamespace()
Get the target namespace of this binding.
|
String |
getType()
Get URI indicating the type of this binding.
|
Map |
getWsdlAttributeNameMap()
Get map of WSDL-defined attribute QNames for this component, indexed by
canonical QName string (see
QName.toString(). |
BindingFault |
removeFault(int index)
Remove faults bound by this binding definition by index position.
|
BindingOperation |
removeOperation(int index)
Remove named binding operations, if any, by index position.
|
void |
setDocument(Document theDocument)
Deprecated.
- replaced by setDocument(int i, Document theDocument);
|
void |
setDocument(int i,
Document theDocument)
Set documentation for component, if any.
|
void |
setExtensions(Extensions theExtensions)
Set extensions for component, if any.
|
void |
setFault(int index,
BindingFault theFault)
Set faults bound by this binding definition by indexed position.
|
void |
setInterface(Interface theInterface)
Set interface being bound by this binding definition, if any.
|
void |
setName(String theName)
Set local name of this binding component.
|
void |
setOperation(int index,
BindingOperation theOperation)
Set named binding operations, if any by indexed position.
|
void |
setType(String theType)
Set URI indicating the type of this binding
|
DocumentFragment |
toXmlDocumentFragment()
Return this binding as a DOM document fragment.
|
String |
toXmlString()
Return this WSDL binding as an XML string.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocument, getDocument, getExtensions, setDocument, setDocument, setExtensionsprotected org.apache.xmlbeans.XmlObject mXmlObject
protected com.sun.jbi.wsdl2.impl.DescriptionImpl getContainer()
public Map getWsdlAttributeNameMap()
QName.toString().
Implementation note: since this method is declared in the public API
interface, it has to be a member, not static. We delegate
to a class method to do the actual work.
public String getTargetNamespace()
public QName getQName()
public Interface getInterface()
public void setInterface(Interface theInterface)
theInterface - Interface being bound by this binding definition, if anypublic int getFaultsLength()
public BindingFault getFault(int index)
index - Indexed position value 0..length-1index position.public void setFault(int index,
BindingFault theFault)
index - Indexed position value (0..length-1) of the item to settheFault - Item to add at position index.public void appendFault(BindingFault theFault)
theFault - Item to append to faultspublic BindingFault removeFault(int index)
index - The index position of the fault to removepublic int getOperationsLength()
public BindingOperation getOperation(int index)
index - Indexed position value 0..length-1index position.public void setOperation(int index,
BindingOperation theOperation)
index - Indexed position value (0..length-1) of the item to settheOperation - Item to add at position index.public void appendOperation(BindingOperation theOperation)
theOperation - Item to append to operationspublic BindingOperation removeOperation(int index)
index - The index position of the operation to removepublic BindingOperation addNewOperation()
addNewOperation in interface Bindingpublic BindingFault addNewBindingFault(InterfaceFault ref)
addNewBindingFault in interface Bindingref - Interface fault to which the new binding fault adds binding
informationpublic String toXmlString()
toXmlString in interface Bindingpublic DocumentFragment toXmlDocumentFragment()
toXmlDocumentFragment in interface Bindingprotected final BindingType getBean()
public String getName()
public void setName(String theName)
public String getType()
public void setType(String theType)
protected final ExtensibleDocumentedType getExBean()
public Document getDocument(int i)
getDocument in interface ExtensibleDocumentedComponenti - index by which this document is obtainedpublic Document getDocument()
getDocument in interface ExtensibleDocumentedComponentpublic void setDocument(int i,
Document theDocument)
setDocument in interface ExtensibleDocumentedComponenti - index by which this document is settheDocument - documentation for component, if anypublic void setDocument(Document theDocument)
setDocument in interface ExtensibleDocumentedComponenttheDocument - documentation for component, if anypublic Extensions getExtensions()
getExtensions in interface ExtensibleDocumentedComponentpublic void setExtensions(Extensions theExtensions)
setExtensions in interface ExtensibleDocumentedComponenttheExtensions - extensions for component, if anyCopyright © 2011-2016 OpenESB Community. All Rights Reserved.