org.milyn.cdr
Class XMLConfigDigester
java.lang.Object
org.milyn.cdr.XMLConfigDigester
public final class XMLConfigDigester
- extends Object
Digester class for an XML SmooksResourceConfiguration file (.cdrl).
- Author:
- tfennelly
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DTD_V10
public static final String DTD_V10
- See Also:
- Constant Field Values
XSD_V10
public static final String XSD_V10
- See Also:
- Constant Field Values
XSD_V11
public static final String XSD_V11
- See Also:
- Constant Field Values
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
digestCondition
public ExpressionEvaluator digestCondition(Element conditionElement)
throws SmooksConfigurationException
- Throws:
SmooksConfigurationException
getCurrentPath
public String getCurrentPath()
addConditionEvaluator
public void addConditionEvaluator(String id,
ExpressionEvaluator evaluator)
getConditionEvaluator
public ExpressionEvaluator getConditionEvaluator(String idRef)
Copyright © 2009. All Rights Reserved.