public class StringSerializer extends TypeSerializerImpl
TypeSerializer
for strings.Modifier and Type | Field and Description |
---|---|
static 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(ContentHandler pHandler,
Object pObject)
Writes the object
pObject to the SAX handler
pHandler . |
write, write, write
public static final String STRING_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–2016 The Apache Software Foundation. All rights reserved.