Package org.apache.cxf.service.model
Class AbstractMessageContainer
- java.lang.Object
- 
- org.apache.cxf.service.model.AbstractPropertiesHolder
- 
- org.apache.cxf.service.model.AbstractMessageContainer
 
 
- 
- All Implemented Interfaces:
- Extensible,- NamedItem
 - Direct Known Subclasses:
- FaultInfo,- MessageInfo
 
 public abstract class AbstractMessageContainer extends AbstractPropertiesHolder implements NamedItem 
- 
- 
Method Summary- 
Methods inherited from class org.apache.cxf.service.model.AbstractPropertiesHolderaddExtensionAttribute, addExtensor, containsExtensor, equals, getDocumentation, getExtensionAttribute, getExtensionAttributes, getExtensor, getExtensors, getExtensors, getProperties, getProperty, getProperty, getTraversedExtensor, hasProperty, removeProperty, setDelegate, setDocumentation, setExtensionAttributes, setProperty
 
- 
 
- 
- 
- 
Field Detail- 
mNameprotected QName mName 
 
- 
 - 
Method Detail- 
getMessageDocumentationpublic String getMessageDocumentation() 
 - 
setMessageDocumentationpublic void setMessageDocumentation(String doc) 
 - 
getOperationpublic OperationInfo getOperation() Returns the operation of this container.- Returns:
- the operation.
 
 - 
addMessagePartpublic MessagePartInfo addMessagePart(QName name) Adds a message part to this container.- Parameters:
- name- the qualified name of the message part
- Returns:
- name  the newly created MessagePartInfoobject
 
 - 
addMessagePartpublic MessagePartInfo addMessagePart(String name) 
 - 
addMessagePartpublic void addMessagePart(MessagePartInfo part) Adds a message part to this container.- Parameters:
- part- the message part.
 
 - 
getMessagePartIndexpublic int getMessagePartIndex(MessagePartInfo part) 
 - 
getMessagePartByIndexpublic MessagePartInfo getMessagePartByIndex(int i) 
 - 
removeMessagePartpublic void removeMessagePart(QName name) Removes an message part from this container.- Parameters:
- name- the qualified message part name.
 
 - 
getMessagePartpublic MessagePartInfo getMessagePart(QName name) Returns the message part with the given name, if found.- Parameters:
- name- the qualified name.
- Returns:
- the message part; or nullif not found.
 
 - 
getMessagePartpublic MessagePartInfo getMessagePart(int n) Returns the n'th message part.- Parameters:
- n- the n'th part to retrieve.
- Returns:
- the message part; or nullif not found.
 
 - 
addOutOfBandMessagePartpublic MessagePartInfo addOutOfBandMessagePart(QName name) 
 - 
getMessagePartspublic List<MessagePartInfo> getMessageParts() Returns all message parts for this message.- Returns:
- all message parts.
 
 - 
getMessagePartsNumberpublic int getMessagePartsNumber() 
 - 
getFirstMessagePartpublic MessagePartInfo getFirstMessagePart() 
 - 
getOutOfBandPartspublic List<MessagePartInfo> getOutOfBandParts() 
 - 
sizepublic int size() 
 
- 
 
-