| java.lang.Object org.codehaus.dna.impl.SAXConfigurationSerializer
All known Subclasses: org.codehaus.dna.impl.MockSAXConfigurationSerializer,
SAXConfigurationSerializer | public class SAXConfigurationSerializer (Code) | | Utility class that serializes a Configuration object
to a SAX2 compliant ContentHandler.
author: Peter Donald version: $Revision: 1.2 $ $Date: 2004/05/01 09:51:48 $ |
serialize | public void serialize(Configuration configuration, ContentHandler handler) throws SAXException(Code) | | Serialize the configuration to as a Document to the
specified ContentHandler. The serialization writes
out an Element for each configuration object.
Parameters: handler - the ContentHandler to write Configuration out to Parameters: configuration - the Configuration throws: SAXException - if the handler throws an exception |
serializeAttributes | AttributesImpl serializeAttributes(Configuration configuration)(Code) | | Serialize Configuration attributes to an AttributesImpl instance.
Parameters: configuration - the configuration the AttributesImpl instance |
serializeElement | void serializeElement(Configuration configuration, ContentHandler handler) throws SAXException(Code) | | Serialize the configuration as an Element to
specified ContentHandler.
Parameters: handler - the ContentHandler to write Configuration out to Parameters: configuration - the Configuration throws: SAXException - if the handler throws an exception |
|
|