|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.wsif.base.WSIFDefaultMessage
A DefaultWSIFMessage is a default implementation of WSIFMessage holding a collection of WSIFParts corresponding to the parts of a message as defined in WSDL.
| Constructor Summary | |
WSIFDefaultMessage()
|
|
| Method Summary | |
java.lang.Object |
clone()
|
java.lang.String |
deep()
|
boolean |
getBooleanPart(java.lang.String name)
|
byte |
getBytePart(java.lang.String name)
|
char |
getCharPart(java.lang.String name)
|
double |
getDoublePart(java.lang.String name)
|
float |
getFloatPart(java.lang.String name)
|
int |
getIntPart(java.lang.String name)
|
long |
getLongPart(java.lang.String name)
|
javax.wsdl.Message |
getMessageDefinition()
Get the underlying WSDL model for this message. |
java.lang.String |
getName()
Set the name of this message. |
java.lang.Object |
getObjectPart(java.lang.String name)
|
java.lang.Object |
getObjectPart(java.lang.String name,
java.lang.Class sourceClass)
|
java.util.Iterator |
getPartNames()
Return list of part names. |
java.util.Iterator |
getParts()
Return an iterator of the parts in the message. |
java.lang.String |
getRepresentationStyle()
Return the representation style for all parts in this message |
short |
getShortPart(java.lang.String name)
|
void |
setBooleanPart(java.lang.String name,
boolean part)
|
void |
setBytePart(java.lang.String name,
byte part)
|
void |
setCharPart(java.lang.String name,
char part)
|
void |
setDoublePart(java.lang.String name,
double part)
|
void |
setFloatPart(java.lang.String name,
float part)
|
void |
setIntPart(java.lang.String name,
int part)
|
void |
setLongPart(java.lang.String name,
long part)
|
void |
setMessageDefinition(javax.wsdl.Message msgDef)
Set the underlying WSDL model for this message. |
void |
setName(java.lang.String name)
Get the name of this message. |
void |
setObjectPart(java.lang.String name,
java.lang.Object part)
|
void |
setParts(java.util.Map sourceParts)
This message parts will be replaced by sourceParts. |
void |
setRepresentationStyle(java.lang.String rStyle)
Set the representation style for all parts in this message |
void |
setShortPart(java.lang.String name,
short part)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public WSIFDefaultMessage()
| Method Detail |
public java.lang.String getName()
getName in interface WSIFMessagepublic void setName(java.lang.String name)
setName in interface WSIFMessagepublic java.lang.String getRepresentationStyle()
getRepresentationStyle in interface WSIFMessagepublic void setRepresentationStyle(java.lang.String rStyle)
setRepresentationStyle in interface WSIFMessagepublic java.util.Iterator getParts()
getParts in interface WSIFMessagepublic void setParts(java.util.Map sourceParts)
WSIFMessage
setParts in interface WSIFMessagepublic javax.wsdl.Message getMessageDefinition()
WSIFMessage
getMessageDefinition in interface WSIFMessagepublic void setMessageDefinition(javax.wsdl.Message msgDef)
WSIFMessage
setMessageDefinition in interface WSIFMessage
public void setObjectPart(java.lang.String name,
java.lang.Object part)
throws WSIFException
setObjectPart in interface WSIFMessageWSIFException
public java.lang.Object getObjectPart(java.lang.String name)
throws WSIFException
getObjectPart in interface WSIFMessageWSIFException
public java.lang.Object getObjectPart(java.lang.String name,
java.lang.Class sourceClass)
throws WSIFException
getObjectPart in interface WSIFMessageWSIFException
public byte getBytePart(java.lang.String name)
throws WSIFException
getBytePart in interface WSIFMessageWSIFException
public void setBytePart(java.lang.String name,
byte part)
setBytePart in interface WSIFMessage
public char getCharPart(java.lang.String name)
throws WSIFException
getCharPart in interface WSIFMessageWSIFException
public void setCharPart(java.lang.String name,
char part)
setCharPart in interface WSIFMessage
public int getIntPart(java.lang.String name)
throws WSIFException
getIntPart in interface WSIFMessageWSIFException
public void setIntPart(java.lang.String name,
int part)
setIntPart in interface WSIFMessage
public long getLongPart(java.lang.String name)
throws WSIFException
getLongPart in interface WSIFMessageWSIFException
public void setLongPart(java.lang.String name,
long part)
setLongPart in interface WSIFMessage
public short getShortPart(java.lang.String name)
throws WSIFException
getShortPart in interface WSIFMessageWSIFException
public void setShortPart(java.lang.String name,
short part)
setShortPart in interface WSIFMessage
public float getFloatPart(java.lang.String name)
throws WSIFException
getFloatPart in interface WSIFMessageWSIFException
public void setFloatPart(java.lang.String name,
float part)
setFloatPart in interface WSIFMessage
public double getDoublePart(java.lang.String name)
throws WSIFException
getDoublePart in interface WSIFMessageWSIFException
public void setDoublePart(java.lang.String name,
double part)
setDoublePart in interface WSIFMessage
public boolean getBooleanPart(java.lang.String name)
throws WSIFException
getBooleanPart in interface WSIFMessageWSIFException
public void setBooleanPart(java.lang.String name,
boolean part)
setBooleanPart in interface WSIFMessagepublic java.util.Iterator getPartNames()
WSIFMessageNOTE: part names are unordered.
getPartNames in interface WSIFMessage
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface WSIFMessagejava.lang.CloneNotSupportedExceptionpublic java.lang.String toString()
public java.lang.String deep()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||