org.milyn.delivery
Class AbstractParser
java.lang.Object
org.milyn.delivery.AbstractParser
- Direct Known Subclasses:
- DOMParser, SAXParser
public class AbstractParser
- extends Object
Abstract Parser.
- Author:
- tom.fennelly@gmail.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractParser
public AbstractParser(ExecutionContext execContext,
SmooksResourceConfiguration saxDriverConfig)
- Public constructor.
- Parameters:
execContext - The Smooks Container Request that the parser is being instantiated on behalf of.saxDriverConfig - SAX Parser configuration. See .cdrl Configuration.
AbstractParser
public AbstractParser(ExecutionContext execContext)
getExecContext
protected ExecutionContext getExecContext()
getSaxDriverConfig
protected SmooksResourceConfiguration getSaxDriverConfig()
getSAXParserConfiguration
public static SmooksResourceConfiguration getSAXParserConfiguration(ContentDeliveryConfig deliveryConfig)
- Get the SAX Parser configuration for the profile associated with the supplied delivery configuration.
- Parameters:
deliveryConfig - Content delivery configuration.
- Returns:
- Returns the SAX Parser configuration for the profile associated with the supplied delivery
configuration, or null if no parser configuration is specified.
createXMLReader
protected XMLReader createXMLReader(DefaultHandler2 handler)
throws SAXException
- Throws:
SAXException
Copyright © 2008. All Rights Reserved.