org.specrunner.source.core
Class BuilderFactoryImpl
java.lang.Object
org.specrunner.source.core.EncodedImpl
org.specrunner.source.core.BuilderFactoryImpl
- All Implemented Interfaces:
- IBuilderFactory, IEncoded
public class BuilderFactoryImpl
- extends EncodedImpl
- implements IBuilderFactory
Default builder implementation.
- Author:
- Thiago Santos.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuilderFactoryImpl
public BuilderFactoryImpl()
newBuilder
public nu.xom.Builder newBuilder(Map<String,Object> properties)
throws SourceException
- Description copied from interface:
IBuilderFactory
- Get a XOM builder.
- Specified by:
newBuilder in interface IBuilderFactory
- Parameters:
properties - Expected builder properties.
- Returns:
- A builder.
- Throws:
SourceException - On builder creation errors.
getParser
protected org.apache.xerces.parsers.AbstractSAXParser getParser(Map<String,Object> properties)
throws Exception
- Get the parser.
- Parameters:
properties - The properties.
- Returns:
- A SaxParser.
- Throws:
Exception - On get parser errors.
Copyright © 2014. All rights reserved.