public class InterfaceMessageReferenceImpl extends NestedImpl implements InterfaceMessageReference, InterfaceMessageReferenceElement
| Constructor and Description |
|---|
InterfaceMessageReferenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Direction |
getDirection()
Returns an enumerated type, Direction, that indicates the direction of this message.
|
QNameTokenUnion |
getElement()
Return the union of the xs:token and xs:QName of the global schema element declaration referred to by this
InterfaceMessageReferenceElement.
|
ElementDeclaration |
getElementDeclaration()
Returns the ElementDeclaration representing the {element declaration} property
of this InterfaceMessageReference.
|
FragmentIdentifier |
getFragmentIdentifier()
Returns the fragment identifier for this WSDL 2.0 component.
|
String |
getMessageContentModel()
Returns a String representing the {message content model} property of this
InterfaceMessageReference.
|
NCName |
getMessageLabel()
Returns an NCName representing the {message label} property of this
InterfaceMessageReference.
|
org.apache.ws.commons.schema.XmlSchemaElement |
getXmlSchemaElement()
Return the XmlSchemaElement representing the global schema element declaration
referred to by this InterfaceMessageReferenceElement.
|
void |
setDirection(Direction dir)
Set the message direction using the specified enumerated type, Direction,
which indicates the direction of the message.
|
void |
setElement(QNameTokenUnion element)
Specify the union of the xs:token and xs:QName of the global schema element declaration referred to by this
InterfaceMessageReferenceElement.
|
void |
setMessageLabel(NCName msgLabel)
Set the message label to the specified NCName.
|
InterfaceMessageReferenceElement |
toElement()
Returns a WSDLElement that represents the element information item from the WSDL 2.0
infoset that maps to this WSDLComponent.
|
getParent, getParentElementcontainsComponent, equals, getComponentExtensionContext, getExtensionProperties, getExtensionProperties, getExtensionProperty, isEquivalentTo, setComponentExtensionContext, toStringaddDocumentationElement, getDocumentationElementsaddExtensionElement, addNamespace, getDeclaredNamespaces, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, removeNamespace, setExtensionAttributeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParentequals, getComponentExtensionContext, isEquivalentTo, setComponentExtensionContext, toStringgetExtensionProperties, getExtensionProperties, getExtensionPropertyaddDocumentationElement, getDocumentationElementsgetParentElementaddNamespace, getDeclaredNamespaces, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, removeNamespacegetExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttributeaddExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElementpublic NCName getMessageLabel()
InterfaceMessageReferencegetMessageLabel in interface InterfaceMessageReferencegetMessageLabel in interface InterfaceMessageReferenceElementpublic Direction getDirection()
InterfaceMessageReferencegetDirection in interface InterfaceMessageReferencegetDirection in interface InterfaceMessageReferenceElementpublic String getMessageContentModel()
InterfaceMessageReferencegetMessageContentModel in interface InterfaceMessageReferencepublic ElementDeclaration getElementDeclaration()
InterfaceMessageReferencegetElementDeclaration in interface InterfaceMessageReferencepublic InterfaceMessageReferenceElement toElement()
InterfaceMessageReferencetoElement in interface InterfaceMessageReferencepublic void setMessageLabel(NCName msgLabel)
InterfaceMessageReferenceElementmessageLabel attribute of the interface operation
<input> and <output> elements.
It represents a placeholder message in the message exchange pattern specified by the
parent interface <operation> element.setMessageLabel in interface InterfaceMessageReferenceElementmsgLabel - the NCName representing the message labelpublic void setElement(QNameTokenUnion element)
InterfaceMessageReferenceElementelement attribute of the interface
operation <input> or <output> element.setElement in interface InterfaceMessageReferenceElementelement - the QNameTokenEnum of the element declaration.public QNameTokenUnion getElement()
InterfaceMessageReferenceElementelement attribute of the interface
operation <input> or <output> element.getElement in interface InterfaceMessageReferenceElementpublic org.apache.ws.commons.schema.XmlSchemaElement getXmlSchemaElement()
InterfaceMessageReferenceElementelement
attribute of the interface operation <input> or <output> element.
If this reference cannot be resolved to an element declaration in a schema that
is visible to the enclosing <description>, this method will return null.
To be visible, the schema must have been correctly imported or inlined within
the <types> element.getXmlSchemaElement in interface InterfaceMessageReferenceElementpublic void setDirection(Direction dir)
InterfaceMessageReferenceElementsetDirection in interface InterfaceMessageReferenceElementdir - the Direction of the messagepublic FragmentIdentifier getFragmentIdentifier()
WSDLComponentgetFragmentIdentifier in interface WSDLComponentCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.