Package org.apache.xmlrpc.serializer
Class ExtSerializer
java.lang.Object
org.apache.xmlrpc.serializer.ExtSerializer
- All Implemented Interfaces:
TypeSerializer
- Direct Known Subclasses:
JaxbSerializer
,NodeSerializer
Base class for external XML representations, like DOM,
or JAXB.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract String
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 objectpObject
to the SAX handlerpHandler
.
-
Constructor Details
-
ExtSerializer
public ExtSerializer()
-
-
Method Details
-
getTagName
Returns the unqualied tag name. -
serialize
Performs the actual serialization.- Throws:
SAXException
-
write
Description copied from interface:TypeSerializer
Writes the objectpObject
to the SAX handlerpHandler
.- Specified by:
write
in interfaceTypeSerializer
- Parameters:
pHandler
- The destination handler.pObject
- The object being written.- Throws:
SAXException
- Writing the object failed.
-