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, write
public static final String BOOLEAN_TAG
public void write(ContentHandler pHandler, Object pObject) throws SAXException
TypeSerializer
pObject
to the SAX handler
pHandler
.pHandler
- The destination handler.pObject
- The object being written.SAXException
- Writing the object failed.Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.