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, getParentElement
containsComponent, equals, getComponentExtensionContext, getExtensionProperties, getExtensionProperties, getExtensionProperty, isEquivalentTo, setComponentExtensionContext, toString
addDocumentationElement, getDocumentationElements
addExtensionElement, addNamespace, getDeclaredNamespaces, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, removeNamespace, setExtensionAttribute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getParent
equals, getComponentExtensionContext, isEquivalentTo, setComponentExtensionContext, toString
getExtensionProperties, getExtensionProperties, getExtensionProperty
addDocumentationElement, getDocumentationElements
getParentElement
addNamespace, getDeclaredNamespaces, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, removeNamespace
getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttribute
addExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElement
public NCName getMessageLabel()
InterfaceMessageReference
getMessageLabel
in interface InterfaceMessageReference
getMessageLabel
in interface InterfaceMessageReferenceElement
public Direction getDirection()
InterfaceMessageReference
getDirection
in interface InterfaceMessageReference
getDirection
in interface InterfaceMessageReferenceElement
public String getMessageContentModel()
InterfaceMessageReference
getMessageContentModel
in interface InterfaceMessageReference
public ElementDeclaration getElementDeclaration()
InterfaceMessageReference
getElementDeclaration
in interface InterfaceMessageReference
public InterfaceMessageReferenceElement toElement()
InterfaceMessageReference
toElement
in interface InterfaceMessageReference
public void setMessageLabel(NCName msgLabel)
InterfaceMessageReferenceElement
messageLabel
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 InterfaceMessageReferenceElement
msgLabel
- the NCName representing the message labelpublic void setElement(QNameTokenUnion element)
InterfaceMessageReferenceElement
element
attribute of the interface
operation <input> or <output> element.setElement
in interface InterfaceMessageReferenceElement
element
- the QNameTokenEnum of the element declaration.public QNameTokenUnion getElement()
InterfaceMessageReferenceElement
element
attribute of the interface
operation <input> or <output> element.getElement
in interface InterfaceMessageReferenceElement
public org.apache.ws.commons.schema.XmlSchemaElement getXmlSchemaElement()
InterfaceMessageReferenceElement
element
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 InterfaceMessageReferenceElement
public void setDirection(Direction dir)
InterfaceMessageReferenceElement
setDirection
in interface InterfaceMessageReferenceElement
dir
- the Direction of the messagepublic FragmentIdentifier getFragmentIdentifier()
WSDLComponent
getFragmentIdentifier
in interface WSDLComponent
Copyright © 2005–2016 Apache Software Foundation. All rights reserved.