public final class SoapEncodingUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
readAttributeValue(MessageReader reader,
QName name) |
static String |
readId(MessageReader reader)
Reads the SOAP 1.2 or SOAP 1.1 id attribute.
|
static String |
readRef(MessageReader reader)
Reads the SOAP 1.2 or SOAP 1.1 reference attribute.
|
static void |
writeAttribute(MessageWriter writer,
QName name,
String value) |
static void |
writeId(MessageWriter writer,
String id)
Writes a SOAP 1.1 id attribute.
|
static void |
writeRef(MessageWriter writer,
String refId)
Writes a SOAP 1.1 ref attribute.
|
public static String readId(MessageReader reader)
reader
- the stream to read; must not be nullpublic static void writeId(MessageWriter writer, String id)
writer
- the stream to which the id should be written; must not be nullid
- the id to write; must not be nullpublic static String readRef(MessageReader reader)
reader
- the stream to read; must not be nullpublic static void writeRef(MessageWriter writer, String refId)
writer
- the stream to which the id should be written; must not be nullrefId
- the reference id to write; must not be nullpublic static String readAttributeValue(MessageReader reader, QName name)
public static void writeAttribute(MessageWriter writer, QName name, String value)
Apache CXF