com.marsching.flexiparse.parser
Class ClasspathConfiguredParser
java.lang.Object
com.marsching.flexiparse.parser.SimpleParser
com.marsching.flexiparse.parser.XMLConfiguredParser
com.marsching.flexiparse.parser.ClasspathConfiguredParser
- All Implemented Interfaces:
- Parser
public class ClasspathConfiguredParser
- extends XMLConfiguredParser
Parser implementation that loads the configuration using the context
class loader.
- Author:
- Sebastian Marsching
Constructor Summary |
ClasspathConfiguredParser()
Default constructor, looks for configuration at
"com/marsching/flexiparse/configuration/configuration.xml". |
ClasspathConfiguredParser(String configurationLocation)
Creates a parser instance using the specified configuration
location. |
Methods inherited from class com.marsching.flexiparse.parser.SimpleParser |
addElementMappingConfiguration, addNodeHandler, getElementMappingConfigurations, getHandlerOrder, getNodeHandlers, parse, parse, parse, parse, removeElementMappingConfiguration, removeNodeHandler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClasspathConfiguredParser
public ClasspathConfiguredParser()
throws ParserException
- Default constructor, looks for configuration at
"com/marsching/flexiparse/configuration/configuration.xml".
- Throws:
ParserException
ClasspathConfiguredParser
public ClasspathConfiguredParser(String configurationLocation)
throws ParserException
- Creates a parser instance using the specified configuration
location.
- Parameters:
configurationLocation
- location where to look for
configuration files
- Throws:
ParserException
- if an error occurs while loading
the configuration files
Copyright © 2008-2009. All Rights Reserved.