public class BooleanSerializer extends TypeSerializerImpl
TypeSerializer
for booleans.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BOOLEAN_TAG
Tag name of a boolean value.
|
private static char[] |
FALSE |
private static char[] |
TRUE |
VALUE_TAG, ZERO_ATTRIBUTES
Constructor and Description |
---|
BooleanSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
write(org.xml.sax.ContentHandler pHandler,
java.lang.Object pObject)
Writes the object
pObject to the SAX handler
pHandler . |
write, write, write
public static final java.lang.String BOOLEAN_TAG
private static final char[] TRUE
private static final char[] FALSE
public void write(org.xml.sax.ContentHandler pHandler, java.lang.Object pObject) throws org.xml.sax.SAXException
TypeSerializer
pObject
to the SAX handler
pHandler
.pHandler
- The destination handler.pObject
- The object being written.org.xml.sax.SAXException
- Writing the object failed.