public abstract class AbstractMessageWriter extends Object implements MessageWriter
Constructor and Description |
---|
AbstractMessageWriter() |
Modifier and Type | Method and Description |
---|---|
void |
writeValueAsBoolean(boolean b) |
void |
writeValueAsByte(Byte b) |
void |
writeValueAsCharacter(Character char1) |
void |
writeValueAsDouble(Double d) |
void |
writeValueAsFloat(Float f) |
void |
writeValueAsInt(Integer i) |
void |
writeValueAsLong(Long l) |
void |
writeValueAsShort(Short s) |
void |
writeXsiNil() |
void |
writeXsiType(QName type)
As per 2.6.1 in
XML Schema Part 1: "An element information item in an instance may,
however, explicitly assert its type using the attribute
xsi:type ." |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getAttributeWriter, getAttributeWriter, getAttributeWriter, getElementWriter, getElementWriter, getElementWriter, getPrefixForNamespace, getPrefixForNamespace, writeValue
public void writeXsiType(QName type)
MessageWriter
xsi:type
."writeXsiType
in interface MessageWriter
type
- the QName of the type being referenced.public void writeXsiNil()
writeXsiNil
in interface MessageWriter
public void writeValueAsInt(Integer i)
writeValueAsInt
in interface MessageWriter
MessageWriter.writeValueAsInt(java.lang.Integer)
public void writeValueAsByte(Byte b)
writeValueAsByte
in interface MessageWriter
public void writeValueAsDouble(Double d)
writeValueAsDouble
in interface MessageWriter
MessageWriter.writeValueAsDouble(java.lang.Double)
public void writeValueAsCharacter(Character char1)
writeValueAsCharacter
in interface MessageWriter
MessageWriter.writeValueAsCharacter(java.lang.Character)
public void writeValueAsLong(Long l)
writeValueAsLong
in interface MessageWriter
MessageWriter.writeValueAsLong(java.lang.Long)
public void writeValueAsFloat(Float f)
writeValueAsFloat
in interface MessageWriter
MessageWriter.writeValueAsFloat(java.lang.Float)
public void writeValueAsBoolean(boolean b)
writeValueAsBoolean
in interface MessageWriter
MessageWriter.writeValueAsBoolean(boolean)
public void writeValueAsShort(Short s)
writeValueAsShort
in interface MessageWriter
Apache CXF