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
A TypeSerializer
for booleans.
Field Summary |
static java.lang.String |
BOOLEAN_TAG
Tag name of a boolean value. |
private static char[] |
FALSE
|
private static char[] |
TRUE
|
Method Summary |
void |
write(org.xml.sax.ContentHandler pHandler,
java.lang.Object pObject)
Writes the object pObject to the SAX handler
pHandler . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
BooleanSerializer
public BooleanSerializer()
write
public void write(org.xml.sax.ContentHandler pHandler,
java.lang.Object pObject)
throws org.xml.sax.SAXException
- Description copied from interface:
TypeSerializer
- Writes the object
pObject
to the SAX handler
pHandler
.
- Parameters:
pHandler
- The destination handler.pObject
- The object being written.
- Throws:
org.xml.sax.SAXException
- Writing the object failed.