|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.odi.impexp.EncodingOptions
public class EncodingOptions
This class is used to specify the encoding options when exporting ODI entities.
This represents 3 options:
Default values are provided.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_JAVA_CHARSET Default value of Java character set used in export. |
static java.lang.String |
DEFAULT_XML_CHARSET Default value of XML character set used in export. |
static java.lang.String |
DEFAULT_XML_VERSION Default value of XML version. |
Constructor Summary | |
---|---|
EncodingOptions() Construct a new EncodingOptions using the default values that could be overriden using bean-style configuration. |
|
EncodingOptions(java.lang.String pXmlVersion, java.lang.String pJavaCharset, java.lang.String pXmlCharset) Constructs a new EncodingOptions with the given parameters. |
Method Summary | |
---|---|
java.lang.String |
getJavaCharset() Returns the Java character set defined in this EncodingOptions . |
java.lang.String |
getXmlCharset() Returns the XML character set defined in this EncodingOptions . |
java.lang.String |
getXmlVersion() Returns the XML version defined in this EncodingOptions . |
void |
setJavaCharset(java.lang.String pJavaCharset) Defines the Java character set used to export an ODI object. |
void |
setXmlCharset(java.lang.String pXmlCharset) Defines the XML character set used to export an ODI object. |
void |
setXmlVersion(java.lang.String pXmlVersion) Defines the XML version used to export an ODI object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_XML_CHARSET
public static final java.lang.String DEFAULT_JAVA_CHARSET
public static final java.lang.String DEFAULT_XML_VERSION
Constructor Detail |
---|
public EncodingOptions()
EncodingOptions
using the default values that could be overriden using bean-style configuration.public EncodingOptions(java.lang.String pXmlVersion, java.lang.String pJavaCharset, java.lang.String pXmlCharset)
EncodingOptions
with the given parameters.pXmlVersion
- version of XMLpJavaCharset
- a value for Java character setpXmlCharset
- a value for XML character setMethod Detail |
---|
public java.lang.String getJavaCharset()
EncodingOptions
.
The XML file produced when exporting an ODI object will comply to this character set. See http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html for possible values (under the Canonical Name for java.io and java.lang API column).
setJavaCharset(String)
public void setJavaCharset(java.lang.String pJavaCharset)
The XML file produced when exporting an ODI object will comply to this character set. See http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html for possible values (under the Canonical Name for java.io and java.lang API column).
pJavaCharset
- a value for Java character setjava.lang.IllegalArgumentException
- if the given parameters are null or emptygetJavaCharset()
public java.lang.String getXmlCharset()
EncodingOptions
.
The export XML file produced when exporting an ODI object will comply to this character set. You can see the full list of character encoding names registered by IANA (long). http://www.iana.org/assignments/character-sets.
In practice, a few encodings will be preferred, most likely: ISO-8859-1 (Latin-1), US-ASCII, UTF-16, the other encodings in the ISO-8859 series, iso-2022-jp, euc-kr, and so on.
setXmlCharset(String)
public void setXmlCharset(java.lang.String pXmlCharset)
The export XML file produced when exporting an ODI object will comply to this character set. You can see the full list of character encoding names registered by IANA (long). http://www.iana.org/assignments/character-sets.
In practice, a few encodings will be preferred, most likely: ISO-8859-1 (Latin-1), US-ASCII, UTF-16, the other encodings in the ISO-8859 series, iso-2022-jp, euc-kr, and so on.
pXmlCharset
- the XML character setgetXmlCharset()
public java.lang.String getXmlVersion()
EncodingOptions
.setXmlVersion(String)
public void setXmlVersion(java.lang.String pXmlVersion)
The export XML file produced when exporting an ODI object will comply to this version.
pXmlVersion
- the XML versiongetXmlVersion()
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |