|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
SOAPMessage
and
SOAPElement
.
this interface specifies a part of XML message (i.e. header or body element)
Method Summary | |
TokenWriter |
getContentTokenWriter()
Deprecated. Returns the token writer for the message part. |
java.util.Map |
getPartProperties()
Deprecated. Returns unmodifiable map containing all defined properties for this message part instance. |
java.lang.String |
getPartProperty(QName property)
Deprecated. returns the property of the contained part (name, namespace, mustUnderstand, encodingURI, ...) |
Tokenizer |
getTokenizer()
Deprecated. returns the tokenizer associated with this message part. |
Method Detail |
public java.lang.String getPartProperty(QName property)
property
- the name of the property
public java.util.Map getPartProperties()
public Tokenizer getTokenizer()
Tokenizer t = msg.getBody().getTokenizer();
t.next(); // moves in the tokenizer. The first element is lost !
msg.setBody(t); // this will fail !
public TokenWriter getContentTokenWriter() throws java.io.IOException
java.io.IOException
- if there was an IO error during part's writer initialization
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |