|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.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 WSIFMessage
public void setName(java.lang.String name)
setName
in interface WSIFMessage
public java.lang.String getRepresentationStyle()
getRepresentationStyle
in interface WSIFMessage
public void setRepresentationStyle(java.lang.String rStyle)
setRepresentationStyle
in interface WSIFMessage
public java.util.Iterator getParts()
getParts
in interface WSIFMessage
public void setParts(java.util.Map sourceParts)
WSIFMessage
setParts
in interface WSIFMessage
public javax.wsdl.Message getMessageDefinition()
WSIFMessage
getMessageDefinition
in interface WSIFMessage
org.apache.wsif.WSIFMessage
public void setMessageDefinition(javax.wsdl.Message msgDef)
WSIFMessage
setMessageDefinition
in interface WSIFMessage
org.apache.wsif.WSIFMessage
msgDefinition
- public void setObjectPart(java.lang.String name, java.lang.Object part) throws WSIFException
setObjectPart
in interface WSIFMessage
public java.lang.Object getObjectPart(java.lang.String name) throws WSIFException
getObjectPart
in interface WSIFMessage
public java.lang.Object getObjectPart(java.lang.String name, java.lang.Class sourceClass) throws WSIFException
getObjectPart
in interface WSIFMessage
public byte getBytePart(java.lang.String name) throws WSIFException
getBytePart
in interface WSIFMessage
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 WSIFMessage
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 WSIFMessage
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 WSIFMessage
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 WSIFMessage
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 WSIFMessage
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 WSIFMessage
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 WSIFMessage
public void setBooleanPart(java.lang.String name, boolean part)
setBooleanPart
in interface WSIFMessage
public java.util.Iterator getPartNames()
WSIFMessage
NOTE: part names are unordered.
getPartNames
in interface WSIFMessage
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface WSIFMessage
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String deep()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |