Package org.apache.xmlrpc.serializer
Class BooleanSerializer
java.lang.Object
org.apache.xmlrpc.serializer.TypeSerializerImpl
org.apache.xmlrpc.serializer.BooleanSerializer
- All Implemented Interfaces:
TypeSerializer
A
TypeSerializer for booleans.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringTag name of a boolean value.private static final char[]private static final char[]Fields inherited from class org.apache.xmlrpc.serializer.TypeSerializerImpl
VALUE_TAG, ZERO_ATTRIBUTES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(ContentHandler pHandler, Object pObject) Writes the objectpObjectto the SAX handlerpHandler.Methods inherited from class org.apache.xmlrpc.serializer.TypeSerializerImpl
write, write, write
-
Field Details
-
BOOLEAN_TAG
Tag name of a boolean value.- See Also:
-
TRUE
private static final char[] TRUE -
FALSE
private static final char[] FALSE
-
-
Constructor Details
-
BooleanSerializer
public BooleanSerializer()
-
-
Method Details
-
write
Description copied from interface:TypeSerializerWrites the objectpObjectto the SAX handlerpHandler.- Parameters:
pHandler- The destination handler.pObject- The object being written.- Throws:
SAXException- Writing the object failed.
-