org.milyn.cdr
Class XMLConfigDigester

java.lang.Object
  extended by org.milyn.cdr.XMLConfigDigester

public final class XMLConfigDigester
extends Object

Digester class for an XML SmooksResourceConfiguration file (.cdrl).

Author:
tfennelly

Constructor Summary
XMLConfigDigester()
           
 
Method Summary
static SmooksResourceConfigurationList digestConfig(InputStream stream, String baseURI)
          Digest the XML Smooks configuration stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLConfigDigester

public XMLConfigDigester()
Method Detail

digestConfig

public static SmooksResourceConfigurationList digestConfig(InputStream stream,
                                                           String baseURI)
                                                    throws SAXException,
                                                           IOException,
                                                           URISyntaxException,
                                                           SmooksConfigurationException
Digest the XML Smooks configuration stream.

Parameters:
stream - The stream.
baseURI - The base URI to be associated with the configuration stream.
Returns:
A SmooksResourceConfigurationList containing the list of SmooksResourceConfigurations defined in the XML configuration.
Throws:
SAXException - Error parsing the XML stream.
IOException - Error reading the XML stream.
SmooksConfigurationException - Invalid configuration..
URISyntaxException


Copyright © 2008. All Rights Reserved.