org.apache.cxf.service.model
public abstract class AbstractMessageContainer extends AbstractPropertiesHolder implements NamedItem
| Modifier and Type | Method and Description |
|---|---|
void |
addMessagePart(MessagePartInfo part)
Adds a message part to this container.
|
MessagePartInfo |
addMessagePart(QName name)
Adds a message part to this container.
|
MessagePartInfo |
addMessagePart(String name) |
MessagePartInfo |
addOutOfBandMessagePart(QName name) |
boolean |
equals(Object o) |
MessagePartInfo |
getMessagePart(int n)
Returns the n'th message part.
|
MessagePartInfo |
getMessagePart(QName name)
Returns the message part with the given name, if found.
|
MessagePartInfo |
getMessagePartByIndex(int i) |
int |
getMessagePartIndex(MessagePartInfo part) |
QName |
getMessagePartQName(String name) |
List<MessagePartInfo> |
getMessageParts()
Returns all message parts for this message.
|
QName |
getName() |
OperationInfo |
getOperation()
Returns the operation of this container.
|
List<MessagePartInfo> |
getOutOfBandParts() |
int |
hashCode() |
void |
removeMessagePart(QName name)
Removes an message part from this container.
|
int |
size() |
addExtensionAttribute, addExtensor, containsExtensor, equals, getExtensionAttribute, getExtensionAttributes, getExtensor, getExtensors, getExtensors, getProperties, getProperty, getProperty, getTraversedExtensor, hasProperty, removeProperty, setDelegate, setExtensionAttributes, setPropertyprotected QName mName
public OperationInfo getOperation()
public MessagePartInfo addMessagePart(QName name)
name - the qualified name of the message partMessagePartInfo objectpublic MessagePartInfo addMessagePart(String name)
public void addMessagePart(MessagePartInfo part)
part - the message part.public int getMessagePartIndex(MessagePartInfo part)
public MessagePartInfo getMessagePartByIndex(int i)
public void removeMessagePart(QName name)
name - the qualified message part name.public MessagePartInfo getMessagePart(QName name)
name - the qualified name.null if not found.public MessagePartInfo getMessagePart(int n)
n - the n'th part to retrieve.null if not found.public MessagePartInfo addOutOfBandMessagePart(QName name)
public List<MessagePartInfo> getMessageParts()
public List<MessagePartInfo> getOutOfBandParts()
public int size()
Apache CXF