public abstract class ExtSerializer extends Object implements TypeSerializer
Constructor and Description |
---|
ExtSerializer() |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getTagName()
Returns the unqualied tag name.
|
protected abstract void |
serialize(ContentHandler pHandler,
Object pObject)
Performs the actual serialization.
|
void |
write(ContentHandler pHandler,
Object pObject)
Writes the object
pObject to the SAX handler
pHandler . |
protected abstract String getTagName()
protected abstract void serialize(ContentHandler pHandler, Object pObject) throws SAXException
SAXException
public void write(ContentHandler pHandler, Object pObject) throws SAXException
TypeSerializer
pObject
to the SAX handler
pHandler
.write
in interface TypeSerializer
pHandler
- The destination handler.pObject
- The object being written.SAXException
- Writing the object failed.Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.