public class BooleanSerializer extends TypeSerializerImpl
TypeSerializer for booleans.| Modifier and Type | Field and Description |
|---|---|
static String |
BOOLEAN_TAG
Tag name of a boolean value.
|
VALUE_TAG, ZERO_ATTRIBUTES| Constructor and Description |
|---|
BooleanSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
write(ContentHandler pHandler,
Object pObject)
Writes the object
pObject to the SAX handler
pHandler. |
write, write, writepublic static final String BOOLEAN_TAG
public void write(ContentHandler pHandler, Object pObject) throws SAXException
TypeSerializerpObject to the SAX handler
pHandler.pHandler - The destination handler.pObject - The object being written.SAXException - Writing the object failed.Copyright © 2001-2015 The Apache Software Foundation. All Rights Reserved.