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
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionaddMessagePart(String name) addMessagePart(QName name) Adds a message part to this container.voidAdds a message part to this container.addOutOfBandMessagePart(QName name) booleangetMessagePart(int n) Returns the n'th message part.getMessagePart(QName name) Returns the message part with the given name, if found.getMessagePartByIndex(int i) intgetMessagePartQName(String name) Returns all message parts for this message.intgetName()Returns the operation of this container.inthashCode()voidremoveMessagePart(QName name) Removes an message part from this container.voidintsize()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 Details- 
mName
 
- 
- 
Method Details- 
getMessageDocumentation
- 
setMessageDocumentation
- 
getName
- 
getOperationReturns the operation of this container.- Returns:
- the operation.
 
- 
addMessagePartAdds a message part to this container.- Parameters:
- name- the qualified name of the message part
- Returns:
- name  the newly created MessagePartInfoobject
 
- 
getMessagePartQName
- 
addMessagePart
- 
addMessagePartAdds a message part to this container.- Parameters:
- part- the message part.
 
- 
getMessagePartIndex
- 
getMessagePartByIndex
- 
removeMessagePartRemoves an message part from this container.- Parameters:
- name- the qualified message part name.
 
- 
getMessagePartReturns the message part with the given name, if found.- Parameters:
- name- the qualified name.
- Returns:
- the message part; or nullif not found.
 
- 
getMessagePartReturns the n'th message part.- Parameters:
- n- the n'th part to retrieve.
- Returns:
- the message part; or nullif not found.
 
- 
addOutOfBandMessagePart
- 
getMessagePartsReturns all message parts for this message.- Returns:
- all message parts.
 
- 
getMessagePartsNumberpublic int getMessagePartsNumber()
- 
getFirstMessagePart
- 
getOutOfBandParts
- 
sizepublic int size()
- 
hashCodepublic int hashCode()
- 
equals
 
-