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 StringReturns the unqualied tag name.protected abstract voidserialize(ContentHandler pHandler, Object pObject) Performs the actual serialization.voidwrite(ContentHandler pHandler, Object pObject) Writes the objectpObjectto 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:TypeSerializerWrites the objectpObjectto the SAX handlerpHandler.- Specified by:
writein interfaceTypeSerializer- Parameters:
pHandler- The destination handler.pObject- The object being written.- Throws:
SAXException- Writing the object failed.
-