Package org.apache.xmlrpc.serializer
Class BooleanSerializer
- java.lang.Object
-
- org.apache.xmlrpc.serializer.TypeSerializerImpl
-
- org.apache.xmlrpc.serializer.BooleanSerializer
-
- All Implemented Interfaces:
TypeSerializer
public class BooleanSerializer extends TypeSerializerImpl
ATypeSerializerfor booleans.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBOOLEAN_TAGTag name of a boolean value.private static char[]FALSEprivate static char[]TRUE-
Fields inherited from class org.apache.xmlrpc.serializer.TypeSerializerImpl
VALUE_TAG, ZERO_ATTRIBUTES
-
-
Constructor Summary
Constructors Constructor Description BooleanSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(org.xml.sax.ContentHandler pHandler, java.lang.Object pObject)Writes the objectpObjectto the SAX handlerpHandler.-
Methods inherited from class org.apache.xmlrpc.serializer.TypeSerializerImpl
write, write, write
-
-
-
-
Field Detail
-
BOOLEAN_TAG
public static final java.lang.String BOOLEAN_TAG
Tag name of a boolean value.- See Also:
- Constant Field Values
-
TRUE
private static final char[] TRUE
-
FALSE
private static final char[] FALSE
-
-
Method Detail
-
write
public void write(org.xml.sax.ContentHandler pHandler, java.lang.Object pObject) throws org.xml.sax.SAXExceptionDescription copied from interface:TypeSerializerWrites the objectpObjectto the SAX handlerpHandler.- Parameters:
pHandler- The destination handler.pObject- The object being written.- Throws:
org.xml.sax.SAXException- Writing the object failed.
-
-