org.apache.cxf.aegis.xml
Class AbstractMessageWriter
java.lang.Object
org.apache.cxf.aegis.xml.AbstractMessageWriter
- All Implemented Interfaces:
- MessageWriter
- Direct Known Subclasses:
- AttributeWriter, AttributeWriter, ElementWriter
public abstract class AbstractMessageWriter
- extends Object
- implements MessageWriter
Basic type conversion functionality for writing messages.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMessageWriter
public AbstractMessageWriter()
writeXsiType
public void writeXsiType(QName type)
- Description copied from interface:
MessageWriter
- 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
."
- Specified by:
writeXsiType
in interface MessageWriter
writeXsiNil
public void writeXsiNil()
- Specified by:
writeXsiNil
in interface MessageWriter
writeValueAsInt
public void writeValueAsInt(Integer i)
- Specified by:
writeValueAsInt
in interface MessageWriter
- See Also:
MessageWriter.writeValueAsInt(java.lang.Integer)
writeValueAsByte
public void writeValueAsByte(Byte b)
- Specified by:
writeValueAsByte
in interface MessageWriter
writeValueAsDouble
public void writeValueAsDouble(Double d)
- Specified by:
writeValueAsDouble
in interface MessageWriter
- See Also:
MessageWriter.writeValueAsDouble(java.lang.Double)
writeValueAsCharacter
public void writeValueAsCharacter(Character char1)
- Specified by:
writeValueAsCharacter
in interface MessageWriter
- See Also:
MessageWriter.writeValueAsCharacter(java.lang.Character)
writeValueAsLong
public void writeValueAsLong(Long l)
- Specified by:
writeValueAsLong
in interface MessageWriter
- See Also:
MessageWriter.writeValueAsLong(java.lang.Long)
writeValueAsFloat
public void writeValueAsFloat(Float f)
- Specified by:
writeValueAsFloat
in interface MessageWriter
- See Also:
MessageWriter.writeValueAsFloat(java.lang.Float)
writeValueAsBoolean
public void writeValueAsBoolean(boolean b)
- Specified by:
writeValueAsBoolean
in interface MessageWriter
- See Also:
MessageWriter.writeValueAsBoolean(boolean)
writeValueAsShort
public void writeValueAsShort(Short s)
- Specified by:
writeValueAsShort
in interface MessageWriter
Apache CXF