axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Y D Sun" <>
Subject RE: How to bind custom ContentHandler to deserializer
Date Wed, 15 Oct 2003 16:01:06 GMT
A bit of thought on the custom ContentHandler question.

Can I use the following two methods to let a deserializer call my SAX

1. DeserializationContext.setRecorder(SAX2EventRecorder recorder); 
2. SAX2EventRecorder.replay(org.xml.sax.ContentHandler handler)

in which handler is my custom ContentHandler.

Does anyone know the exact operation of replay()? Does the deserializer
return an object in required type after replay()?



>-----Original Message-----
>From: Y D Sun [] 
>Sent: 15 October 2003 12:49
>Subject: How to bind custom ContentHandler to deserializer
>Hi everyone,
>Nice to join axis-user list. Thanks Toshiyuki for your tester code.
>I have another question about custom deserializer. I have a 
>custom ContentHandler. How to call it in a custom 
>deserializer?  I know, the ContentHandler can be set to a 
>XMLReader like:
>However, I'd like to know how to set the ContentHandler in a 
>custom deserializer, or any other methods to let the 
>deserializer call this handler to parse a value.

View raw message