/** * Public constructor. * * @param execContext The Smooks Container Request that the parser is being instantiated on behalf of. * @param saxDriverConfig SAX Parser configuration. See <a href="#parserconfig">.cdrl Configuration</a>. */ public AbstractParser(ExecutionContext execContext, SmooksResourceConfiguration saxDriverConfig) { AssertArgument.isNotNull(execContext, "execContext"); this.execContext = execContext; this.saxDriverConfig = saxDriverConfig; }
public DirectDataSource setUrl(String url) { AssertArgument.isNotNullAndNotEmpty(url, "url"); this.url = url; return this; }
/** * Public constructor. * @param owner The owning {@link SAXVisitor} instance. * @param encodeSpecialChars Encode special XML characters. */ public SAXToXMLWriter(SAXVisitor owner, boolean encodeSpecialChars) { AssertArgument.isNotNull(owner, "owner"); this.owner = owner; this.encodeSpecialChars = encodeSpecialChars; }
public UNEdifactReaderConfigurator setTargetProfile(String targetProfile) { AssertArgument.isNotNullAndNotEmpty(targetProfile, "targetProfile"); this.targetProfile = targetProfile; return this; }
/** * Public constructor. * @param bean The bean instance. */ public BeanMetadata(Object bean) { AssertArgument.isNotNull(bean, "bean"); this.bean = bean; }
public CSVReaderConfigurator setRecordElementName(String csvRecordElementName) { AssertArgument.isNotNullAndNotEmpty(csvRecordElementName, "recordElementName"); this.recordElementName = csvRecordElementName; return this; }
public FixedLengthReaderConfigurator setTruncatedAttributeName(String truncatedAttributeName) { AssertArgument.isNotNullAndNotEmpty(truncatedAttributeName, "truncatedAttributeName"); this.truncatedAttributeName = truncatedAttributeName; return this; }
public ArchiveClassLoader(ClassLoader parent, Archive archive) { super(parent); AssertArgument.isNotNull(archive, "archive"); this.archive = archive; }
/** * @param connection */ public ExternalTransactionManager(Connection connection, boolean autoCommit, boolean isSetAutoCommitAllowed) { AssertArgument.isNotNull(connection, "connection"); this.connection = connection; this.autoCommit = autoCommit; this.isSetAutoCommitAllowed = isSetAutoCommitAllowed; }
public DirectDataSource setUsername(String username) { AssertArgument.isNotNull(username, "username"); this.username = username; return this; }
public CSVRecordParserConfigurator setSeparatorChar(char separatorChar) { AssertArgument.isNotNull(separatorChar, "separatorChar"); this.separatorChar = separatorChar; return this; }
public CSVRecordParserConfigurator setQuoteChar(char quoteChar) { AssertArgument.isNotNull(quoteChar, "quoteChar"); this.quoteChar = quoteChar; return this; }
public ResultsetRowSelector setWhereEvaluator(ExpressionEvaluator whereEvaluator) { AssertArgument.isNotNull(whereEvaluator, "whereEvaluator"); this.whereEvaluator = whereEvaluator; return this; }
public JSONReaderConfigurator setRootName(String rootName) { AssertArgument.isNotNull(rootName, "rootName"); this.rootName = rootName; return this; }
public JSONReaderConfigurator setNullValueReplacement(String nullValueReplacement) { AssertArgument.isNotNull(nullValueReplacement, "nullValueReplacement"); this.nullValueReplacement = nullValueReplacement; return this; }
@SuppressWarnings("unchecked") public ReportConfiguration(Writer outputWriter) { AssertArgument.isNotNull(outputWriter, "outputWriter"); this.outputWriter = outputWriter; filterEvents = new Class[] {ConfigBuilderEvent.class, ElementVisitEvent.class}; }
public CSVReaderConfigurator setQuoteChar(char quoteChar) { AssertArgument.isNotNull(quoteChar, "quoteChar"); this.quoteChar = quoteChar; return this; }
public CSVReaderConfigurator setEncoding(Charset encoding) { AssertArgument.isNotNull(encoding, "encoding"); this.encoding = encoding; return this; }
/** * */ public SessionDaoAdapter(final Session session) { AssertArgument.isNotNull(session, "session"); this.session = session; }