Hi All,

I am new to using Castor.I was looking at the castor.properties file.

The castor.properties file has the entries:

org.exolab.castor.parser=org.apache.xerces.parsers.SAXParser
and
org.exolab.castor.serializer=org.apache.xml.serialize.XMLSerializer

I believe Castor uses the first entry ie the 
SaxParser(org.apache.xerces.parsers.SAXParser) for reading XML data ie while 
unmarshalling process(converting XML to Java Object).

Does Castor use the XMLSerializer class for the marshalling process?(ie while 
converting Object back to the XML file)??
Internally does it use DOM for marshalling?
I was kind of confused as I could see that the  XMLSerializer class supports both SAX 
and DOM.
but I always thought SAX is a reader, not a writer. 
Does Castor use DOM at All??

Please clarify.

Thanks in advance for any replies!
- Rajinder

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to