public class NullSerializer extends TypeSerializerImpl
TypeSerializer for null values.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EX_NIL_TAG
Qualified tag name of a nil value.
|
static java.lang.String |
NIL_TAG
Tag name of a nil value.
|
VALUE_TAG, ZERO_ATTRIBUTES| Constructor and Description |
|---|
NullSerializer() |
| 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, writepublic static final java.lang.String NIL_TAG
public static final java.lang.String EX_NIL_TAG
public void write(org.xml.sax.ContentHandler pHandler,
java.lang.Object pObject)
throws org.xml.sax.SAXException
TypeSerializerpObject to the SAX handler
pHandler.pHandler - The destination handler.pObject - The object being written.org.xml.sax.SAXException - Writing the object failed.Copyright © 2001–2017. All rights reserved.