public class NullSerializer extends TypeSerializerImpl
TypeSerializer
for null values.Modifier and Type | Field and Description |
---|---|
static String |
EX_NIL_TAG
Qualified tag name of a nil value.
|
static 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(ContentHandler pHandler,
Object pObject)
Writes the object
pObject to the SAX handler
pHandler . |
write, write, write
public static final String NIL_TAG
public static final String EX_NIL_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-2014 The Apache Software Foundation. All Rights Reserved.