public class XmlConnectorParams extends FileConnectorParams
DataSetConnectorParams used by XmlConnector.| Modifier and Type | Field and Description |
|---|---|
static String |
PREFIX
The PREFIX.
|
static String |
XML_VERSION_PROP
The xml version property.
|
static String |
XSL_FILE_NAME_PROP
The XSL FILE NAME property.
|
static String |
XSL_FROM_FILE_NAME_PROP
The XSL "FROM" FILE NAME property.
|
static String |
XSL_TO_FILE_NAME_PROP
The XSL "TO" FILE NAME property.
|
ADJUST_DATA_TYPE_PROP, ALL_STRINGS_PROP, BASE64_ENCODE_CLOB_PROP, BOOLEAN_AS_NUMBER_PROP, CONVERT_NULL_PROP, ENCODING_PROP, NAME_TO_SQL_NAME_PROP, NULL_IF_EMPTY_PROP, OVERRIDE_WILCARD_PROP, SPLIT_BY_PROP, SUFFIX_PROP, TEMPALTE_PROPAUTO_COMMIT_PROP, FILE_NAME_PROP, MAX_ROWS_EXCEEDED_EXCEPTION, PASSWORD_PROP, PROPERTIES_PROP, TRANSPORT_PROP, USE_SELECTED_PROP, USER_ID_PROP| Constructor and Description |
|---|
XmlConnectorParams()
Instantiates a new XmlConnectorParams.
|
XmlConnectorParams(CacheProvider<String,Object> cacheProvider,
boolean silent,
int logStep)
Instantiates a new XmlConnectorParams.
|
| Modifier and Type | Method and Description |
|---|---|
DataSetConnectorParams |
copy()
Create a copy of this object.
|
OutputStream |
getFileOutputStream()
Gets the file output stream.
|
String |
getPropsHint()
Gets the hint displayed next to the properties editor.
|
String |
getPropsWizardResource(Driver driver,
String connectionDriver)
Gets the name of the xml file used to create a wizard for editing
properties.
|
String |
getTempFileName()
Gets the temporary file name.
|
XMLStreamWriter |
getWriter()
Gets the writer.
|
String |
getXmlVersion()
Gets the xml version.
|
String |
getXslFromFileName(String fileName)
Gets the xsl "from" file name.
|
String |
getXslToFileName(String fileName)
Gets the xsl "to" file name.
|
void |
init(Alias alais)
Initializes itself using given alias.
|
void |
init(Map<String,String> props)
Initializes itself using given properties.
|
void |
init(ObjectStorage storage)
Initializes itself using given object storage.
|
boolean |
needToEncode()
Checks if char values need to be encoded.
|
void |
setFileOutputStream(OutputStream value)
Sets the file output stream.
|
void |
setTempFileName(String value)
Sets the temporary file name.
|
void |
setWriter(XMLStreamWriter writer)
Sets the writer.
|
void |
setXmlVersion(String xmlVersion)
Sets the xml version.
|
void |
setXslFileName(String value)
Sets the xsl file name.
|
void |
setXslFromFileName(String value)
Sets the xsl "from" file name.
|
void |
setXslToFileName(String value)
Sets the xsl "to" file name.
|
alias2alias, deserializeToInputStream, getAlias, getCdata, getDateFormat, getDateTimeFormat, getEncoding, getFileName, getFileName, getFileNameIfFileSystem, getFolder, getInitStr, getOriginalAlias, getPassword, getProperties, getRealFileName, getSplitBy, getSuffix, getTemplate, getTemplateToUse, getTimeFormat, getTransport, getUserId, getWildcardUrl, isAdjustDataTypes, isAllStrings, isBooleanAsNumber, isConvertNameToSqlName, isConvertNull, isCurrentStreaming, isDateFormat, isDateTimeFormat, isDisableStreaming, isEncodeClob, isFileNameRequired, isForceExt, isNoOriginalFileName, isNullIfEmpty, isOverrideWildcrad, isParseDates, isTimeFormat, isTrimValue, selfDiscover, setAdjustDataTypes, setAllStrings, setBooleanAsNumber, setCdata, setConvertNameToSqlName, setConvertNull, setDateFormat, setDateTimeFormat, setDisableStreaming, setEncodeClob, setEncoding, setFieldDataType, setFileName, setFileNameRequired, setFolder, setForceExt, setNoOriginalFileName, setNullIfEmpty, setOverrideWildcrad, setParseDates, setPassword, setProperties, setRealFileName, setSplitBy, setSuffix, setTemplate, setTimeFormat, setTransport, setTrimValue, setUserIdgetAddFieldValueCallback, getAddRecordCallback, getAfterCallback, getBeforeCallback, getCacheProvider, getCrudAction, getInputStream, getIoProcessor, getLogStep, getMaxRows, getOutputStream, getParams, getReadTracker, getTarget, getTransactionMonitor, hasAddRecordCallback, isCleanUpPersistOccured, isCloseInput, isCloseOutput, isEnabled, isIgnoreEmpty, isIgnoreNoRecords, isMaxRowsExceededException, isPostPersistOccured, isPrePersistOccured, isReadOnlyMetadata, isSilent, isStreaming, prepareForPopulate, setAddFieldValueCallback, setAddRecordCallback, setAfterCallback, setBeforeCallback, setCacheProvider, setCleanUpPersistOccurred, setCloseInput, setCloseOutput, setCrudAction, setEnabled, setHasAddRecordCallback, setIgnoreEmpty, setIgnoreNoRecords, setInputStream, setIoProcessor, setLogStep, setMaxRows, setOutputStream, setPostPersistOccured, setPrePersistOccured, setReadOnlyMetadata, setReadTracker, setSilent, setTarget, setTransactionMonitor, setUseSelectedDataSet, useSelectedDataSetpublic static final String PREFIX
public static final String XSL_FILE_NAME_PROP
public static final String XSL_FROM_FILE_NAME_PROP
public static final String XSL_TO_FILE_NAME_PROP
public static final String XML_VERSION_PROP
public XmlConnectorParams()
public XmlConnectorParams(CacheProvider<String,Object> cacheProvider, boolean silent, int logStep)
cacheProvider - the cache providersilent - the "is silent" flaglogStep - the log steppublic DataSetConnectorParams copy()
DataSetConnectorParamscopy in class DataSetConnectorParamspublic OutputStream getFileOutputStream()
public String getPropsHint()
DataSetConnectorParamsgetPropsHint in class DataSetConnectorParamspublic String getPropsWizardResource(Driver driver, String connectionDriver)
DataSetConnectorParamsgetPropsWizardResource in class DataSetConnectorParamsdriver - the ETL driverconnectionDriver - the connection driverpublic String getTempFileName()
public XMLStreamWriter getWriter()
public String getXslFromFileName(String fileName)
fileName - the file namepublic String getXslToFileName(String fileName)
fileName - the file namepublic void init(Alias alais)
DataSetConnectorParamsinit in class FileConnectorParamsalais - the aliaspublic void init(Map<String,String> props)
DataSetConnectorParamsinit in class FileConnectorParamsprops - the propertiespublic void init(ObjectStorage storage)
DataSetConnectorParamsinit in class DataSetConnectorParamsstorage - the object storagepublic boolean needToEncode()
FileConnectorParamsneedToEncode in class FileConnectorParamspublic void setFileOutputStream(OutputStream value)
value - the new output streampublic void setTempFileName(String value)
value - the new temporary file namepublic void setWriter(XMLStreamWriter writer)
writer - the new writerpublic void setXslFileName(String value)
value - the new xsl file namepublic void setXslFromFileName(String value)
value - the new xsl "from" file namepublic void setXslToFileName(String value)
value - the new xsl "to" file namepublic String getXmlVersion()
public void setXmlVersion(String xmlVersion)
xmlVersion - the new xml versionCopyright © 2010-2020 Toolsverse. All Rights Reserved.