public class StringSerializer extends TypeSerializerImpl
TypeSerializer for strings.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
STRING_TAG
(Optional) Tag name of a string value.
|
VALUE_TAG, ZERO_ATTRIBUTES| Constructor and Description |
|---|
StringSerializer() |
| 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 STRING_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.